calculator

Help

To use the calculator just enter expression into text field and press OK. You can use a number of expressions separated by semicolon.

Variables

You can use variables in your expressions.

Sample with variables: a=5; y=1; (x-y)^a; a=5; y=1; (x-y)^a;

Functions

Following functions supported by calculator:

  • sin - sine of a number
  • cos - cosine of a number
  • asin - arcsine of a number
  • acos - arccosine (in radians) of a number
  • tan - tangent of a number
  • atan - arctangent of a number
  • sqrt - square root
  • log - natural logarithm
  • diff - differentiation

You should pass expression and independent variable to diff function. Sample:

sin(x)*x differentiation diff(sin(x)*x, x)

Graphs

You can use graph and graph3d functions for graphing. In case two dimensional graph first argument should be function dependant on variable x. In case 3d graph function should be dependant on variables x and y. You can also provide upper or lower bounds for graphs.

graph(function [, x1=x1, x2=x2, , y1=y1, y2=y2]);
graph3d(function [, x1=x1, x2=x2, , y1=y1, y2=y2], z1=z1, z2=z2]);

Graph with several functions. graph(sin(x)*x, sin(x), x^2)
3D graph sample. graph3d(3/(x^2+y^2)*sin(x^2+y^2), points=10, x1=-1, x2=3, y1=-1, y2=3)

Graphs rely on canvas element. Unfortunately Microsoft Internet Explorer does not support canvas natively so 3d graphing could show unacceptable performance due to slow emulation in IE.

Widget/Gadget

If you want to have widget like this one on your site visit following link.
Help | Copyright calc5.com | Contacts