Pi/es: Difference between revisions

From StarLogo Nova Wiki
 
(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:pi.png|alt=The Pi 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">
<p id="tooltip">Returns the numerical value of pi (3.14159...).</p>
</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=Pi example gif|thumb]]
[[File:pi_example.png|alt=Pi 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 circle area. The model calculates the area of the circle drawn using the equation 𝝅r². The pi block is inserted into the equation as well as a world trait for the radius, which is calculated in The World tab, given the degrees turned input from the slider. Note that the area is in spaceland square units.
</div>


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

Latest revision as of 19:24, 14 August 2023

Other languages:
The Pi Block

Usage

Returns the numerical value of pi (3.14159...).

Example

Pi example gif
Pi example code

This is a model that explores the relationship between turning degree and circle area. The model calculates the area of the circle drawn using the equation 𝝅r². The pi block is inserted into the equation as well as a world trait for the radius, which is calculated in The World tab, given the degrees turned input from the slider. Note that the area is in spaceland square units.