
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

QUIZ 8
Show ALL your work CAREFULLY.
Consider the initial value problem
dy
dx
= x
2 y, y(0) = 1.
(a) Use the technique of separation of variables to find the solution of this
differential equation.
By separating the variables, we have ∫ 1
y
dy =
x
2 dx.
It follows that
ln |y| =
x^3
3
⇒ y = Ke
x^3 / 3 .
Since y(0) = 1, K = 1 and hence the solution is y = e x^3 / 3 .
(b) Use Euler’s method to estimate y(0.75) with initial point (0, 1) and
stepsize ∆x = 0.25.
The n-th step in the Euler’s method yields the y-coordinate as
yn = f (xn− 1 , yn− 1 ) · ∆x + yn− 1
where the differential equation is
dy dx =^ f^ (x, y). Here^ f^ (x, y) =^ x
2 y.
y 1 = f (0, 1) ·
y 2 = f
; (now x 2 is
y 3 = f
⇒ y(0.75) =
Date: March 25, 2005. 1