11.07.2015 Views

Maple 9 Learning Guide - Maplesoft

Maple 9 Learning Guide - Maplesoft

Maple 9 Learning Guide - Maplesoft

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.6 Solving Differential Equations Using the dsolve Command • 73{0 = 0, 1 = 1}To change the differential equation, or the definition of y(t), removethe definition with the following command.> y := ’y’;y := yWith <strong>Maple</strong>, you can use special functions, such as the Dirac deltafunction, also called the impulse function, used in physics.> ode2 := 10^6*diff(y(x),x,x,x,x) = Dirac(x-2) -> Dirac(x-4);ode2 := 1000000 ( d4y(x)) = Dirac(x − 2) − Dirac(x − 4)dx4 Specify boundary conditions> bc := {y(0)=0, D(D(y))(0)=0, y(5)=0};bc := {y(0) = 0, y(5) = 0, (D (2) )(y)(0) = 0}and an initial value.> iv := {D(D(y))(5)=0};iv := {(D (2) )(y)(5) = 0}> soln := dsolve({ode2} union bc union iv, {y(x)});

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!