Power: Difference between revisions
(Marked this version for translation) |
(duplicate file already uploaded) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
<translate> | <translate> | ||
<!--T:3--> | |||
<section begin="image"/>[[File:power.png|alt=The Power Block|thumb]]<section end="image"/> | |||
==Usage== <!--T:4--> | |||
<!--T:2--> | |||
<p id="tooltip">Returns the value of the first input raised to the power of the second input.</p> | |||
==Syntax== <!--T:5--> | |||
<!--T:6--> | |||
Inputs in this block: | |||
#an integer | |||
#an integer | |||
the first integer represents the base, the second represents the exponent. | |||
==Example== <!--T:7--> | |||
<!--T:8--> | |||
[[File:pi_example.gif|alt=Power example gif|thumb]] | |||
[[File:pi_example.png|alt=Power example code|thumb]] | |||
<!--T:9--> | |||
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. | |||
<!--T:1--> | <!--T:1--> |
Latest revision as of 18:23, 16 August 2023
Usage
Returns the value of the first input raised to the power of the second input.
Syntax
Inputs in this block:
- an integer
- an integer
the first integer represents the base, the second represents the exponent.
Example
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.