Qurak

D solve working with d solve working with dsolvevalue

Opplæring 8 steg, kjørt i rekkefølge i én økt. Hvert steg ble kjørt mot motoren, og utdataene nedenfor er det de ga.

Steg 1
DSolveValue[y'[x] + y[x] == a Sin[x], y[x], x]
Utdata
C[1]/E^x + (a*(-Cos[x] + Sin[x]))/2
Steg 2
sol = DSolveValue[{y'[x] + y[x] == a Sin[x], y[0] == 0}, y, x]
Utdata
Function[{x}, a/(2*E^x) + (a*(-Cos[x] + Sin[x]))/2]
Steg 3
{y'[x] + y[x] == a Sin[x], y[0] == 0} /. y -> sol//Simplify
Utdata
{(a/E^x + 2*Derivative[1, Function[{x}, a/(2*E^x) + (a*(-Cos[x] + Sin[x]))/2], x] - a*Cos[x] + a*Sin[x])/2 == a*Sin[x], True}
Steg 4
Plot[Table[sol[x] /. {a -> i}, {i, 7}], {x, -2, 10}]
Utdata
-Graphics-
Steg 5
DSolveValue[{y''[x] + y[x] == 0, y[0] == 0, y'[0] == 1}, y[3], x]
Utdata
DSolveValue[{y[x] + Derivative[2][y][x] == 0, y[0] == 0, Derivative[1][y][0] == 1}, y[3], x]
Steg 6
DSolveValue[{y''[x] + y[x] == 0, y[0] == 0, y'[0] == 1}, y'[x], x]
Utdata
DSolveValue[{y[x] + Derivative[2][y][x] == 0, y[0] == 0, Derivative[1][y][0] == 1}, Derivative[1][y][x], x]
Steg 7
DSolveValue[{y'[x] + y[x] == Sin[x], y'[0] ^ 2 == 1}, y[x], x]
Utdata
DSolveValue[{y[x] + Derivative[1][y][x] == Sin[x], Derivative[1][y][0]^2 == 1}, y[x], x]
Steg 8
DSolve[{y'[x] + y[x] == Sin[x], y'[0] ^ 2 == 1}, y[x], x]
Utdata
DSolve[{y[x] + Derivative[1][y][x] == Sin[x], Derivative[1][y][0]^2 == 1}, y[x], x]

Funksjoner brukt

Relaterte oppskrifter

Alle oppskrifter · Funksjonsreferanse · Bruk dette fra en MCP-klient