Post Reply 
root of a quadratic equation
08-22-2015, 09:41 AM (This post was last modified: 08-22-2015 06:18 PM by tigger.)
Post: #1
root of a quadratic equation
These two equations help to solve a root of a quadratic equation:
<< 2 ->LIST SWAP / EVAL SWAP -2 / DUP SQ ROT - v/ DUP2 + ROT ROT - >>
<< 3 PICK / SWAP ROT -2 * / DUP SQ ROT - SQRT DUP2 * ROT ROT - >>



[quote='tigger' pid='40913' dateline='1440236517']
<< 2 ->LIST SWAP / EVAL SWAP -2 / DUP SQ ROT - v/ DUP2 + ROT ROT - >>

The calculator put a blank between the - and the 2 automatically. This could have been the mistake in the program.
<< 2 ->LIST SWAP / EVAL SWAP - 2 / DUP SQ ROT - v/ DUP2 + ROT ROT - >>

<< 3 PICK / SWAP ROT -2 * / DUP SQ ROT - SQRT DUP2 * ROT ROT - >>


Is there a sign for SQRT on this page?
When I punched the keys in the calculator itself made a blank between the - and the 2. How could I know that the calculator made this mistake?
Does the HP always makes mistakes like this?
How can I avoid this kind of mistakes?

There might be any hope and help to rectify these short programs?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
root of a quadratic equation - tigger - 08-22-2015 09:41 AM
RE: root of a quadratic equation - Hlib - 08-22-2015, 11:06 PM
RE: root of a quadratic equation - tigger - 08-22-2015, 05:17 PM
RE: root of a quadratic equation - Hlib - 08-22-2015, 06:55 PM



User(s) browsing this thread: 1 Guest(s)