Jump to content

  • Log In with Google      Sign In   
  • Create Account

  • You cannot edit this project

Postfix Notation Calculator   -----

Developer:
Platform:
Windows
Date Added:
Mar 08 2005 09:13 PM
Updated:
Mar 15 2005 04:57 PM
 

A Postfix Notation Calculator


Attached Image: image144.jpg


POSTFIX
Version 1
A Postfix Notation Calculator

SYSTEM REQUIREMENTS:
Java Runtime Environment 1.4.2 or Greater
Windows or Mac (If you would like it for Linux email me)

COMMAND LIST:
+ add two numbers '5 4 +' returns 9
* multiply two numbers '5 4 *' returns 20
- subtract a number '5 4 -' returns 1
/ devide a number '50 5 /' returns 10
^ number raised to another number '5 4 ^' returns 625
abs absolute value '-25 abs' returns 25
acos acos of a number '-1 acos' returns pi
asin asin of a number '1 asin' returns 1.5707...
atan atan of a number '1 atan' returns 0.7853...
sin sine of a number '0 sin' returns 0;
cos cosine of a number '0 cos' returns 1;
tan tangent of a number '0 tan' returns 1;
exp e^number '5 exp' returns 148.4131...
log natural logarithm (base e) 'e log' returns 1
pow number raised to another number '5 4 ^' returns 625
max the max of two numbers '5.5 5.8 max' returns 5.8
min the min of two numbers '5.5 5.8 min' returns 5.5
rand random number between 0 and 1 '10 rand * int' returns random number between 0 and 10
pi the math constant 'pi' returns 3.14159...
e the math constant 'e' returns 2.71828...
int round to the nearest integer '4.8 int' returns 5
sqrt squareroot of a number '25 sqrt' returns 5
deg change a radian value to degrees 'pi deg' returns 180
rad change a degrees value to radian '180 rad' returns 3.1415926..
c copy the current line
s switch the line with a line one line below
[arg] s switch the line with a line [arg] lines below
d delete the current line
reverse change the input mode from top to bottom and vice versa.

POSTFIX
Version 1
A Postfix Notation Calculator

SYSTEM REQUIREMENTS:
Java Runtime Environment 1.4.2 or Greater
Windows or Mac (If you would like it for Linux email me)

COMMAND LIST:
+ add two numbers '5 4 +' returns 9
* multiply two numbers '5 4 *' returns 20
- subtract a number '5 4 -' returns 1
/ devide a number '50 5 /' returns 10
^ number raised to another number '5 4 ^' returns 625
abs absolute value '-25 abs' returns 25
acos acos of a number '-1 acos' returns pi
asin asin of a number '1 asin' returns 1.5707...
atan atan of a number '1 atan' returns 0.7853...
sin sine of a number '0 sin' returns 0;
cos cosine of a number '0 cos' returns 1;
tan tangent of a number '0 tan' returns 1;
exp e^number '5 exp' returns 148.4131...
log natural logarithm (base e) 'e log' returns 1
pow number raised to another number '5 4 ^' returns 625
max the max of two numbers '5.5 5.8 max' returns 5.8
min the min of two numbers '5.5 5.8 min' returns 5.5
rand random number between 0 and 1 '10 rand * int' returns random number between 0 and 10
pi the math constant 'pi' returns 3.14159...
e the math constant 'e' returns 2.71828...
int round to the nearest integer '4.8 int' returns 5
sqrt squareroot of a number '25 sqrt' returns 5
deg change a radian value to degrees 'pi deg' returns 180
rad change a degrees value to radian '180 rad' returns 3.1415926..
c copy the current line
s switch the line with a line one line below
[arg] s switch the line with a line [arg] lines below
d delete the current line
reverse change the input mode from top to bottom and vice versa.
JRE 1.4.2 or Greater
Windows or Mac

  • You cannot edit this project

Share:


3 Comments

just want to ask, how is this a game?
Good job. It's come in useful for doing revision for my finals (checking answers).
Awesome! I had to implement one of these yesterday for a programming assignment. Granted, yours has a lot more functionality than mine.

...I really miss you, H_O_P_S...

[sad] [sad] [sad] [sad] [sad] [sad] [sad]

PARTNERS