Arcsin Arccos Arctan: Difference between revisions

From StarLogo Nova Wiki
(updates from Blockument)
(Marked this version for translation)
 
Line 2: Line 2:
<translate>
<translate>


<!--T:3-->
<section begin="image"/>[[File:arcsin_arccos_arctan.png|alt=The Arcsin Arccos Arctan Block|thumb]]<section end="image"/>
<section begin="image"/>[[File:arcsin_arccos_arctan.png|alt=The Arcsin Arccos Arctan Block|thumb]]<section end="image"/>


==Usage==
==Usage== <!--T:4-->


<!--T:2-->
<!--T:2-->
<p id="tooltip">Computes the mathematical operations of arcsine, arccosine, or arctangent and returns a value in degrees.</p>
<p id="tooltip">Computes the mathematical operations of arcsine, arccosine, or arctangent and returns a value in degrees.</p>


==Syntax==
==Syntax== <!--T:5-->


<!--T:6-->
Inputs in this block:
Inputs in this block:
*a number
*a number


==Example==
==Example== <!--T:7-->


<!--T:8-->
[[File:arcsin_arccos_arctan_example.gif|alt=Arcsin Arccos Arctan example gif|thumb]]
[[File:arcsin_arccos_arctan_example.gif|alt=Arcsin Arccos Arctan example gif|thumb]]
[[File:arcsin_arccos_arctan_example.png|alt=Arcsin Arccos Arctan example code|thumb]]
[[File:arcsin_arccos_arctan_example.png|alt=Arcsin Arccos Arctan example code|thumb]]


<!--T:9-->
In this simulation, the purple agent calculates the angle – by taking the arctan of the length of the opposite leg divided by the length of the horizontal leg – that the agent must travel towards in order to create the hypotenuse of the right triangle.
In this simulation, the purple agent calculates the angle – by taking the arctan of the length of the opposite leg divided by the length of the horizontal leg – that the agent must travel towards in order to create the hypotenuse of the right triangle.


==Related Blocks==
==Related Blocks== <!--T:10-->


<!--T:11-->
*[[Special:MyLanguage/Sin Cos Tan|Sin Cos Tan]]
*[[Special:MyLanguage/Sin Cos Tan|Sin Cos Tan]]



Latest revision as of 16:39, 14 August 2023

Other languages:
The Arcsin Arccos Arctan Block

Usage

Computes the mathematical operations of arcsine, arccosine, or arctangent and returns a value in degrees.

Syntax

Inputs in this block:

  • a number

Example

Arcsin Arccos Arctan example gif
Arcsin Arccos Arctan example code

In this simulation, the purple agent calculates the angle – by taking the arctan of the length of the opposite leg divided by the length of the horizontal leg – that the agent must travel towards in order to create the hypotenuse of the right triangle.

Related Blocks