To write a python program to find the inverse of a matrix
- Hardware – PCs
- Anaconda – Python 3.7 Installation / Moodle-Code Runner
import numpy as np
A=np.array([[1,0,3],[-1,2,-2],[2,3,-1]])
s=np.linalg.inv(A)
print(s)
Thus the inverse of given matrix is successfully solved using python program