Nasal library functions: Difference between revisions

Jump to navigation Jump to search
→‎math: +segment "Trigonometric_functions", hint to radian-values
(→‎fmod(): described,)
(→‎math: +segment "Trigonometric_functions", hint to radian-values)
Line 63: Line 63:


= math =
= math =
== Trigonometric_functions ==
'''Caution''': All trigonometric functions works with [https://en.wikipedia.org/wiki/Radian Radian]-values - not with Degree!


== sin() ==
<u>To convert this</u>:<br>
== cos() ==
radians = degree * math.pi / 180<br>
== tan() ==
degree  = radians * 180 / math.pi
== asin() ==
=== sin() ===
== acos() ==
=== cos() ===
== atan2() ==
=== tan() ===
=== asin() ===
=== acos() ===
=== atan2() ===
== exp() ==
== exp() ==
== ln() ==
== ln() ==
5

edits

Navigation menu