Opera Unite の開発は現在行われておりません。詳細を見る

Math Session - Opera Unite アプリケーション

# Opera Software ASA

アプリケーション » Math Session

• #### この:

• V1.1   2010/02/10
• 44KB
• 0 件の問題
• #### 統計:

• 2 件のインスタンスが動作中
• 11 ダウンロード (過去７日間)
• 合計 36,246 ダウンロード
• 評価: +46
• We are no longer developing Opera Unite. Download the application anyway.

## Math Session

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
Start a new session by restarting the application (I will change this in on of the the next releases).

v0.1.1

• 2 bugs fixed. (plotting a function will now return an error if the function is not set, error regarding the plot window)
• Changed log functions: log(x, base); ln(x) [means log(x,e)]
• No multiplication operator is needed when writing a number followed by a variable!
Example: 2pi or f(x) = 2x

Planned/Working on:
• clearing the history/restarting the session without restarting the application
• help for functions, type "help sin" and receive informations to the functions
• A bigger plot window (when clicking on Plot)

## コメント (42)

42 件中 1 - 20

Very nice. But you may fix the mistake in the helpfile. (test^5=8) |test=2

- Stautob, 2012/01/09 17:51:27

Wow, this is beyond awesome.

2011/11/23 0:07:46

I am not good at graphs by using this application now i can see make and see my graph easily with out any problem.Now What i have to do is just define a function.

2011/06/12 8:56:48

excellent app!

2011/05/04 23:40:10

The nice app! I like it.
How to specify the range of definition of function? ( ex. plot f [-5,3] )

- map13, 2011/04/27 18:41:32

This is one interesting applications. But is it dead? No updates for a year... I'd like more functions...

- ЫъГЬ, 2011/02/16 8:07:05

Very Nice!

- quarkos, 2010/11/09 22:46:12

How can write a negative exponential? f(x) = e^(-x), doesn't works, but positive works f(x) = e^x. Any ideas??

- miquelin, 2010/09/15 21:05:55

I love that aplication. É um aplicativo interessante e útil. =)

- Srageo, 2010/08/31 23:07:02

An interesting work, and I hope it continues to be improved upon.

I found some issues that I'd like to be fixed, or at least justified via a warning message or something. For starters, all arithmetic beyond 2^54 is broken (eg.: 2^55 will return the wrong number). Since I work with computers and 64-bits are getting commonplace, that *shouldn't* be happening. Also, the log function nowhere does it advertise that it needs two parameters so calling eg.: log(1) won't return the error messagemaking the initial (I'd say expected) usercase weird until they try to check the help (wjich is not here yet) or this page. The other log functions don't have this problem.

What I'd like to see? For starters, the ability to define "constants" that live beyond the current sessions ie.: are loaded the next time I start the App. Second, as it has been posted before, the ability to undef/unset variables. Third and final, the ability to make notation adjustments eg.: thousands separator as well as dec/hex/oct, or maybe rads/degº (for trigonometrics) output.

Hope this App becomes far more well known!

2010/08/28 21:16:47

Great experience! An optionally bigger plot window wouldn't be too bad, for sure. Thumb up!

2010/08/17 10:42:56

A very good application.

If you need more functionality you can use Scilab (http://www.scilab.org/) a free MATLAB alternative.

2010/04/14 11:31:00

An Update would be great! Would love a bigger plot window...

Thanks a lot for this great app.
Three features I would like to see:
1. undefining single variables/functions
2. logical control structures, like fib(n) = n > 1 ? fib(n-1)+fib(n-2) : 1
3. uploading a file, which will be executed line by line. This way, people could write libraries of functions and share them. This would help to keep the basic implementation clean.

- derariii, 2010/03/30 14:39:07

A small documentation error:
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

It should be either test^3 instead of test^5 or 32 instead of 8.

2010/03/24 8:57:29

Very, very cool. Looking forward to new stuff like new functions etc. If you manage to add 3D plotting, you'll be my hero.

2010/03/23 8:19:38

Numerical derivative would be also usefull to have. It isn't very hard to implement actually. If you want to know ways of doing this You could contact me, I have some expirience in implementing symbolic and numerical libraries.

- movax, 2010/03/10 4:21:40

Very good application!

It would be really usefull to be more gnuplot like
For example ploting multiple functions, and ploting with one command:
plot sin(x), cos(x)

Possibility to use user datasets (just some plain text data pasted into form) would be usefull also.

Also more mathematical functions (erfc, erf, bessel, gamma functions, etc) would be probably good to have.

Also zooming of plot view and possibility to rearange this windows would be very usefull). Take look how for example google wave works. You can minimise windows, move, and change layout pretty easly in it. ANd it doesn't change into mess.

- movax, 2010/03/10 4:18:52

If I first define "sin(x) = sin(x)" then i can write "plot sin" without any error!
If I overwrite definition of a predefined function this function continue to return the predefined value but its plot will be return the graph of my overwrite. So if I set "sin(x) = 8", sin(x) will always return the value of sin for any x but "plot sin" will return the graph of y=8 ...

There's a way to view all defined variables and functions?
There's a way to clear workspace (undefine all vars and functions)?
There's a way to clear the board?

- PLC16cec, 2010/03/05 8:44:45

It would be cool if dragging and zooming the graph would be visible for all that one user zooms out and the others can see it to.

- timmi, 2010/03/04 16:11:49

1. ページ:
2. 1
3. 2
4. 3