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: K.SANTHANA LAKSHMI
#RegisterNumber: 212222240091
import numpy as np
A = np.array([[1,0,3],[-1,2,-2],[2,3,-1]])
B = np.linalg.inv(A)
print(B)
Thus the inverse of given matrix is successfully solved using python program