Post Reply 
HP35S - Cubic (and incidentally quadratic) equations solver
05-18-2023, 06:26 PM (This post was last modified: 05-18-2023 06:26 PM by Roberto Volpi.)
Post: #12
RE: HP35S - Cubic (and incidentally quadratic) equations solver

How do you handle this special case in your program?
[/quote]

No special care is needed.

Just input the cubic equation, and in case it has repeated roots they will be shown on the stacks.

EX. X^3+3X^2+3X+1

1st root always real: -1

2nd and 3rd root:

stack y: -1
stack x: -1

Just it.



Put a calculator into your life!
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP35S - Cubic (and incidentally quadratic) equations solver - Roberto Volpi - 05-18-2023 06:26 PM



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