Functions: Difference between revisions

Content deleted Content added
m Added the basic mathematical functions, as well as IF
m entered all "A" headings
Line 5:
These are functions which are so basic that they didn't get included in the list
 
'''+''' plus (3+4=7)
 
'''-''' minus (3-4=-1)
 
<nowiki>'''*</nowiki>''' times (3*4=12)
 
'''/''' dividedby (3/4=.75)
 
'''^''' to the power of (3^4=81)
 
== Advanced Functions ==
Line 23:
* '''if e<f then f else g''' looks like '''(e<f ? f : g)'''
* When d is another test, then it looks like: '''( a<b ? c : (e<f ? f : g) )'''<ref>[https://forum.seamly.net/t/math-functions-nested-if-statement/2053/5?u=pneumarian https://forum.seamly.net/t/math-functions-nested-if-statement/2053/5]</ref>
 
<br />
 
==== abs - absolute value ====
abs(3-4)=1<ref>[https://forum.seamly.net/t/negative-numbers/2043/2?u=pneumarian https://forum.seamly.net/t/negative-numbers/2043/2]</ref>
 
==== acos - arcus cosine function working with radians ====
acos(-1)=3.14159
 
acos(1)=0
(-1≤''N''≤1)
 
==== acosD - arcus cosine function working with degrees ====
acosD(-1)=180
 
acosD(1)=0
(-1≤''N''≤1)
 
==== acosh - hyperbolic arcus cosine function ====
acosh(1)=0
 
acosh(2)=1.31696
(''N'' ≥ 1)
 
==== asin - arcus sine function working with radians ====
 
==== asinD ====
 
==== asinh ====
 
==== atan ====
 
==== atanD ====
 
==== atanh ====
 
==== avg - (average,) mean value of all arguments ====
<br />
 
== Bibliography ==