Various useful functions from the PPC ROM
Similar to other Solvers (e.g. the Advantage Pac Solve) but with some minor differences to be aware of.
LBL AA) containing the expression to be solved in register 6AAALPHAASTOALPHA06x is on the x-stack onlyx x as needed. It's easiest is to just ENTER ENTER ENTER and then treat the stack the same as other solvers (i.e. as if it's filled with x and you use x<>y to pull a fresh copy of x as needed in the expression).-3)0 ENTER -3SV
2x2 + 3x - 4 = 0
Prog “AA”
LBL AA ENTER ENTER ENTER x^2 2 * x<>y 3 * + 4 - RTN
0 ENTER 1SV ALPHAand the answer comes…..
0.850781059
0 ENTER -3SV ALPHAand the answer comes…..
-2.350781060
This is very similar to SV - the main difference is that the Global Label for the program containing the expression to be integrated is stored with ASTO in Register 10. I'm using AA as a general scratchpad Program label for use with Solve and Integrate…
AAALPHAASTOALPHA10
For SV it's R06.
Otherwise carry out the same procedure for storing the expression.
Time taken for integration, and the accuracy obtained, is set by the display format - the more digits the longer the integration takes.
Set SCI 04 for most cases.
Reg 10SCI 04lowerENTER upperIG routine is executedIGALPHA— John Pumford-Green 24/01/26 10:29 GMT