How matrix help in solving simultaneous equation in python?
Answers
Answered by
0
Method 1
Convert the system of equations to matrix form: ...
Import the numpy module and write the matrices as numpy arrays. ...
Define coefficient and results matrices as numpy arrays A = np.array([[5,3],[1,2]]) B = np.array([40,18])
Use numpy's linear algebra solve function to solve the system C = np.linalg.solve(A,B)
Answered by
0
Answer:
search for dynamic programming on geeksforgeeks.
you will find solution for simultaneous equation using Dp matrix.
Similar questions
Political Science,
6 months ago
Social Sciences,
6 months ago
English,
1 year ago
Math,
1 year ago
Physics,
1 year ago
Physics,
1 year ago