Mathematician Finds Easier Way to Solve Quadratic Equations
|
05-04-2024, 07:37 PM
Post: #32
|
|||
|
|||
RE: Mathematician Finds Easier Way to Solve Quadratic Equations
(05-03-2024 02:02 PM)Gerson W. Barbosa Wrote: The following is longer, but preserves the previous stack register X for later use. Some optimization is still possible, I think. This saves four bytes and four steps: Code:
On the real HP-42S, in DEG mode: E 13 +/- ENTER 2 +/- ENTER 1 XEQ T -> Y: 0.5 Y: 2.E13 On Free42, in DEG mode: E 13 +/- ENTER 2 +/- ENTER 1 XEQ T -> Y: 0.500000000000012500000000000625 X: 19,999,999,999,999.4999999999999875 \(x_{1}=\left({\cos\left({\arcsin{\frac{\sqrt{q}}{-\frac{p}{2}}}}\right)+1}\right)\times-\frac{p}{2}\) That is equivalent to Albert Chan’s formula. \(x_{2}=\frac{q}{x_{1}}\) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)