HP Forums
linear 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: linear equations (/thread-18736.html)



linear equations - pedrodebem - 08-30-2022 10:45 PM

Hey, i was wondering if there was a way to solve linear equations with more variables than equations, so that the answer is a function of the extra variables.

I used to do something similar in matrixCalc: [attachment=11041] [attachment=11042]

Thanks in advance.


RE: linear equations - roadrunner - 08-31-2022 12:20 AM

This:

solve([(x1*(2*s+2)+x2*(s-1)) = (40+(20/s)),(30*s*x2-2*x1) = (25*s)],[x1,x2])

will return this:

{[(-25*s^2+1225*s+600)/(60*s^2+62*s-2),(25*s^3+25*s^2+40*s+20)/(30*s^3+31*s^2-s)]}

-road


RE: linear equations - pedrodebem - 08-31-2022 01:17 AM

Thanks again road!