Arcsin Arccos Arctan/en: 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/>
<section begin="image"/>[[File:arcsin_arccos_arctan.png|alt=The Arcsin Arccos Arctan Block|thumb]]<section end="image"/>
==Usage==


<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==
Inputs in this block:
*a number
==Example==
[[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]]
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==
*[[Special:MyLanguage/Sin Cos Tan|Sin Cos Tan]]


[[Category:Math]]
[[Category:Math]]
[[Category:Code Block]]
[[Category:Code Block]]

Latest revision as of 18:36, 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