Lesson 9: Arithmetic with Symbols
Arithmetic using symbolic variables is very much like arithmetic using
numbers. You can make symbolic calculations on the stack the same
way you make numeric calculations—except you use algebraic objects
(and tick-mark delimiters) instead of just numbers.
—axr
Example:
Use symbolic math to create the equation y = 1 —e¢
Step 1:
Enter y and the number 1.
CLEAR)
:
O@@Y ETE | EER) |
Step 2:
Enter the argument —az.
DOPE ®D@X
:
= L
THATIEHAT]*@ [30m]|[APPLY]
Step 3:
Calculate e=9%,
J:
1
ct
1
1:
ERP -a%w)
FETT EENEElICT
Step 4:
Subtract to calculate 1 — e=%%.
(3)
2
1,1!
I:
1-ERP (=a)
[+HAT[4HAT] #0 [*#@w] | [RPPLY|
Step 5:
Form an equation from the two expressions.
&=)
2
1:
'y=1-ExP(-a%u)'
ETE ETL EE ETT EO CT
Arithmetic
3-9