shehpar
- 9
- 0
Anybody can guide me about it. At least start me in right direction . thanks
loveequation said:Let the interval of integration be from t = a to t = b.
Next do an an exact integration. For example the linear function integrates to
<br /> \frac{1}{2} (b^2 - a^2)<br />
Then apply the trapezoidal rule using one interval and see that it gives the same result. I won't do it for you except to recall that the trapezoidal rule is:
<br /> \frac{1}{2}(b - a)(y(a) + y(b))<br />
Hope you get it.