# Project1 - Project 1 EML 4500 Roy (Use Matlab. Show all...

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

Project 1 EML 4500 Roy Due 10/30/09 Name: (Use Matlab. Show all steps.) Consider the following ODE. 2 2 0, 0 du d u a b au bu x d dx dx ′′ −= = Use a =1, b = 1, d=1 and u(0)=0 and u(d)=1. (a) Write a matlab program for the above problem using 4 finite elements of equal length. (b) Calculate unknown u(x) and its derivative u’(x). (c) Compare the finite element solution with the exact solution by plotting and identifying maximum and minimum percentage difference. (d) Increase the number of elements to 8 and 16 and compare the solution to the exact solution. A typed project report is due by 5pm on 10/30/2009.
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 08/22/2011 for the course EML 4500 taught by Professor Staff during the Fall '08 term at University of Florida.

Ask a homework question - tutors are online