Sqrt/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 1: Line 1:
<languages/>
<languages/>
<div lang="en" dir="ltr" class="mw-content-ltr">
<section begin="image"/>[[File:sqrt.png|alt=The Square Root 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">
<div lang="en" dir="ltr" class="mw-content-ltr">
<p id="tooltip">Returns the square root of the input.</p>
<p id="tooltip">Returns the square root of the input.</p>
</div>
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
==Syntax==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Inputs in this block:
#a number
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
==Example==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
[[File:sqrt_example.gif|alt=Square Root example gif|thumb]]
[[File:sqrt_example.png|alt=Square Root example code|thumb]]
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
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.
</div> 


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

Revision as of 17:26, 14 August 2023

Other languages:
The Square Root Block

Usage

Returns the square root of the input.

Syntax

Inputs in this block:

  1. a number

Example

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.