Computational Methods - Assignment 3 MATLAB | MCEN 3030, Assignments of Mechanical Engineering

Material Type: Assignment; Professor: Vasilyev; Class: COMPUTATIONAL METHODS; Subject: Mechanical Engineering; University: University of Colorado - Boulder; Term: Unknown 1989;

Typology: Assignments

Pre 2010

Uploaded on 02/13/2009

koofers-user-4zu-1
koofers-user-4zu-1 🇺🇸

9 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Home Work # 3
Due March 2
Use symbolic math toolbox of Matlab or other symbolic programs such as Maple or
Mathematica to analyze the accuracy of the finite difference schemes listed blow. For the
analysis use the properties of shift operator
hD
E e
=discussed in section 4.3 of the class
notes. What operators do these finite difference schemes approximate? Obtain the
leading error term of the approximation evaluated at point i.
a)
1 1 2 3
3 10 18 6
12
i
i i i i
f f f f f
h
+ + +
+ +
b)
3 2 1 1
3
6 12 10 3
2
i
f f f f f
h
+
+ +
P.S. Bring your solution to class. Email the code that you used for the analysis to

Partial preview of the text

Download Computational Methods - Assignment 3 MATLAB | MCEN 3030 and more Assignments Mechanical Engineering in PDF only on Docsity!

Home Work # 3

Due March 2

Use symbolic math toolbox of Matlab or other symbolic programs such as Maple or Mathematica to analyze the accuracy of the finite difference schemes listed blow. For the

analysis use the properties of shift operator E = ehD discussed in section 4.3 of the class notes. What operators do these finite difference schemes approximate? Obtain the leading error term of the approximation evaluated at point i.

a) 1 1 2 3

fi f (^) i fi f (^) i fi h

b) 3 2 31 1

f (^) i fi fi f (^) i fi h

− −^ − +^ − −^ + +

P.S. Bring your solution to class. Email the code that you used for the analysis to [email protected].