HW9 assignment

# HW9 assignment - 2 and c 3 3 Solve the following parabolic...

This preview shows page 1. Sign up to view the full content.

HW#9 EGM6341 Numerical Method Due: Thursday 4/16/09 1. Solve the following BVP using finite difference method y " - (1 – x /4) y = x y (0) = 1, y (2) = 5. i) Set up the matrix for y i using x =0.5. ii) Solve y i for i=2 to 4. 2. Using Galerkin method to solve the above problem in the form of. u( x ) = ϕ 0 ( x ) + 3 2 i = c i ϕ i ( x ) Find an appropriate ϕ 0 ( x ), select appropriate ϕ 2 ( x ) and ϕ 3 ( x ), and determine c
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 2 and c 3 . 3. Solve the following parabolic equation using explicit method: 2 2 0.5 u u t x u = , ≤ x ≤ 1 (1) IC. u(t=0, x )= x 2 (2) B.C. u(t, x =0)=0, u( t , x =1)=1 (3) Use ∆ x=0.05 and choose your ∆ t in an appropriate manner. Report your result for t=1 in both tabulated and graphical forms....
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online