Delta Banner

Mathematics & Science Learning Center
Computer Laboratory

 

Applications of Differential Equations

The Simple Pendulum

(continued from last page...)

Your result from solving the differential equation should have looked something like this:

linsol=DSolve[{y''[t]+9.8*y[t]==0, y[0]==y0, y'[0]==v0}, y[t], t]

Solution

We now use the [[1,1,2]] trick learned in previous labs to strip away the extraneous parts of this solution, and move the result back into linsol with the command:

linsol=linsol[[1,1,2]]

Go and do it now.

Moving on...


Compass If you're lost, impatient, want an overview of this laboratory assignment, or maybe even all three, you can click on the compass button on the left to go to the table of contents for this laboratory assignment.
 
 

ODE Laboratories: A Sabbatical Project by Christopher A. Barker

©2017 San Joaquin Delta College, 5151 Pacific Ave., Stockton, CA 95207, USA
e-mail:
cbarker@deltacollege.edu