You are on page 1of 13

EAD 115

Numerical Solution of Engineering and Scientific Problems David M. Rocke Department of Applied Science

Course Information
http://dmrocke.ucdavis.edu/courses.html If you forget the course site location, google my name. If you forget my name, look it up in the course schedule under the course number EAD 115. If you forget the course number, I probably cant help you!

Class Meetings: Discussion: Office Hours: Office and Lab:

TuTh 12:10pm1:30pm, 55 Roessler Tu 3:10-4:00, 55 Roessler By appointment 150 Med Sci 1C (752-6999) FAX: 754-6793 e-mail: dmrocke@ucdavis.edu Numerical Methods for Engineers, Fifth Edition, Steven C. Chapra and Raymond P. Canale, McGraw Hill. Matthew Carpenter (mhcarpenter@ucdavis.edu) Jaebum Park (jbpark@ucdavis.edu) Midterm Examination Final Examination Homework 30% 40% 30%

Text:

TAs: Course Grading:

This course is an introduction to the use of computer numerical methods to solve problems in engineering and science. The emphasis is on understanding the methods available and the advantages and disadvantages of each. Homework assignments will mostly require computer programming, largely in Visual Basic in Excel and Matlab. Reading assignments should generally be completed before class. Some material in the reading will not be repeated in class and some material presented in class supplements the reading. If you miss a class, you are responsible for obtaining the notes from another student. Homework assignments will be given weeklylate assignments will not be given full credit. The midterm examination will be given in class (tentative date: Thursday, May 6) and the final examination will be Saturday, June 7, 8:00am10:00am.

Why Study Numerical Methods?


Solution of engineering and scientific problems can be done by theory or experiment An important third way is by computation We would rather have an approximate answer to the right problem than an exact answer to the wrong problem (consider a spherical cow)

Mathematical Models
If we can describe a problem via a mathematical model, we can often find out much about the real problem by studying the mathematical model Simple mathematical models can be solved with pencil and paper Realistic models usually require computer solution

The parachutist
Downward force due to gravity Upward force due to air resistance

F = ma a = F /m dv = F /m dt

F = FD + FU FD = mg g 9.8m / s FU cv
2

dv F mg cv = = dt m m dv cv = g dt m gm (c / m)t v (t ) = 1 e c

60

50

40 Velocity

30

20

10

0 0 5 10 Time 15 20

Analytical vs. Numerical Solutions


The previous solution is analytical, meaning that it is supplied by a single simple formula We can solve this problem also numerically Numerical solutions generalize What if the drag is not linear in the velocity?

dv c = g v dt m dv v (ti+1 ) v (ti ) dt ti+1 ti dv (ti+1 ti ) v(ti+1 ) v(ti ) dt dv v (ti+1 ) v (ti ) + (ti+1 ti ) dt

Eulers Method

dv c = g v dt m v (ti+1 ) v (ti+1 ) dv v (ti ) + (ti+1 ti ) dt c v (ti ) + g v (ti )(ti+1 ti ) m

You might also like