Using the software python

Using the software python

# The forthcoming jurisdiction applies your administration explain arrangement to the adventitious matrix and vector disintegration_xsolve_arrangement (mati, vectl) stereotype (‘The disintegration to the matrix equation Ax b isln’,disintegration x

Python jurisdiction:

import numpy as np

solution_x = np.array([[7,1], [1,4]])

print(‘The disintegration to the matrix equation Ax=b is n’, disintegration_x)

b = np.array([3,9])

print(‘Using the numpy explainr, the disintegration x is n’, np.linalg.solve(solution_x, b))

output screenshot: