The latest installment: Part 14 (Complex Numbers)
HP 15C Programming Tutorial Posted
|
|
« Next Oldest | Next Newest »
|
▼
12-11-2011, 01:30 PM
▼
12-11-2011, 04:16 PM
Now that's a good and useful blog right there. Thanks.
12-14-2011, 12:40 PM
The comparison of the two methods to enter complex numbers confused me slightly because in the first example you start with a stack [x y z t], enter a and b and end up with [a+ib x y y], while in the second example you start with [y z t ?]. Why? I'd start with [x y z t] as well and end up with [a+ib x y z] instead.
As I always considered the stack as the interface to communicate with the calculator I don't esteem your solution to solve the quadratic equation much. You can do it without storing any numbers into registers. See message 2 in: To solve your first example you'd just enter the three coefficients of the quadratic equation and run the program:
2 Both solutions are now on the stack. You can use x<>y and (i) to display them. Bonus: the same program can also be used for real coefficients.
Kind regards Edited: 14 Dec 2011, 12:44 p.m. |