0% found this document useful (0 votes)
59 views5 pages

Are A Under Curve in Excel

The document compares two methods for calculating the area under a curve: the trapezoid rule and integration of a regression equation fit to the data. It provides sample data and calculations using each method. The trapezoid rule calculates the area as the sum of trapezoidal strips under the curve, while integration calculates the definite integral of the regression equation between the bounds. The results from the two methods are compared.

Uploaded by

Cool Mom
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views5 pages

Are A Under Curve in Excel

The document compares two methods for calculating the area under a curve: the trapezoid rule and integration of a regression equation fit to the data. It provides sample data and calculations using each method. The trapezoid rule calculates the area as the sum of trapezoidal strips under the curve, while integration calculates the definite integral of the regression equation between the bounds. The results from the two methods are compared.

Uploaded by

Cool Mom
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
You are on page 1/ 5

A B C D E F G H I J K L

1 Area under curve =(B6+B5)/2*(A6-A5) Trapezoid Rule


2 Divide curve into series of trapezoids, each with
3 Trapezoid Rule, Method 1 =SUM(C5:C10) area =(average height)(width)
4 x y trapezoid Sum the areas of the strips.
5 1 0 3
6 2 6 11
7 3 16 23 120
8 4 30 39
9 5 48 59 100
10 6 70 83
11 7 96 80
12 area 218
13 60
14
15 Trapezoid Rule, Method 2
40
16 When x-increments are equal
17 x y trapezoid
1 0 3 20
18
19 2 6 11
20 3 16 23 0
21 4 30 39 1 2 3 4 5 6 7
22 5 48 59
23 6 70 83
24 7 96
25 area 218 For more information, see
=(B19+B18)/2
A Guide to Microsoft Excel 2002 for Scientists and Engineers, 3e,
26
by Bernard Liengme.
27 =SUM(C18:C23)*(A19-A18)
Published by Butterworth-Heinemann, 2002
28
29
M
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
ntists and Engineers, 3e,
26
002 27
28
29
A B C D E F G H I J K L
1 Area under curve
2
Simpson's 1/3 Rule Simpson's 1/3 Rule
3
x y strip Seven points making three strips
4
5 1 0 40
6 2 6 120
=B5+4*B6+B7
7 3 16 184
8 4 30 =(1/3)*SUM(C5:C9)*(A6-A5) 100
9 5 48 424
10 6 70
80
11 7 96
12 area 216
13 60
14
15 Simpson's 1/3 Rule 40
16 n−2
17
18
I= ∑ 1
3
( y i +4 y i+1 + y i+2 ) Δx 20
i=1,3,5 ,…
19
20 The number of data points (n ) must be odd, 0
21 since three points are needed for each strips . 0 1 2 3 4 5 6 7 8
22 X-increments must be equal
23
24
25 For more information, see
A Guide to Microsoft Excel 2002 for Scientists and Engineers 3e,
26
by Bernard Liengme.
27 Published by Butterworth-Heinemann, 2002
28
29
M
1
2
Rule
3
hree strips
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
5 6 21
7 8
22
23
24
25
ts and Engineers 3e,
26
27
28
29
A B C D E F G H I J
1 Area under a curve
2 Trapezoid vs. Integration of Regression Equation 5.0
3 y = 2.949E-11x6 - 1.268E-08x 5 + 2.262E-06x 4 - 2.091E-04x 3
4.5
+ 9.835E-03x 2 - 1.413E-01x + 6.549E-01
4 data
4.0 R2 = 1.000E+00
5 T C Trapezoid In C6
6 0 1 60.000 =0.5*(A7-A6)*(B7+B6) 3.5 Area =
copied to C15 base × average
7 20 5 604.463 3.0 height
8 40 55.4462609 363.916
2.5
9 45 90.1201739 375.628
10 50 60.130887 225.681 2.0
11 55 30.1416 131.784 1.5
12 60 22.5718 187.869
1.0
13 70 15.002 112.171
14 80 7.4322 37.161 0.5

15 90 0 0.000 0.0
16 100 0 In C17
0 10 20 30 40 50 60 70 80 90 100
17 area = 2098.67 =SUM(C6:C15)

18
19 Power 6 5 4 3 2 1 0
20 Linest 1.755E-08 -6.464E-06 9.196E-04 -6.212E-02 1.925E+00 -1.989E+01 1.096E+00
21
In B20:H20 =LINEST(B6:B16,A6:A16^{1,2,3,4,5,6}) In I25 =SUM(B25:H25)
22 Integration In I26 =SUM(B26:H26)
In I27 =I26-I25
23 In B25 =(B$20/(B$19+1)*$A25^(B$19+1)) copied to B25:H26
24 T value
25 10 0.025 -1.077 18.392 -155.306 641.573 -994.350 10.965 ### sum
26 100 ### ### 1839158.888 ### ### -99434.982 109.648 ### sum
27 area = ### I = diff
28 T2
29
 (aT
6
I  bT 5  cT 4  dT 3  eT 2  fT  g )dT Of course, this method
30
T1 works only when you can
31 T2 find a good trendline fit
32  aT 7 bT 6 cT 5 dT 4 eT 3 fT 2 
I        gT 
 7 6 5 4 3 2
33
T 1
34

file:///conversion/tmp/activity_task_scratch/646523332.xls 02/22/2023

You might also like