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

Sveip for å vise menyen

book
Challenge: Solving the Task Using SLE

Oppgave

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:

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

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 8
Vi beklager at noe gikk galt. Hva skjedde?

Spør AI

expand
ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

book
Challenge: Solving the Task Using SLE

Oppgave

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:

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

Løsning

Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 8
Switch to desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Vi beklager at noe gikk galt. Hva skjedde?
some-alt