Presentation is loading. Please wait.

Presentation is loading. Please wait.

Recapitulation of Lecture 11

Similar presentations


Presentation on theme: "Recapitulation of Lecture 11"— Presentation transcript:

1 ME 123 Computer Applications I Lecture 12: Numerical Integration 3/28/03

2 Recapitulation of Lecture 11
In the last lecture, we applied the for loop structure to two more examples the partial sum calculator; the prime number finder. Your homework was about algorithm optimization on performance. Homework feedback: Only accumulating variable needs to be initialized. Wisely make use of decreasing loop variable to avoid unnecessary variable. Lecture 12 ME 123 Computer Applications I

3 ME 123 Computer Applications I
Road Map of Lecture 12 Solutions to HW 3-3 More application problems on using the for loop: numerical integration concept of discretization introduce trapezoidal method examples: area under an arbitrary curve; solution to a simple differential equation Results from class competition on prime number finder Lecture 12 ME 123 Computer Applications I


Download ppt "Recapitulation of Lecture 11"

Similar presentations


Ads by Google