Sección 2. Capítulo 8
single
Challenge: Solving the Task Using SLE
Desliza para mostrar el menú
Tarea
Desliza para comenzar a programar
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.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 2. Capítulo 8
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla