Snowflower Calc User Guide

Operators

+

Addition

Subtraction

*

Multiplication

/

Division

%

Modulo

^

Raise to Higher Power, x^y

!

Factorial, x!

Constants

pi

The constant π (3.14159265358979323846264338328…​)

e

The constant e (2.718281828459045235360287471353…​)

euler

The constant euler (0.577215664901532860606512090082…​)

Variables

ans

The result of a previous expression

Functions

Arithmetic Functions

sqrt(x)

Square Root of Number x,

\[\sqrt{x}\]

cbrt(x)

Cube Root of Number x

\[\sqrt[3]{x}\]

exp(x)

Exponential value of x

ln(x)

Natural Logarithm (base e)

log(x,y)

Logarithm of Number x to Base y

mod(x, y)

x mod y

Integer Functions

ceil(x)

Ceiling, Round towards plus infinity

floor(x)

Floor, Round towards minus infinity

round(x)

Round towards the nearest integer.

sign(x)

The sign of x. Returns 1 if x>0, 0 if x=0 and -1 if x<0

Trigonometric Functions

sin(x)

Sine of x

cos(x)

Cosine of x

tan(x)

Tangent of x

asin(x)

Arc Sinus of x (sin-1)

acos(x)

Arc Cosine of x (cos-1)

atan(x)

Arc Tangent of x (tan-1)

sinh(x)

Hyperbolic Sinus of x

cosh(x)

Hyperbolic Cosine of x

tanh(x)

Hyperbolic Tangent of x

asinh(x)

Arc Hyperbolic Sinus of x

acosh(x)

Arc Hyperbolic Cosine of x

atanh(x)

Arc Hyperbolic Tangent of x

csc(x)

Cosecant of x, Defined as: csc(x) = 1/sin(x)

sec(x)

Secant of x, Defined as: sec(x) = 1/cos(x)

cot(x)

Cotangent of x, Defined as: cot(x) = 1/tan(x)

Probability Functions

npr(n,r)

Permutations

\[\begin{eqnarray*} _n \mathrm{P} _r \end{eqnarray*}\]

ncr(n,r)

Combinations from n choose r

\[\begin{eqnarray*} _n \mathrm{C} _r \end{eqnarray*}\]

Other Functions

min(x,y)

Minimum

max(x,y)

Maximum