Seksjon 2. Kapittel 8
single
Challenge: Solving the Task Using SLE
Sveip for å vise menyen
Oppgave
Sveip for å begynne å kode
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.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 8
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår