Download Math 266, Midterm Exam 1

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Genetic algorithm wikipedia , lookup

Inverse problem wikipedia , lookup

Routhian mechanics wikipedia , lookup

Computational electromagnetics wikipedia , lookup

Mathematical optimization wikipedia , lookup

Plateau principle wikipedia , lookup

Relativistic quantum mechanics wikipedia , lookup

Perturbation theory wikipedia , lookup

Multiple-criteria decision analysis wikipedia , lookup

Transcript
Math 266, Midterm Exam 1
September 29 2011
Name:
Ground Rules
1. Calculator is allowed.
2. Show your work for every problem unless otherwise stated (partial credits
are available).
3. You may use one 4-by-6 index card, both sides.
1
Part I: Multiple Choice (5 points) each. For each of the following questions
circle the letter of the correct answer from among the choices given. (No partial
credit.)
1. Which of the following is a 2nd order linear differential equation.
(a) ty ′′ = sin t(y ′ )2 − 1t y + t2 .
(b) y ′′ = 3y ′ + 4ey − 6.
(c) (y ′ )2 = 6ty − et .
(d) (cos t)y ′′ = 3et y ′ + y + 5et .
(e) y ′ y = 6et .
2. Consider the following problem: “A ball with a mass of 12 kg is thrown upwards with an initial velocity of 20 m/sec from the roof of a building 40m
high. Assume there is air resistance of |v|
where the velocity v is measured
40
in m/sec. Assuming constant acceleration dues to gravity of g = 9.8m/sec.
Find the time it takes for the ball reach its maximum height.”
Which of the following initial value problems models the problem above?
(a)
(b)
(c)
(d)
dv
dt
dv
dt
dv
dt
dv
dt
= −9.8 −
= −9.8 −
= −9.8 +
= −9.8 +
v
,
40
v
,
20
v
,
40
v
,
20
v(0) = 20, solve for v(t) = 0.
v(0) = 20, solve for v(t) = 0.
v(0) = 20, solve for v(t) = 0.
v(0) = 20, solve for v(t) = 0.
(e) None of the above
3. Consider the homogeneous equation
dy
x2 − 3y 2
=
.
dx
6xy
Set v = xy . Then which is following the equation between v and x:
(a)
dv
dx
=
x2 −v 2
6xv
(b)
dv
dx
=
1−3v 2
6v
dv
=
(c) x dx
1−3v 2
6v
dv
(d) x dx
+v =
1−3v 2
6v
(e) None of the above
2
4. Consider the initial value problem y ′ = 2t − y and y(0) = 1. Use Euler’s
method with step size h = 0.5 to compute y2 to approximate y(1). Then
y2 =
(a) 0.7
(b) 0.75
(c) 0.5
(d) 1
(e)
1
e
Answer Keys: d, b, d, b
Part II: Written answer questions. Details of explanation are required. Partial credits are available.
5. Find the particular solution to the following initial value problem (15 points)
6y ′′ − 5y ′ + y = 0, y(0) = 4, y ′ (0) = 0.
Solution:
t
t
y = 12e 3 − 8e 2 .
3
6. Solve each of the following initial value problems, and give the interval on
which the solution is valid. (20 points)
(a) ty ′ + 4y = t−2 et , y(1) = 2.
(b) y ′ =
4x
,
1+2y
y(1) = −1.
4
7. Consider the differential equation
dy
= (y − 1)(2 − y)y, t ≥ 0.
dt
(a) Find equilibrium solutions. (5 points)
(b) Sketch the direction field of the equation (1). (5 points)
(c) Decide the stability of each equilibrium solutions. (5 points)
5
(1)
8. Consider the differential equation
ye2xy + x + b(xe2xy + 1)
dy
= 0.
dx
(a) Find the value of b such that the equation is exact. (6 points)
Solution:
We have M (x, y) = ye2xy +x and N (x, y) = b(xe2xy +1). So the equation
is exact if only if
∂M
∂N
= e2xy + 2xye2xy =
= b(e2xy + 2xye2xy ).
∂y
∂x
So b = 1
(b) Solve the differential equation for the value of b given in question (a).
(9 points)
Solutions: We have
∫
∫
e2xy x2
F (x, y) = M (x, y)dx = ye2xy + xdx =
+
2
2
and
h′ (y) = N (x, y) −
∂F
= xe2xy + 1 − ye2xy = 1
∂y
So h(y) = y. Finally the general solution is
Φ(x, y) = F (x, y) + h(y) =
6
e2xy x2
+
+ y = C.
2
2
9. A tank with a capacity of 500 gal originally contains 200 gal of water with
100 lb of salt in solution. Water containing 1 lb salt per gallon is entering at
a rate of 3 gal/min, and the mixture is allowed to flow out of the tank at a
rate of 2 gal/min. Let x(t) be the amount of salt in the tank at time t.
(a) Find x(t) at any time prior to the instant when the solution begins to
overflow. (5 points)
Solutions Let x(t) be the amount of salt in the tank at the time t and
V (t) is the volume of the water in tank. Note that V (t) = 200 + t. So
the differential equation we need is
x′ (t) = 3 −
2x(t)
2x(t)
=3−
and x(0) = 100.
V (t)
200 + t
∫
This is a linear equation and with the integrate factor µ(t) = exp(
(t + 200)2 . So the general solution is
∫
1
(t + 200)3 + C
2
x(t) =
(
3(t
+
200)
dt
+
C)
=
.
(t + 200)2
(t + 200)2
2
)
200+t
Plug in x(0) = 100, we get
x(t) =
(t + 200)3 − 4 × 106
.
(t + 200)2
(b) Find the concentration of salt in the tank when it is on the point of
overflowing. (5 points)
Solutions First note the time of overflow is the time t0 such that V (t0 ) =
200 + t0 = 500. So t0 = 300. Then the concentration at t0 is
x(t0 )
x(300)
5003 − 4 × 106
53 − 4
=
=
=
= 0.968.
V (t0 )
V (300)
5002 × 500
53
(c) Assume that the tank has infinite capacity, what is the theoretic concentration when the time goes to infinity? (5 points)
Solutions: The concentration C(t) at t is
capacity then V (t) = 200 + t. So we get
C(t) =
x(t)
.
v(t)
If the tank has infinite
(t + 200)3 − 4 × 106
4 × 106
x(t)
=
=
1
−
.
t + 200
(t + 200)2 × (t + 200)
(200 + t)3
So we see that
lim C(t) = 1.
t→+∞
7
=