GraphViewer - vẽ đồ thị trên điện thoại
Xây dựng hàm
Basic operations
a + b: the sum of a and b
a - b: the difference of a and b
a * b: a times b
Tip: When a and b are no numbers, the multiplication sign can be omitted:
e.g.: 2epixxsin(x) equals 2*e*pi*x*x*sin(x)
a / b: a divided by b
a ^ b : a power b
sqrt(x): square root of x
exp(x) or e^(x): number e power x
ln(x): the natural logarithm of x
log(x): the 10 base logarithm of x
Special numbers
e: the number e (e=2.718281828...)
pi: the number pi (pi=3.1415926536...)
Discrete functions
abs(f): the absolute value of function f
a % b: a modulo b
a ! : the faculty of a
floor(f): the floor of function f (e.g.: floor(3.6) gives 3)
ceil(f): the ceil of function f (e.g.: ceil(2.1) gives 3)
frac(f): the fraction of function f (e.g.: frac(2.345) gives 0.345)
rnd: random number between 0 (inclusive) and 1 (exclusive)
warning: you can't evaluate nor show the table of an equation using rnd
P(n,k): the number of permutations while chosing k elements out of n elements in a specific order
C(n,k): the number of combinations while chosing k elements out of n elements in any order
Trigoniometry
sin(f): the sine of function f (in radians)
cos(f): the cosine of function f (in radians)
tan(f): the tangent of function f (in radians)
asin(f): the arc sine of function f (in radians)
acos(f): the arc cosine of function f (in radians)
atan(f): the arc tangent of function f (in radians)
sinh(f): the hyperbolic sine of function f (in radians)
cosh(f): the hyperbolic cosine of function f (in radians)
tanh(f): the hyperbolic tangent of function f (in radians)
rad(f): converts function f from degrees to radians
Tip: use "sin(rad(90))" to calculate the sine of 90 degrees (gives 1)
deg(f): converts function f from radians to degrees
Tip: use "deg(asin(1))" to calculate the arc sine of 1 in degrees (gives 90 degrees)
where f can be any combination of functions
Differential functions
D(f): the derivate of function f
I(f): the indefinite integral of function f, the constant term is chosen so that the integral will go through the origin
I(x1, x2, f(x)): the definite integral of function f(x) between x1 and x2 :
Bạn đang đọc truyện trên: Truyen4U.Com