You are on page 1of 2

ME 433 HW 2 (Due Feb 19)

Problem 1: Prove the following vector form of the conservation laws:

Problem 2: Solve the following equation using characteristic lines:

 u u
 +a =0
 t x
u ( x, 0 ) = cos ( x )

Problem 3: We have the heat equation:

T  2T
= 2
t x

in the computation domain x   0, L  , with the initial condition (don’t specify here) and the boundary
conditions:

 x = 0, T = T0 ( Dirichlet Type )

 T
 x = L, +  T =  ( Mixed Type )
 x

Discretize the equation using the FTCS implicit scheme using N nodes.

(1) Write down the numerical scheme using the local stencil nodes;
(2) Write down the matrix form [ A][T ] = [ B] with the boundary condition properly implemented
(3) Check the matrix [ A] using Matlab (or equivalent) using N = 10 and N = 100 nodes.

You might also like