21.04.2015 Views

The Computable Differential Equation Lecture ... - Bruce E. Shapiro

The Computable Differential Equation Lecture ... - Bruce E. Shapiro

The Computable Differential Equation Lecture ... - Bruce E. Shapiro

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.

CHAPTER 1. CLASSIFYING THE PROBLEM 15<br />

Figure 1.7: Illustration of a numerical solution. <strong>The</strong> actual solution is illustrated by<br />

the solid curve, the numerical by a set of points. <strong>The</strong> reconstruction of the solution<br />

at intermediate values is accomplished via an interpolation scheme (dashed curve).<br />

1.8 Computer Assisted Analysis<br />

<strong>The</strong> bulk of this course will focus on finding numerical solutions, and computer<br />

programs will aide us in implemented and studying these algorithms. Additionally,<br />

computers allow us to solve and study differential equations analytically, and to<br />

examine the qualitative format of the solutions. In this section we will give some<br />

examples in Mathematica.<br />

Analytic Solution of ODEs with Mathematica<br />

<strong>The</strong> principal function here is DSolve.For example, to find the one parameter family<br />

of solutions to<br />

y ′ = 3ty (1.84)<br />

one would enter:<br />

DSolve[y’[t]==3 t y[t], y[t], t] (1.85)<br />

Recall that in Mathematica, the multiplication operator * is optional, and if there<br />

is a space between operators, then multiplication is implied. <strong>The</strong> expressions<br />

and<br />

3 t y[t]<br />

3*t*y[t]<br />

are equivalent. <strong>The</strong> response to input 1.85 is<br />

c○2007, B.E.<strong>Shapiro</strong><br />

Last revised: May 23, 2007<br />

Math 582B, Spring 2007<br />

California State University Northridge

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

Saved successfully!

Ooh no, something went wrong!