Pre-Engineering 220 Introduction to MatLab ® & Scientific Programming j kiefer



Download 8.69 Mb.
Page99/128
Date02.05.2018
Size8.69 Mb.
#47255
1   ...   95   96   97   98   99   100   101   102   ...   128

3. Integration

Thinking again of the definite integral as an area under a curve, we envision a rectangle whose area is equal to the total area under the curve f(x). The area of that equivalent rectangle is just the length of the integration interval (a,b) times the average value of the integrand over that interval. How to take that average? One way is to sample the integrand at randomly selected points.


a. One dimensional definite integrals

, where the {xi} form a pseudorandom sequence uniformly distributed in (0,1). Over some other interval, , where .


Download 8.69 Mb.

Share with your friends:
1   ...   95   96   97   98   99   100   101   102   ...   128




The database is protected by copyright ©ininet.org 2024
send message

    Main page