Power/en: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 16: | Line 16: | ||
==Example== | ==Example== | ||
[[File: | [[File:pi_example.gif|alt=Power example gif|thumb]] | ||
[[File: | [[File:pi_example.png|alt=Power example code|thumb]] | ||
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. | 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. |
Latest revision as of 18:34, 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.