Processing math: 100%
DrHuang.com
| list
| math
| function
| coding
| graphics
| example
| help
| ?
| 中文
+
+
+
=
JavaScript Function calculator 函数计算器
-5.0
-2.5
2.5
5.0
0.5
1.0
1.5
This calculator calculates JavaScript numerical expressions and runs JavaScript code,
and plots and visualizes JavaScript functions over the real domain.
The independent variable must be typed as x for evaluation. Type an expression into the box and press Enter key in your keyboard to evaluate.
For example :
x=2; x^2
assign 2 to x, then calculate x^2.
f(x)=x^2; f(2)
define function f(x), then calculate f(2).
integrate(x=>sin(x),[1,2])
calculate integration sin(x) from 1 to 2, more calculus operations are in JavaScript calculus , where f is JavaScript function, e.g. x=>sin(x)
g=[1,2]; g.reverse()
reverse the order of elements in list g. List, vector, matrix and array are the same as array in JavaScript.
g=[[1,1],[1,2]]; inverse(g)
inverse matrix, more matrix operations are in matrix calculator .
sin(x-timer(9))
for animation , add the timer(t) function and change animation speed by the different t value.
ds(x=>sin(x),x,0.5)
plot the 0.5 order derivative = semi derivative
ds(x=>sin(x),x,-0.5)
plot the -0.5 order derivative = semi integral
matrix calculator and math calculator and web editor
can run more JavaScript code.
See Also