(35s 42s/DM42 50G) Quadratic formula
|
05-24-2020, 09:54 PM
(This post was last modified: 05-04-2023 09:13 PM by mchris.)
Post: #1
|
|||
|
|||
(35s 42s/DM42 50G) Quadratic formula
Probably someone has done it before, but...
Inspired by a HP41C program I found for the quadratic formula that uses only the 4 level stack, no INPUTs, no extra registers, I thought maybe I could do something similar with the HP35s, despite that it doesn't have the register arithmetic with the stack registers. The program uses the equivalent formula -(b/2a)±SQRT((b/2a)^2-(c/a)). The fact there is only 2 terms makes it easier. I don't think it could be done with the (-b±SQRT(b^2-4ac))/2a formula. We press a ENTER b ENTER c XEQ Q and the 2 solutions, real or complex returned in X and Y registers. No INPUTs, no extra registers, just the stack, in just 29 steps. Code: Q001 LBL Q |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(35s 42s/DM42 50G) Quadratic formula - mchris - 05-24-2020 09:54 PM
RE: (HP35s) Quadratic formula - PedroLeiva - 05-25-2020, 11:23 AM
RE: (HP35s) Quadratic formula - mchris - 05-25-2020, 03:52 PM
RE: (HP35s) Quadratic formula - PedroLeiva - 05-25-2020, 04:19 PM
RE: (HP35s) Quadratic formula - pinkman - 05-25-2020, 04:25 PM
RE: (HP35s) Quadratic formula - PedroLeiva - 05-25-2020, 04:49 PM
RE: (HP35s) Quadratic formula - pinkman - 05-25-2020, 04:23 PM
RE: (35s 42s 50g) Quadratic formula - mchris - 05-04-2023, 09:02 PM
RE: (35s 42s/DM42 50G) Quadratic formula - John Keith - 05-04-2023, 10:57 PM
RE: (35s 42s/DM42 50G) Quadratic formula - Joe Horn - 05-04-2023, 09:59 PM
RE: (35s 42s/DM42 50G) Quadratic formula - mchris - 05-05-2023, 07:37 AM
|
User(s) browsing this thread: 2 Guest(s)