Sqrt: Difference between revisions
(Marked this version for translation) |
(duplicate file already uploaded) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
<translate> | <translate> | ||
<!--T:3--> | |||
<section begin="image"/>[[File:sqrt.png|alt=The Square Root Block|thumb]]<section end="image"/> | |||
==Usage== <!--T:4--> | |||
<!--T:2--> | |||
<p id="tooltip">Returns the square root of the input.</p> | |||
==Syntax== <!--T:5--> | |||
<!--T:6--> | |||
Inputs in this block: | |||
#a number | |||
==Example== <!--T:7--> | |||
<!--T:8--> | |||
[[File:arcsin_arccos_arctan_example.gif|alt=Square Root example gif|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. | |||
<!--T:1--> | <!--T:1--> |