To write a python program to find the inverse of a matrix
- Hardware – PCs
- Anaconda – Python 3.7 Installation / Moodle-Code Runner
#Program to find the inverse of a matrix.
#Developed by: Jaba
#RegisterNumber:2122109
import numpy as np
A = np.array([[2,1,1],[1,1,1],[1,-1,2]])
B = np.linalg.inv(A)
print(B)
Thus the inverse of given matrix is successfully solved using python program