Post Reply 
[hp50g] is it possible to solve linear systems with unknown variables in it?
10-17-2022, 06:38 PM
Post: #9
RE: [hp50g] is it possible to solve linear systems with unknown variables in it?
You can also divide a vector by a square matrix. Really, it multiplies by the inverse of the matrix.

1. Put the right hand side on the stack as a 2x1 matrix:

Code:
[[0] [2]]

2. Put the X and Y coefficients on the stack as a 2x2 matrix:

Code:
[[7 '2*K'] ['3*K' -8]]

3. Divide. Result is a 2x1 matrix. The first row is X, the second row is Y:

Code:
[[ '2*K/(3*K^2+28)' ]
 [ '-14/(6*K^2+56)' ]]

(I don't know why it doesn't factor out the 2 from the numerator and denominator for the 2nd row.)

— Ian Abbott
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [hp50g] is it possible to solve linear systems with unknown variables in it? - ijabbott - 10-17-2022 06:38 PM



User(s) browsing this thread: