Product/es: Difference between revisions

From StarLogo Nova Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
 
Line 29: Line 29:


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
[[File:product_example.gif|alt=Product example gif|thumb]]
[[File:pi_example.gif|alt=Product example gif|thumb]]
[[File:product_example.png|alt=Product example code|thumb]]
[[File:pi_example.png|alt=Product example code|thumb]]
</div>
</div>



Latest revision as of 18:21, 16 August 2023

Other languages:
The Product Block

Returns the product of two inputs.

Syntax

Inputs in this block:

  1. a number
  2. a number

which will be multiplied together.

Example

Product example gif
Product example code

This is a model that explores the relationship between turning degrees and circle area. The model calculates the area of the circle drawn using the equation 𝝅r². The World trait of the radius is calculated in The World tab given the degrees turned input from the slider. Note that the area is in spaceland square units.

Related Blocks