Product: Difference between revisions
(updates from Blockument) |
(duplicate file already uploaded) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:3--> | |||
<section begin="image"/>[[File:product.png|alt=The Product Block|thumb]]<section end="image"/> | <section begin="image"/>[[File:product.png|alt=The Product Block|thumb]]<section end="image"/> | ||
==Usage== | ==Usage== <!--T:4--> | ||
<!--T:2--> | <!--T:2--> | ||
<p id="tooltip">Returns the product of two inputs.</p> | <p id="tooltip">Returns the product of two inputs.</p> | ||
==Syntax== | ==Syntax== <!--T:5--> | ||
<!--T:6--> | |||
Inputs in this block: | Inputs in this block: | ||
#a number | #a number | ||
Line 16: | Line 18: | ||
which will be multiplied together. | which will be multiplied together. | ||
==Example== | ==Example== <!--T:7--> | ||
[[File: | <!--T:8--> | ||
[[File: | [[File:pi_example.gif|alt=Product example gif|thumb]] | ||
[[File:pi_example.png|alt=Product example code|thumb]] | |||
<!--T:9--> | |||
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. | 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== | ==Related Blocks== <!--T:10--> | ||
<!--T:11--> | |||
*[[Special:MyLanguage/Sum|Sum +]] | *[[Special:MyLanguage/Sum|Sum +]] | ||
*[[Special:MyLanguage/Difference|Difference -]] | *[[Special:MyLanguage/Difference|Difference -]] |
Latest revision as of 18:18, 16 August 2023
Usage
Returns the product of two inputs.
Syntax
Inputs in this block:
- a number
- a number
which will be multiplied together.
Example
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.