Docsity

Solutions to Quiz 2 in Math 106a: Euler Method and Area Calculation, Exercises of Calculus

Toggle sidebar
bg1
Math 106a Solutions
Quiz 2
9/24/10
1. Given the initial value problem dy
dx =โˆ’y2
xand y(1) = 1. Eulerโ€™s method using step size โˆ†x= 0.25
produces the estimate y(2) โ‰ˆ0.5234. The graph shows a plot of the points compared to the curve
for the exact solution.
Recall: xn+1 =xn+ โˆ†xand yn+1 =yn+ โˆ†y
where โˆ†y= [slope at (xn,yn)] ยทโˆ†x.
x1 1.25 1.5 1.75 2
y0โˆ’1โˆ’0.45 โˆ’0.2709 โˆ’0.1855
y1 0.75 0.6375 0.5698 0.5234
2. Find the area of the region enclosed by the graphs of x=y2and x=โˆ’2y2+ 3.
To find intersection points, solve y2=โˆ’2y2+ 3
for y.
y2=โˆ’2y2+ 3 โ‡โ‡’ 3y2โˆ’3=0 โ‡โ‡’
y=ยฑ1.
Therefore, the intersection points are (1,1) and
(1,โˆ’1).
Set up the integral in terms of yto get:
Z1
โˆ’1๎˜€(โˆ’2y2+ 3) โˆ’y2๎˜dy =Z1
โˆ’1๎˜€3โˆ’3y2๎˜dy =h3yโˆ’y3i1
โˆ’1
= 2 โˆ’(โˆ’2) = 4
Remark: to set up the integral in terms of x, the region needs to be separated into two pieces. The
total area is given by the following:
2Z1
0
โˆšx dx + 2 Z3
1r3โˆ’x
2dx
Evaluate the second integral by substitution: u=3โˆ’x
2therefore du =โˆ’1
2dx โ‡โ‡’ โˆ’2du =dx.
To change the limits of integration: if x= 1 then u= 1. Likewise, if x= 3, then u= 0.
2Z1
0
โˆšx dx + 2 Z3
1r3โˆ’x
2dx = 2 Z1
0
x1/2dx โˆ’4Z0
1
u1/2du = 2 ๎˜”2
3x3/2๎˜•1
0โˆ’4๎˜”2
3u3/2๎˜•0
1
=4
3+8
3= 4
1

Partial preview of the text

Download Solutions to Quiz 2 in Math 106a: Euler Method and Area Calculation and more Exercises Calculus in PDF only on Docsity!

Math 106a Solutions Quiz 2 9/24/

  1. Given the initial value problem dy dx

y^2 x

and y(1) = 1. Eulerโ€™s method using step size โˆ†x = 0. 25

produces the estimate y(2) โ‰ˆ 0 .5234. The graph shows a plot of the points compared to the curve for the exact solution.

Recall: xn+1 = xn + โˆ†x and yn+1 = yn + โˆ†y where โˆ†y = [slope at (xn, yn)] ยท โˆ†x.

x 1 1.25 1.5 1.75 2

yโ€ฒ^ โˆ’ 1 โˆ’ 0. 45 โˆ’ 0. 2709 โˆ’ 0. 1855

y 1 0.75 0.6375 0.5698 0.

  1. Find the area of the region enclosed by the graphs of x = y^2 and x = โˆ’ 2 y^2 + 3.

To find intersection points, solve y^2 = โˆ’ 2 y^2 + 3 for y. y^2 = โˆ’ 2 y^2 + 3 โ‡โ‡’ 3 y^2 โˆ’ 3 = 0 โ‡โ‡’ y = ยฑ1. Therefore, the intersection points are (1, 1) and (1, โˆ’1).

Set up the integral in terms of y to get: โˆซ (^1)

โˆ’ 1

(โˆ’ 2 y^2 + 3) โˆ’ y^2

dy =

โˆ’ 1

3 โˆ’ 3 y^2

dy =

[

3 y โˆ’ y^3

] 1

โˆ’ 1

Remark: to set up the integral in terms of x, the region needs to be separated into two pieces. The total area is given by the following:

0

x dx + 2

1

3 โˆ’ x 2

dx

Evaluate the second integral by substitution: u = 3 โˆ’ x 2

therefore du = โˆ’ 12 dx โ‡โ‡’ โˆ’ 2 du = dx. To change the limits of integration: if x = 1 then u = 1. Likewise, if x = 3, then u = 0.

0

x dx + 2

1

3 โˆ’ x 2

dx = 2

0

x^1 /^2 dx โˆ’ 4

1

u^1 /^2 du = 2

[

x^3 /^2

] 1

0

[

u^3 /^2

] 0

1