Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Solving the Task Using SLE | Linear Algebra
Mathematics for Data Analysis and Modeling

Challenge: Solving the Task Using SLEChallenge: Solving the Task Using SLE

Task

We have already considered how to solve the SLE using inversed matrix. But we can also use np.linalg.solve(A, y) method that calculates the solution of the SLE:
A * x = y.
Your task is to solve the system using both these methods and compare the results:

  1. Use np.linalg.solve() method.
  2. Use np.inv() method to calculate inversed matrix and provide solution using: x = A_inv @ y.

Everything was clear?

Section 2. Chapter 8
toggle bottom row
course content

Course Content

Mathematics for Data Analysis and Modeling

Challenge: Solving the Task Using SLEChallenge: Solving the Task Using SLE

Task

We have already considered how to solve the SLE using inversed matrix. But we can also use np.linalg.solve(A, y) method that calculates the solution of the SLE:
A * x = y.
Your task is to solve the system using both these methods and compare the results:

  1. Use np.linalg.solve() method.
  2. Use np.inv() method to calculate inversed matrix and provide solution using: x = A_inv @ y.

Everything was clear?

Section 2. Chapter 8
toggle bottom row
some-alt