Docsity

MATH 454 Homework 3: Integrals, PDEs, and Heat Conduction, Papers of Mathematics

Toggle sidebar
bg1
MATH 454: HOMEWORK 3
WINTER 2005
January 20, 2006
NOTE: For each homework assignment observe the following guidelines:
•Include a cover page with your section number.
•Always clearly label all plots (title, x-label, y-label, and legend).
•Use the
subplot
command from MATLAB when comparing 2 or more plots to make com-
parisons easier and to save paper.
1. Compute the following integrals where mand nare non-negative integers. Look out for
special cases.
(a) RL
0cos(nπx/L)cos(mπx/L)dx
(b) RL
0cos(nπx/L)sin(mπx/L)dx
2. Consider the boundary value problem:
PDE: ut=uxx,(0<x<4)
BCs: ux(0,t) = −2,ux(4,t) = −2
ICs:u(x,0) = (0 if 0 ≤x≤2
2x−4 if 2 ≤x≤4.
(a) Find the steady-state solution. (NOTE: There are Neumann BCs at each end. Gener-
ally, this would suggest that there would not be a steady-state solution. In this case,
however, the same value of the derivative is given at each end, meaning that heat leaves
and enters at the same rate. You will find that the steady-state solution contains an
arbitray constant. So how do you chose this constant? Since the net heat flux into the
interval 0 ≤x≤4 is 0, the total heat energy must not depend on time. Choose the
constant in the steady-state solution so that the total energy as t→∞is the same as the
energy at time t=0.)
(b) Using separation of variables, find the solution u(x,t)to this problem. In order to
accomplish this do the following:
1
pf2

Partial preview of the text

Download MATH 454 Homework 3: Integrals, PDEs, and Heat Conduction and more Papers Mathematics in PDF only on Docsity!

MATH 454: HOMEWORK 3

WINTER 2005

January 20, 2006

NOTE: For each homework assignment observe the following guidelines:

  • Include a cover page with your section number.
  • Always clearly label all plots (title, x -label, y -label, and legend).
  • Use the subplot command from MATLAB when comparing 2 or more plots to make com- parisons easier and to save paper.
  1. Compute the following integrals where m and n are non-negative integers. Look out for special cases.

(a)

R (^) L 0 cos( n π x / L )^ cos( m π x / L )^ dx (b)

R (^) L 0 cos( n π x / L )^ sin( m π x / L )^ dx

  1. Consider the boundary value problem:

PDE: ut = uxx , ( 0 < x < 4 ) BCs: ux ( 0 , t ) = − 2 , ux ( 4 , t ) = − 2

ICs: u ( x , 0 ) =

0 if 0 ≤ x ≤ 2 2 x − 4 if 2 ≤ x ≤ 4.

(a) Find the steady-state solution. ( NOTE: There are Neumann BCs at each end. Gener- ally, this would suggest that there would not be a steady-state solution. In this case, however, the same value of the derivative is given at each end, meaning that heat leaves and enters at the same rate. You will find that the steady-state solution contains an arbitray constant. So how do you chose this constant? Since the net heat flux into the interval 0 ≤ x ≤ 4 is 0, the total heat energy must not depend on time. Choose the constant in the steady-state solution so that the total energy as t → ∞ is the same as the energy at time t = 0.) (b) Using separation of variables, find the solution u ( x , t ) to this problem. In order to accomplish this do the following:

  • Write u ( x , t ) = w ( x ) + v ( x , t ), where w ( x ) is the particular solution (also the steady- state solution) and v ( x , t ) is the homogeneous solution.
  • Write down the PDE and the BCs that v ( x , t ) must satisfy.
  • Write down the solution for v ( x , t ) using the separation of variables results we obtained in class.
  • Choose the arbitrary constants in v ( x , t ) so that u ( x , t ) satisfies the initial condition. (c) Plot u ( x , t ) as a function of x for several values of t in order to see how the temperature profile evolves from the inital condition towards the steady-state solution. ( NOTE: use the subplot command in MATLAB in order to save paper. In each subplot window plot u ( x , t ) at a given instant in time.)
  1. Use separation of variables to find the solution, in the form of an infinite series, of the homogeneous heat conduction problem with mixed boundary conditions:

PDE:

∂ u ∂ t

= κ

∂^2 u ∂ x^2

, ( 0 < x < L , t > 0 )

BCs: u ( 0 , t ) = 0 ,

∂ u ∂ x

( L , t ) = 0 , ( t > 0 )

ICs: u ( x , 0 ) = f ( x ) ( t = 0 )

Proceed as follows:

(a) Assume u ( x , t ) = φ( x ) G ( t ) and derive the ODEs satisfied by φ( x ) and G ( t ). (b) Solve the ODEs for φ( x ) and G ( t ), and determine the allowed values for the separation constant λ. (c) Show that the eigenfunctions of the spatial eigenvalue-eigenfunction problem are mu- tually orthogonal. (d) Write the solution in terms of an infinite series with coefficients Bn , and derive a for- mula for the Bn in terms of an integral involving the intial condition u ( x , 0 ) = f ( x ).

  1. Find the solution of

PDE:

∂ u ∂ t

= κ

∂^2 u ∂ x^2

, ( 0 < x < L , t > 0 )

BCs:

∂ u ∂ x

( 0 , t ) =

∂ u ∂ x

( L , t ) = 0 , ( t > 0 )

for each of the following initial conditions:

(a) u ( x , 0 ) = 6 + 4 cos

3 π x L

and (b) u ( x , 0 ) =

1 if 0 ≤ x < L / 2 0 if L / 2 ≤ x ≤ L.