Custom Formulas app help (iOS)

Last updated Nov 2022

Watch a video showing how to use the app

Operators

+addition
-subtraction
*Multiplication
/Division
^Power of

Trig Functions

sin(a)Sine
cos(a)Cosine
tan(a)Tangent
asin(a)Arc Sine
acos(a)Arc Cosine
atan(a)Arc Tangent
atan2(a,b)Arc Tangent of a/b
sinh(a)Hyperbolic Sine
cosh(a)Hyperbolic Cosine
tanh(a)Hyperbolic Tangent

Power, exponent, Log

pow(a,b)a to the power of b
exp(a)Exponent
ln(a)Natural Log
log(a)Log base 10
alog(a)Anti Log
aln(a)Natural Anti Log

Conditional

if(a,b,c)if a then b else c
gt(a,b)greater than
ge(a,b)greater than or equal to
lt(a,b)less than
le(a,b)less than or equal to
eq(a,b)equal
ne(a,b)not equal
and(a,b)And
or(a,b)Or
xor(a,b)Exclusive Or
not(a)Not

Miscellaneous

abs(a)Absolute value
sqrt(a)Square root
pi()Pi
rand()Random number between 0 and 1
min(a,b)Minimum
max(a,b)Maximum
diff(a,b)Difference
int(a)Integer
round(a,b)Round
mod(a,b)Mod
deg2rad(a)Convert degrees to radians
rad2deg(a)Covert radians to degrees


www.binaryearth.net