Execute mathematic expressions, plot graphs and chat with your friends.
Use the text field at the bottom as chat field and as command line at the same time. So you can do your math homework with your friends via the Internet! Write any mathematical term. The server will try to detect it and will execute it.
Examples test = 10-2*4 returns 2 and sets the variable test to 2 test^5 returns 8 (for test = 2) and sets variable ans to 8. cos(2*pi) returns 1 and sets the variable ans to 1 f(x) = sin(x) * x returns the function if valid and sets the function f.
Plot plot f will plot the function f. Only functions with one parameter are allowed. Move your mouse over the plot and drag the plot or scroll to zoom in and out. Doubleclick on the plot to reset the range to [-10,10].
History Press arrow key up or down in the text field to scroll through your history.
Functions Functions will be executed when called. That means if you set myFunc(x,y) = x+y*z the server expects x and y are parameters and z is a given variable. When the function is called (myFunc(1,2)) and z is not set it will return an error. You can define empty functions: perimeter() = 2*pi*r When perimeter() is called, r must be a defined variable, otherwise an error occurs.
Errors max(2 8) will not be executed because of invalid syntax. But you can set = in front of any term to force the server to execute it as mathematic expression (= max(2 8)). In this case you would get a message containing the error. Correct syntax would be max(2,8).
Supported operators, functions and constants Operators: +, -, *, /, ^, mod
Functions: abs, acos, asin, atan, ceil, cos, floor, log, ln, log10, max, min, random, round, sin, sqrt, tan
Constants: pi, e
Works (tested) in Opera 9+, FF 2+, IE 6+.
Changelog v0.1.0 Beta release, please report errors and share your ideas with me. Start a new session by restarting the application (I will change this in on of the the next releases).
2 bugs fixed. (plotting a function will now return an error if the function is not set, error regarding the plot window)