Post Reply 
HP Prime - saving multiple SOLVE solutions to variables {SOLVED}
11-03-2015, 07:59 PM
Post: #4
RE: HP Prime - saving multiple SOLVE solutions to variables
(11-03-2015 06:24 PM)CR Haeger Wrote:  
(11-03-2015 05:25 PM)Han Wrote:  t:=solve( blah );
a:=t(1);
b:=t(2);

Thanks Han - that works great! Don't know why it works yet, but it does...

It seems this would be useful (and quick) for say calculus problems involving area between two curves where the intersection(s) of the curves should first be determined.

cool, thanks again.

No problem. As for why it works, it just borrows from programming syntax. As you noted, the results from solve() are lists. So t is a list, and t(n) would simply return the n-th item within the list. If t were a matrix, then t(i,j) would return the entry in row i, column j.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP Prime - saving multiple SOLVE solutions to variables - Han - 11-03-2015 07:59 PM



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