Lesson 1: Viewing a 2D Graph
Examples
Built-in Functions and Constants for Demo Software
Notation |
Meaning |
pi |
π=3.14159265 |
e |
2.71828183 |
+ - * / |
Standard arithmetic functions -
Warning: Always put a * in between two values you want mulitplied. Always remember your order of operations and use parentheses as necessary. |
x^n |
xn |
ln(x) |
Natural log (log base e) of (x) |
a^x |
ax |
sin(x) |
Sine of x |
cos(x) |
Cosine of x |
tan(x) |
Tangent of x |
asin(x) |
Arcsine or inverse sine of x |
acos(x) |
Arccosine or inverse cosine of x
|
atan(x) |
Arctangent or inverse tangent of
x |
sinh(x) |
Hyperbolic sine of x |
cosh(x) |
Hyperbolic cosine of x |
tanh(x) |
Hyperbolic tangent of x |
sqrt(x) |
√x |
abs(x) |
|x| |
f'(x) |
The first derivative of f(x) |
f''(x) |
The second derivative of f(x) |
integral(integrand, variable,
lower, upper, [resolution]) |
The integral of
integrand with respect to variable from lower to upper - e.g. for ∫01x2dx,
type integral(x^2, x, 0, 1) The resolution is optional input that can be used to increase the accuracy of the integral approximation. |
t_max |
The maximum value of the
variable or interval t |
t_min |
The minimum value of the
variable or interval t |
t_res |
The number of steps of the
variable or interval t |
scale(t) |
Converts the value of t to a
point in the 0-1 range |
ipart(x) |
The integer part of x |
fpart(x) |
The fractional part of x |
max(a,b,...,h) |
The maximal element of the set |
min(a,b,....,h) |
The minimal element of the set |
random |
A random number (Note that this
takes no argument) |
and, or, <, >, =, true,
false |
Logical operators that return 1
if true, 0 if false |