HW 1 - 1) / (exp(1 /D ) 1). 1) Graph that exact solution...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
MIT OpenCourseWare http://ocw.mit.edu 18.085 Computational Science and Engineering I Fall 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms .
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
18.085 MATLAB 1 This homework is about convection-diffusion, an important equation. There will be a boundary layer of rapid change at one endpoint when the conditions are u (0) = u (1) = 0 and the u convection term dominates. The exact solution to Du + u = 1 is u = x (exp( x/D )
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1) / (exp(1 /D ) 1). 1) Graph that exact solution for D = 1 / 25 2) Approximate Du as usual by DK/h 2 (try 3 dierent values of h ) 3) Approximate u by centered and forward and backward dierences (same h ) 4) With f = ones(n,1) solve the matrix equations and label graphs of u 5) Write a SHORT conclusion from your testswhich method(s) to use ? 1...
View Full Document

This note was uploaded on 04/12/2011 for the course MATH 18.085 taught by Professor Staff during the Fall '10 term at MIT.

Page1 / 2

HW 1 - 1) / (exp(1 /D ) 1). 1) Graph that exact solution...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online