Qurak

Visualize the solutions to partial differential equations in 3D

Voorbeeld 3 stappen, op volgorde uitgevoerd in één sessie. Elke stap is tegen de engine uitgevoerd en de uitvoer hieronder is wat hij opleverde.

Stap 1
sol1 = DSolve[{D[y[x, t], t] + 2D[y[x, t], x] == Sin[x], y[0, t] == Cos[t]}, y[x, t], {x, t}]
Uitvoer
DSolve[{Derivative[0, 1][y][x, t] + 2*Derivative[1, 0][y][x, t] == Sin[x], y[0, t] == Cos[t]}, y[x, t], {x, t}]
Stap 2
sol2 = sol1[[1, 1, 2]]
Uitvoer
Sin[x]
Stap 3
Plot3D[sol2, {x, -10, 10}, {t, -5, 5}]
Uitvoer
-Graphics3D-

Gebruikte functies

Gerelateerde recepten

Alle recepten · Functiereferentie · Gebruik dit vanuit een MCP-client