


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The solutions to midterm test #2 of the math 3150: pde for engineers course. The solutions cover problems related to the wave equation and the heat equation, including finding the solution to the wave equation for a vibrating string using fourier's method, drawing the function g(x) and estimating the number of terms required for a good approximation, calculating the rate of change of the total heat at time t = 0 for the heat equation, and solving the heat equation for a wire with insulated ends and given initial temperature.
Typology: Exams
1 / 4
This page cannot be seen from the preview
Don't miss anything!



(a)
u(x, t) =
π
n=
(−1)n+ (4n^2 − 1)^2
sin (2nx) sin (2nt)
(b)
u(x, t) =
π
n=
(4n^2 − 1)^2
sin (2nx) sin (2nt)
(c)
u(x, t) =
π
n=
(4n^2 − 1)^2
sin (2nx) cos (2nt)
(d) u(x, t) =
(x − t) cos(x − t) +
(x + t) cos(x + t)
(e)
u(x, t) =
∫ (^) x+t
x−t
s cos(s) ds
(f) u(x, t) = 0 (g) u(x, t) = x cos x cos t
Solution: The Fourier formula for the solution of the wave equation looks only like (a) or (b). So we have to figure out which. These two agree at the first term, so we need to calculate b∗ 2 , the coefficient of the second term, where they disagree in a minus sign, to see which one is correct.
b∗ 2 =
2 πc
0
g(x) sin
2 πx L
dx
π
∫ (^) π/ 2
0
x cos(x) sin(4x) dx
It is easiest if we write
sin(4x) cos(x) =
sin(5x) +
sin(3x).
Date: March 14, 2002. 1
Then we calculate (integrate by parts) that ∫ (^) π/ 2
0
x sin(ax) dx = −
π 2 a
cos
( (^) πa 2
a^2
sin
( (^) πa 2
This gives ∫ (^) π/ 2
0
x sin(5x) dx =
and (^) ∫ π/ 2
0
x sin(3x) dx = −
so b∗ 2 must turn out negative, whatever it is, when we add these together. Therefore the answer is (a).
(a) Draw a rough graph of the function g(x). (b) Examining the Fourier amplitudes in the solution, how many terms in a partial sum do you think you would need to get a good picture of u(x, t)? (c) Could you see this by just looking at the picture of g(x)? (d) Draw what you expect the graph of u(x, t) looks like for time t = 0 and for time t = 0.1.
Solution:
(a) See figure 1 on the facing page. (b) Coefficients in the first few terms in the solution are 8 9 π
225 π
1225 π
so that they get small very quickly. (In fact, to 2 decimals they are
. 28 , −. 01 ,. 00 ,... ). So you only need one term. (c) The picture looks just like a sine function, vanishing at both ends, so we expect to be able to use a single sine function to approximate it. (d) At time t = 0 it is flat. At time t = 0.1 it looks like g(x), except scaled to be very small, so like a small rescaling of sin(2πx).
∂u ∂t
= c^2 ∂^2 u ∂x^2
on a wire of length L = 1 with c = 7 and with initial temperature u(x, 0) = x(1−x). Suppose that the total heat at time t is given by
Q =
0
u(x, t) dx
(a) What is the rate of change of the total heat at time t = 0? Hint: don’t use any Fourier series: just differentiate Q with respect to t and bring the t derivative under the integral sign. Then use the heat equation to turn time derivatives into space derivatives. (b) Is it cooling down or heating up?
Solution: It is at a constant temperature, so it always stays that way: u(x, t) = 273 oK.
Solution: Subtract off the steady state, which is 100(1 − x), to get the problem to have zero temperatures at the ends. Then apply Fourier’s formula and get:
u(x, t) = 100(1 − x) + 30 exp
−π^2 t
sin (πx)
Solution: Time L/c. You see this from
u(L, t) =
2 c
∫ (^) L+ct
L−ct
g(s) ds
so that to get a nonzero answer here, we need to have L − ct near 0, or (because the picture is periodic with period 2L) L + ct near 2L. Both of these happen at time t = L/c.