Math 151B HW 4: Solving Diff. Equations with Adams-Bashforth, Midpoint & Euler's Method, Assignments of Mathematics

A homework assignment for math 151b, which involves solving initial value problems of differential equations using adams-bashforth, midpoint methods, and euler's method. The problems include finding the solution for a given differential equation using both adams-bashforth and midpoint methods, and comparing the results. Additionally, the assignment includes a problem on a second-order equation representing the motion of a pendulum, where the student is asked to linearize the equation, solve it numerically using euler's method, and compare the results to the linearized solution. The assignment also includes a challenge problem to write an implicit euler's method to solve the system.

Typology: Assignments

Pre 2010

Uploaded on 08/30/2009

koofers-user-xbe
koofers-user-xbe 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Math 151B Homework #4 not turned in
1. Adams-Bashforth two point method.
Solve the initial value problem
y0=ty, 0t4, y(0) = 1
using the Adams-Bashforth two point method.
Do the same with the midpoint method.
Both of these are 2nd order methods. Which one requires more function evaluations?
2. Second order equation
The motion of a pendulum of length `is described by the equation
θ00 =g
`sin θ
where θis the angular deviation from vertical.
Let g/` = 1, so we have θ00 =sin θ.
a. Linearize this equation (i.e. approximate sinθwith a linear function) and solve exactly.
b. Assume the pendulum starts at an angle of 15with no initial velocity. Solve the non-
linear pendulum equation numerically using Euler’s method and compare to the linearized
solution.
c. Is explicit Euler’s method a good method to use in this case. Why? (Hint: approximate
the region of stability)
d. Challenge! Write an implicit Euler’s method to solve this system.

Partial preview of the text

Download Math 151B HW 4: Solving Diff. Equations with Adams-Bashforth, Midpoint & Euler's Method and more Assignments Mathematics in PDF only on Docsity!

Math 151B Homework #4 – not turned in

  1. Adams-Bashforth two point method.

Solve the initial value problem

y′^ = −ty, 0 ≤ t ≤ 4 , y(0) = 1

using the Adams-Bashforth two point method.

Do the same with the midpoint method.

Both of these are 2nd^ order methods. Which one requires more function evaluations?

  1. Second order equation

The motion of a pendulum of length ` is described by the equation

θ′′^ = −

g `

sin θ

where θ is the angular deviation from vertical.

Let g/` = 1, so we have θ′′^ = − sin θ.

a. Linearize this equation (i.e. approximate sin θ with a linear function) and solve exactly.

b. Assume the pendulum starts at an angle of 15◦^ with no initial velocity. Solve the non- linear pendulum equation numerically using Euler’s method and compare to the linearized solution.

c. Is explicit Euler’s method a good method to use in this case. Why? (Hint: approximate the region of stability)

d. Challenge! Write an implicit Euler’s method to solve this system.