12.07.2015 Views

Learning Guide Learning Guide

Learning Guide Learning Guide

Learning Guide Learning Guide

SHOW MORE
SHOW LESS
  • No tags were found...

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 Differential Equations: dsolve • 71−e (−3 t) (−2 t)+ eUse this fact to define y as a function of t using unapply:> y1:= unapply(%, t );y1 := t → −e (−3 t) (−2 t)+ e> y1(a);−e (−3 a) (−2 a)+ eVerify that y1 is indeed a solution to the ODE:> eval(ode1, y=y1);{0 = 0}and that y1 satisfies the initial conditions.> eval(ic, y=y1);{0 = 0, 1 = 1}Another method for solution checking is also available. Assign the newsolution to y instead of y1.> y := unapply( eval(y(t), soln), t );y := t → −e (−3 t) (−2 t)+ eNow when you enter an equation containing y, Maple uses this functionand evaluates the result, all in one step.> ode1;{0 = 0}> ic;{0 = 0, 1 = 1}

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

Saved successfully!

Ooh no, something went wrong!