}+ addition: X = Y + X example: CALC> 123 345 432 + + 900.00 }- subtraction: X = Y - X example: CALC> 123 345 432 - - 210.00 }* multiplication: X = Y * X example: CALC> 123 345 432 * * 18,331,920.00 }/ division: X = Y / X example: CALC> 123 345 432 / / DSP,4 154.0174 }. "dot" command: print value of X in current display format. }V roll stack down }^ roll stack up }ABS Absolute value of X: X = ABS(X) example: CALC> 243 SIN . ABS ... -0.89 0.89 }ACOS Arc cosine of X: X = ACOS(X) The value returned depends on the current trig mode (DEG,RAD,GRD). ACOS will always return a number in the range -180 to +180 degrees, or -pi to +pi radians, or -200 to +200 grads. example: CALC> DEG 243 COS . ACOS ... -0.45 117.00 CALC> GRD 243 COS . ACOS ... -0.78 157.00 CALC> RAD 243 COS . ACOS ... -0.46 2.04 }ASIN Arc sine of X: X = ASIN(X) The value returned depends on the current trig mode (DEG,RAD,GRD). ASIN will always return a number in the range -180 to +180 degrees, or -pi to +pi radians, or -200 to +200 grads. example: CALC> DEG 243 SIN . ASIN ... -0.89 -63.00 CALC> GRD 243 SIN . ASIN ... -0.63 -43.00 CALC> RAD 243 SIN . ASIN ... -0.89 -1.10 }ATAN Arc TANGENT of X: X = ATAN(X) The value returned depends on the current trig mode (DEG,RAD,GRD). ATAN will always return a number in the range -90 to +90 degrees or -pi/2 to +pi/2 radians, or -100 to +100 grads. example: CALC> DEG 243 TAN . ATAN ... 1.96 63.00 CALC> GRD 243 TAN . ATAN ... 0.80 43.00 CALC> RAD 243 TAN . ATAN ... 1.95 1.10 }ATAN2 inverse tangent (two arguments) X = ATAN2(Y,X) }AUTO. set automatic "dot" mode }CHS change sign of X }CLREG Clear any storage register. example: CLREG,5 will clear register 5 }CLSTK Clear the 4 stack registers: X = Y = Z = T = 0 }CLSUM clear accumulator registers: N = SUMX = SUMY = SUMX2 = SUMY2 = SUMXY = 0 }CLX Clear the X register: X = 0 }COS cosine: X = COS(X) }COSH hyperbolic cosine: X = SINH(X) }CYX combinations of Y things taken X at a time= Y!/(X!*(Y-X)! example: CALC> 5 3 CYX .. 10.00 }D2R convert degrees to radians }DEC set decimal display and input mode }DEG set degrees trigonometric mode }DSP set display mode digits: DSP,5 causes 5 significant decimal places }ENG set engineering display mode example: ENG,6 sets display to engineering with 5 decimal places }ENTER enter X into stack }EX exit the calculator program }EXIT exit calculator }EXP exponential: X = exp(X) }FACT factorial: X = X! }FIX set fixed point display mode example: FIX,3 sets display to fixed point with 3 decimal places }FRAC fractional part of X }GAMMA the GAMMA function of X (x not a negative integer) }G2R grads to radians }GRD set GRADS mode }HELP Print help messages about CALC commands and features. The format of the help command is HELP or HELP,topic If no topic is specified then a list of available topics is given. Each CALC command and many special topics have help messages available. example: CALC> HELP,Y^X ... help message about the Y^X command 0.00 }HEX set hexadecimal display mode }HMS convert hrs to hrs,min,sec }HMS+ add hrs,min,sec }HMS- subtract hrs,min,sec }HR convert hrs,min,sec to hrs }INT integerize }1/X mulplicitive inverse of X }L.R. linear regression of the y and x values recorded by the SUM+ command. X contains the intercept and Y contains the slope of the least squares best fix line for the Y and X data i.e. the best values for the equation Y = slope*X + intercept see Y^R }LASTX fetch previous X value }LN natural (base e) logarithm }LOG common (base 10) logarithm }MAX maximum of X and Y }MEAN compute mean of values from SUM+ }MIN minimum of X and Y }MOD X = Y modulo X }NINT The nearest integer function on X }NOAUTO. set no-automatic "dot" mode }OCT set octal display mode }P-R convert polar to rectangular }% X percent of Y }%CH percent change }PI PI (3.14159...) }PYX permutations of X objects out of a set of Y objects: Y!/(Y-X)! example: CALC> 5 4 PYX .. 120 }R-P convert rectangular to polar }R2D radians to degrees }R2G radians to grads }RAD set radians trigonometric mode }RCL recall from register. example: RCL,3 loads X from register 3 }RCLSUM recall sum registers into real registers: reg contents 0 N 1 SUMX 2 SUMY 3 SUMX**2 4 SUMY**2 5 SUMXY }.REGS display the contents of the registers }RND round number in X to displayed digits }SCI set scientific display mode. example: SCI,2 set scientific display with 2 decimal places }SDEV compute standard deviation of x and y into X and Y from SUM+ }SIGN sign of X }SIN sine function X = SIN(X) }SINH hyperbolic sine X = SINH(X) }SQRT square root }.STK show internal switches and print stack }ST* register multiplication by X example: ST*,3 multiplies register 3 by X }ST+ register addition by X example: ST+,4 adds X to register 4 }ST- register subtraction by X example: ST-,6 subtracts X from register 6 }ST/ register division by X example: ST/,1 divides register 1 by X }STO store into register example: STO,2 stores X into register 2 }SUM+ add X Y to accumulation }SUM- remove from accumulation cancels an error }.SUM display the contents of the SUM registers }TAN tangent }TANH hyperbolic tangent }10^X ten to the power X }VIEW display all significant digits of number no exponent }X<> exchange X with any register example X<>,9 exchanges register 9 and X }X<>Y exchange X and Y registers }X^2 square }Y^R prediction of Y from X using linear regression of the Y X data recorded by SUM+ X contains the predicted Y value Y contains the coeeficient of correlation }Y^X Y to the power X }FEATURES CALC is a programmable, Reverse Polish Notation (RPN) calculator program for use on RT11 (version 5+) systems. CALC can be used for anything from adding two numbers together to computing complex expressions The principle features of CALC are: * Reverse Polish Notation (RPN) * All calculations performed in double precision * 4 element automatic calculation stack (X,Y,Z,T) * 10 data storage registers (0-9) * Compatible with many HEWLETT-PACKARD calculators (11C,29,41,67)