For a question i'm trying to make for my students i need to solve a system of two linear equations, of which the coefficients are determined by predefined random variables. After that i need to assign the solution of the system to two variables. So far i have attempted two approaches, neither of which seem to work:
Solve using inverse matrix:
Solve using 'solve' command:
So far neither approach seems to work.
Many thanks for any usefull tips!