Computer Science, asked by ajaytak6581, 11 months ago

How matrix help in solving simultaneous equation in python?

Answers

Answered by Anonymous
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 chankur26
0

Answer:

search for dynamic programming on geeksforgeeks.

you will find solution for simultaneous equation using Dp matrix.

Similar questions