- #1
xpoormanx
- 2
- 0
http://img55.imageshack.us/img55/3461/scan0001op5.jpg
Thank You !
Thank You !
Last edited by a moderator:
xpoormanx said:It is not homework it is something extra
I just need help on it
which one more easy using C ++ or MATLAB
xpoormanx said:It is not homework it is something extra
I just need help on it
which one more easy using C ++ or MATLAB
Simpson's rule is a numerical integration method used to approximate the area under a curve. It involves dividing the area into smaller segments and using quadratic polynomials to approximate the curve within each segment.
Simpson's rule works by taking the average of the left and right Riemann sums for each segment, and then combining those averages using a weighted average. This results in a more accurate approximation of the area under the curve compared to other numerical integration methods.
Simpson's rule is best used when the function being integrated is smooth and can be approximated by quadratic polynomials. It is also useful when the number of segments used is relatively large, as it can provide a more accurate estimation of the area under the curve compared to other methods.
Simpson's rule is relatively easy to implement and can provide a more accurate estimation of the area under a curve compared to other numerical integration methods. It is also versatile and can be used for a wide range of functions.
One limitation of Simpson's rule is that it can only be applied to functions with an even number of segments. It may also not provide accurate results for functions with sharp turns or discontinuities. Additionally, it may require a larger number of segments to achieve a desired level of accuracy compared to other integration methods.