This is a JS repository for additional math functions and constants.
| Function or constant | explanation(?) | Parameters |
|---|---|---|
integral(f,a,b,n) |
This function uses Gaussian sum. Represents |
f: Function to integrate.a: Lower bound for integration.b: Upper bound for integration.n: Intervals to integrate. Default is 200. |
derivative(f,a,dx) |
This function uses first principle. Represents |
f: Function to differentiate.a: value for differentiation.dx: Small value (Epsilon or Delta x). Default is 1e-6 (or |
sumf(f,a,b), prodf(f,a,b)
|
Summation and Product. Same as the principle and the definition. Represents |
- |
trig(trigf, angle) |
This function calculates advanced trigonometric calculations. |
trigf: Advanced trigonometric function. Uses:{'trig': 'sec'} Represents sec,{'trig': 'csc', 'hyp': true} Represents csch.angle: Desired value. |
nth_root(value, n) |
This function calculates nth roots. Represents |
value, n: Desired value. |
log_base(a,b) |
This function calculates logarithms. Represents |
a: Base, b: Argument. |
phi |
This constant returns the golden ratio. Represents |
- |
solve(lhs,rhs,x,n,dx) |
This function solves equations. Represents |
lhs, rhs: Function to solve.x: Deafult value. Deafult is 0.5 (or n: Entries. Default is 500.dx: Small value (Epsilon or Delta x). Default is 1e-6 (or |
taylor(f,x,a,max,dx) |
This function converts the function to taylor series. |
f: Function.x: Desired value.a: Initial value.max: Maximum index.dx: Small value (Epsilon or Delta x). Default is 1e-6 (or |
limit(f,a) |
This function calculates limits. Represents |
f: Function to calculate limit.a: Value. |
Errors: An error occurs if you:
- Don't type the expression correctly. It occurs an error
It is not an expression.
README.md file is so weird. (Not that weird.)
My Samsung
Something is wrong with this site. Please don't fork this repository until I fix the error.