MATH 3150: Midterm Test #2 Solutions - Wave Equation and Heat Equation, Exams of Mathematics

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

Pre 2010

Uploaded on 08/30/2009

koofers-user-c3o
koofers-user-c3o 🇺🇸

4

(1)

9 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
MATH 3150: PDE FOR ENGINEERS
MIDTERM TEST #2 VERSION D
1. Which of the following is the solution u(x, t) (via Fourier’s method, not
d’Alembert’s) to the wave equation describing a vibrating string of length L=π/2
and wave velocity c= 1 with initial velocity g(x) = xcos xand initial position
f(x) = 0?
(a)
u(x, t) = 8
π
X
n=1
(1)n+1
(4n21)2sin (2nx) sin (2nt)
(b)
u(x, t) = 8
π
X
n=1
1
(4n21)2sin (2nx) sin (2nt)
(c)
u(x, t) = 8
π
X
n=1
1
(4n21)2sin (2nx) cos (2nt)
(d)
u(x, t) = 1
2(xt) cos(xt) + 1
2(x+t) cos(x+t)
(e)
u(x, t) = 1
2Zx+t
xt
scos(s)ds
(f)
u(x, t) = 0
(g)
u(x, t) = xcos xcos 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
2πc ZL
0
g(x) sin 2πx
Ldx
=1
πZπ/2
0
xcos(x) sin(4x)dx
It is easiest if we write
sin(4x) cos(x) = 1
2sin(5x) + 1
2sin(3x).
Date: March 14, 2002.
1
pf3
pf4

Partial preview of the text

Download MATH 3150: Midterm Test #2 Solutions - Wave Equation and Heat Equation and more Exams Mathematics in PDF only on Docsity!

MATH 3150: PDE FOR ENGINEERS

MIDTERM TEST #2 VERSION D

  1. Which of the following is the solution u(x, t) (via Fourier’s method, not d’Alembert’s) to the wave equation describing a vibrating string of length L = π/ 2 and wave velocity c = 1 with initial velocity g(x) = x cos x and initial position f (x) = 0?

(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

∫ L

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).

  1. Consider again the same vibrating string as in the previous problem.

(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).

  1. Consider the heat equation

∂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?

  1. Solve the heat equation for a wire with insulated ends, with initial temperature u(x, 0) = 273oK.

Solution: It is at a constant temperature, so it always stays that way: u(x, t) = 273 oK.

  1. Solve the heat equation for a wire of length L = 1 with ends held at u = 100 at x = 0 and u = 0 at x = L with diffusivity constant c = 1 and initial temperature u = 100(1 − x) + 30 sin (πx) at time t = 0.

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)

  1. Take a flat string of length L = 1 with constant c = 1. If you tap it at one end (so you create an initial velocity g(x) in the string which is zero except very close to x = 0) how long does it take for the tap to be noticed at the other end? Explain using d’Alembert’s formula.

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.