Question
How do I integrate the curve numerically using the trapezoidal rule and integrate the curve numerically using Simposon's rule.

Provided is the data of absorbance values (y-axis) for each cuvette collection (x-axis). I also plotted the points on a graph. Please explain with all steps. Thanks.

56 DO YOU 0.035 0.048 0.075 0.116 0.156 0.201 0.247 0.29 0.327 0.352 0.369 0.373 0.367 0.345 0.324 0.284 0.255 0.219 0.189 0.
Chart Title 0.4 0.35 0.25 0.2 0.15 0.1 0.05 10 20 25 30
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Trapezoidal and Simpson rules are methods to approximately calculate a definite integral

Suppose there is a definite integral :

1 f()d.

where f(x) is the function, b is the last and a is the first limit of interval [a,b] over which we have to integrate this function.

In trapezoidal rule, we divide the graph into N equally spaced intervals. Like in our case we can divide it into 29 equally spaced intervals. For example, first interval from x = 1 to x = 2, second one from x = 2 to x = 3 and so on.

So by trapezoidal rule : -

n-1 f(30) + f(In) +2 f (tk) k=1

(1) ubə ((x)} + (1-42) f7+ ** + ()f7+ (1x)f7 + (02)!) 2 = 1p(x)} ]

where b-a Ar=- N

and f(x0) , f(x1) , f(x2) ... f(xn) are the values of function at x = a , x = a + \Delta x , x = a + 2\Delta x ....x = a + N\Delta x = b

Thus we have 29 intervals from x = 1 to x = 30

- rܠ.. 30-1 - - 1 29

At x = a = 1 , f(x0) = 0.035

At x = a + \Delta x = 2 , f(x1) = 0.048

.......

At x = a + N\Delta x = b = 30 , f(xn) = 0.038

Just put all the values in the above equation (1)

Simpson rule : -

[ f(x)dx = (f(x0) + 4F (11) +25(2 (20) + 4f(21) +2f (x2) + 4f (23)+2f (c4).... +4f(In-1) + f(xn) eqn(2

Where all the terms have the same meaning as discussed in trapezoidal rule. Simpson rule is a little bit different formula-wise.

NOTE : - Simpson rule only works when, number of intervals (N) in which the curve is divided is EVEN. Thus you can attempt this problem by using Simpson from x = 1 to x = 29 making 28 intervals (EVEN), and then applying trapezoidal from x = 29 to x = 30.

Add a comment
Know the answer?
Add Answer to:
How do I integrate the curve numerically using the trapezoidal rule and integrate the curve numerically using Simposon's...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT