Run 1: M=2, zero degree angle - San Diego State University
Homework 2: AE601, Computational Fluid Mechanics
February 11, 2009
Due: February 18, 2009, beginning of class
Problem 1:
Consider the function f(x) on the interval [0,3]
[pic][pic]
• Determine analytically [pic]and plot it in a graph on the interval x=[0,3]
• Derive the following third order approximation to [pic]
[pic],
by fitting the function f to a polynomial and differentiating the resulting interpolant.
• Approximate [pic]with the central difference scheme and the third order approximation.
• Determine the approximate first order derivative using the central difference AND the third order approximation and f(x) evaluated on grid points on the interval [0,3]. Use several grids with uniform grid spacing of 1, 0.3, 0.03, 0.003, and 0.0003. You can use grid points that lie outside the interval [0,3] to approximate the derivative at x=0, and x=3.
• Determine the average absolute error over [0,3] of the approximations as compared to the analytical derivative on all grids. Plot the average error versus the grid spacing in a log-log plot. Explain the trend of the curve.
This homework must be in the “Computer-homework” format as described in the handout (keep it brief and to the point). Use Matlab for your programming and plotting.
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
Related searches
- san diego gs pay scale
- uchs san diego bell schedule
- san diego writer s conference 2020
- university high school san diego ca
- san diego city high school
- san diego high schools
- san diego county high schools
- san diego writers conference
- 1 cm 2 to 1 m 2
- san diego state teacher credential
- 1 degree angle in inches
- san diego state virtual tour