1a) Find the approximate value of ∫[0~1] e^[(x^2)/2] dx by using th trapezoidal rule with 5 sub-intervals.
b) Hence, finf the approximate value of ∫[-1~1] e^[(x^2)/2] dx.
For (b),
∫[-1~1] e^[(x^2)/2] dx
=∫[0~1] e^[(x^2)/2] dx + ∫[-1~0] e^[(x^2)/2] dx
The first no. is the answer of (a), but how should I calculate the second no.?
2) Approximate the area of the region bounded by the curve y=5/x and the line
x+y-6=0 by using the trapezoidal rule with 4 sub-intervals.
I want to ask how to define which one is right boundary and which one is left
boundary? Or how can the graph be drawn?
Please help, thank you!