Power/es: Difference between revisions

From StarLogo Nova Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="image"/>[[File:power.png|alt=The Power Block|thumb]]<section end="image"/>
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
==Usage==
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
<p id="tooltip">Returns the value of the first input raised to the power of the second input.</p>
<p id="tooltip">Returns the value of the first input raised to the power of the second input.</p>
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
==Syntax==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Inputs in this block:
#an integer
#an integer
the first integer represents the base, the second represents the exponent.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
==Example==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
[[File:pi_example.gif|alt=Power example gif|thumb]]
[[File:pi_example.png|alt=Power example code|thumb]]
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
This is a model that explores the relationship between turning degree and the area of a circle. The model calculates the area of the circle drawn using the equation 𝝅r². Note that the area is in spaceland square units.
</div>
</div>


[[Category:Matemática]]
[[Category:Matemática]]
[[Category:Code Block]]
[[Category:Code Block]]

Latest revision as of 18:35, 16 August 2023

Other languages:
The Power Block

Usage

Returns the value of the first input raised to the power of the second input.

Syntax

Inputs in this block:

  1. an integer
  2. an integer

the first integer represents the base, the second represents the exponent.

Example

Power example gif
Power example code

This is a model that explores the relationship between turning degree and the area of a circle. The model calculates the area of the circle drawn using the equation 𝝅r². Note that the area is in spaceland square units.