(35S ALG) Quadratic Equation Solver (with complex solutions support)
|
03-17-2015, 10:57 AM
(This post was last modified: 06-15-2017 02:01 PM by Gene.)
Post: #1
|
|||
|
|||
(35S ALG) Quadratic Equation Solver (with complex solutions support)
Based on this article:
http://www.hpmuseum.org/cgi-sys/cgiwrap/...?read=1003 It is a simple program using the traditional quadratic root formula: $$\frac{-b±\sqrt{b^{2}-4ac}}{2a}$$ the program is converted for use in ALG mode: Code:
In RPN mode the 35s will dispay 2 lines, thus both roots. In ALG mode only one line is displayed. After running the program, use x<>y to swap between roots. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)