RPN scientific command line calculator

Announce and discuss the progress of your various programming-related projects...programs, games, websites, tutorials, libraries...anything!

Moderators: Pete, Mods

Post Reply
User avatar
bongomeno
Veteran
Posts: 266
Joined: Wed Dec 10, 2008 9:08 am
Location: Arizona
Contact:

RPN scientific command line calculator

Post by bongomeno »

Written in Quick Basic.

FREEWARE Open Source

RPN Calc is a scientific command line calculator for x86 DOS.

Example expressions:

Code: Select all

(18/3)^2+((13+7)*5^2)
2*20/2+(3+4)*3^2-6+15
(3*5^2/15)-(5-2^2)
(5.9-5.3)*7.2+1.4^2
(2.1^2+5.2-7.2)*7.1
(18/3)^2+((13+7)*5^2)
(-B+SQR(B^2-4*A*C))/(2*A)
(-B-SQR(B^2-4*A*C))/(2*A)
Type help in the calculator for assistance.

Operator precedence: !, ^, %, *, /, +, -, <, >, <=, >=, =, <>, ~, &, |
Operator description: ! is NOT(), % is MOD, ~ is XOR, & is AND, | is OR

Variables are named from a to z. To negate variables, write v*-1, not -v.
# inserts the last evaluation in an expression.
Enter STO V with any variable as V to store the last evaluation.
Enter RESET to set values for the variables.
Functions: INT(), SQR(), SIN(), COS(), TAN(), ATN(), ABS(), LOG(), SGN()
Functions are unary, but have no precedence unlike not.
Enter LIST to view the variables values.
Enter CLS to erase the screen.
Enter STEPS to disable/enable printing and recording of steps.
Enter DOS to exit
Enter HELP or ? to see this text again.

Download:
http://www.lucidapogee.com/download.php ... pncalc.zip
Post Reply