Challenge: Solving the Task Using SLE
Завдання
Swipe to start coding
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:
- Use
np.linalg.solve()
method. - Use
np.inv()
method to calculate inversed matrix and provide solution using:x = A_inv @ y
.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 8
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Awesome!
Completion rate improved to 4.76
Challenge: Solving the Task Using SLE
Свайпніть щоб показати меню
Завдання
Swipe to start coding
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:
- Use
np.linalg.solve()
method. - Use
np.inv()
method to calculate inversed matrix and provide solution using:x = A_inv @ y
.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Awesome!
Completion rate improved to 4.76Секція 2. Розділ 8
single