HP Forums
Solving Large Systems of Equations - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: Solving Large Systems of Equations (/thread-6481.html)



Solving Large Systems of Equations - MattH - 06-30-2016 10:19 AM

What is the best way to solve a system with 6 variables and 6 equations? I have been using solve([equation1 equation2 equation3],[x y z]) in CAS for smaller ones and it works pretty good most of the time but I just tried doing a 6x6 and I got the error message "double_deux_points(CAS,solve([stuff I entered])), probably user error but I'm also just wondering if there is a more efficient way. I'd like to save as much time as possible.


RE: Solving Large Systems of Equations - Aries - 06-30-2016 10:52 AM

You can use the Cramer's Rule for any system of linear equations.
Already tried that ?
Best,

Aries ;-)


RE: Solving Large Systems of Equations - Arno K - 06-30-2016 12:00 PM

You may perhaps look at rref(Matrix), which is my preferred one.
Arno


RE: Solving Large Systems of Equations - parisse - 06-30-2016 01:39 PM

What kind of system is it? For a linear system, the command is linsolve. For several linear systems with same matrix, it's lu + linsolve. Should work without problem with dozens of equations and variables on the calc.
For non linear systems, if the system is polynomial you can try solve. Otherwise you must use an iterative method, fsolve provides that.
If you get a strange error message, please send us the system.