Sqrt: 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:sqrt.png|alt=The Square Root Block|thumb]]<section end="image"/> | <section begin="image"/>[[File:sqrt.png|alt=The Square Root Block|thumb]]<section end="image"/> | ||
==Usage== | ==Usage== <!--T:4--> | ||
<!--T:2--> | <!--T:2--> | ||
<p id="tooltip">Returns the square root of the input.</p> | <p id="tooltip">Returns the square root of the input.</p> | ||
==Syntax== | ==Syntax== <!--T:5--> | ||
<!--T:6--> | |||
Inputs in this block: | Inputs in this block: | ||
#a number | #a number | ||
==Example== | ==Example== <!--T:7--> | ||
[[File: | <!--T:8--> | ||
[[File:arcsin_arccos_arctan_example.gif|alt=Square Root example gif|thumb]] | |||
[[File:sqrt_example.png|alt=Square Root example code|thumb]] | [[File:sqrt_example.png|alt=Square Root example code|thumb]] | ||
<!--T:9--> | |||
The procedure shown above calculates the distance that the ‘Hypotenuse tracer’ agent must travel using the pythagorean theorem in order to draw the full hypotenuse of the right triangle. | The procedure shown above calculates the distance that the ‘Hypotenuse tracer’ agent must travel using the pythagorean theorem in order to draw the full hypotenuse of the right triangle. | ||