Download presentation
Presentation is loading. Please wait.
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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.