You are on page 1of 6

Roy Haggerty:

Function of time: use sine


function as example: f(t) =
v0 sin(w t)

t f(t) Num. Integration 1

0 10 0 10.5
1 11 0 12.813376367811 0.708073 -247.115 910.905
2 14.62675 0 17.981091022754 0.826822 -0.95401715 680.7169
3 21.33543 0 26.371135093232 0.019915 -0.999244824 617.229
4 31.40684 0 38.229860579262 0.57275 -0.985018255 608.2286
5 45.05288 0 53.749554425451 0.919536 -0.982892216 605.984
6 62.44623 0 73.090018684111
7 83.73381 0 96.388984192989 0.431631 -0.995521984
8 109.0442 0 123.76805861307 0.97883 -0.992091419
9 138.492 0 155.33648368766 0.169842 -0.998906621
10 172.181 0 0.295959 #DIV/0!
0 #DIV/0!
0.1 10.00617 0.5003082975009 0.009967 -0.980078861
0.2 10.02853 1.5020430113077 0.03947 -0.973722788
0.3 10.06989 2.5069641121417 0.087332 -0.965164163
0.4 10.13199 3.517058472215 0.151647 -0.956882535
0.5 10.21613 4.5344648631514 0.229849 -0.949310701 spacing=1 number trap
0.6 10.32338 5.5614406197438 0.318821 -0.942672925
0.7 10.45464 6.6003416099318
0.8 10.6107 7.6536086258011 155.3365
0.9 10.79227 8.7237574421134
1 11 9.8133711915433
1.1 11.23446 10.925094306958
1.2 11.4962 12.061627577981
1.3 11.78573 13.225724030844
1.4 12.1035 14.420185435259
123.7681
1.5 12.44998 15.647859300811
1.6 12.82556 16.911636263432
1.7 13.23067 18.214447788164
1.8 13.66566 19.559264132208
96.3890
1.9 14.13091 20.949092524958
2 14.62675 22.386975530945
2.1 15.15353 23.875989568543
2.2 15.71155 25.419243562454
2.3 16.30113 27.019877712035 73.0900
2.4 16.92256 28.681062360641
2.5 17.57613 30.405996953613
2.6 18.26211 32.197909074539 53.7496
2.7 18.98078 34.060053550973
2.8 19.73238 35.995711622113
38.2299

26.3711
17.9811
12.8134
10.5000
53.7496

2.9 20.51719 38.008190161985 38.2299


3 21.33543 40.100820952573
3.1 22.18735 42.276960002062 26.3711
3.2 23.07319 44.539986903964
17.9811
3.3 23.99316 46.893304233434
12.8134
10.5000
3.4 24.94749 49.340336977521
3.5 25.93641 51.884531996458
3.6 26.9601 54.529357513443
0 1 2 3 4
3.7 28.0188 57.278302630621
3.8 29.11269 60.134876869233
3.9 30.24197 63.102609732099
4 31.40684 66.185050286789
4.1 32.60749 69.385766767993
4.2 33.8441 72.708346197754
4.3 35.11686 76.156394022333
4.4 36.42594 79.733533764604
4.5 37.77152 83.443406690969
4.6 39.15378 87.28967149186
4.7 40.57287 91.276003974997
4.8 42.02898 95.40609677061
4.9 43.52226 99.683659047927
5 45.05288 104.11241624226
5.1 46.62099 108.69610979209
5.2 48.22675 113.4384968856
5.3 49.87032 118.34335021608
5.4 51.55184 123.41445774587
5.5 53.27146 128.65562247819
5.6 55.02934 134.07066223661
5.7 56.82561 139.66340945171
5.8 58.66042 145.43771095456
5.9 60.53392 151.39742777672
6 62.44623 157.5464349564
6.1 64.3975 163.88862135053
6.2 66.38786 170.42788945246
6.3 68.41745 177.16815521499
6.4 70.4864 184.11334787857
6.5 72.59484 191.26740980431
6.6 74.74289 198.63429631176
6.7 76.93069 206.21797552112
6.8 79.15836 214.02242819971
6.9 81.42603 222.05164761263
7 83.73381 230.30963937727
7.1 86.08183 238.80042132168
7.2 88.47021 247.5280233465
7.3 90.89907 256.4964872904
7.4 93.36852 265.70986679892
7.5 95.87869 275.17222719647
7.6 98.42968 284.88764536142
7.7 101.0216 294.86020960426
7.8 103.6546 305.09401954854
7.9 106.3287 315.59318601467
8 109.0442 326.3618309063
8.1 111.801 337.40408709932
8.2 114.5993 348.72409833341
8.3 117.4392 360.32601910588
8.4 120.3208 372.21401456789
8.5 123.2442 384.39226042291
8.6 126.2095 396.86494282735
8.7 129.2168 409.63625829325
8.8 132.2663 422.71041359307
8.9 135.358 436.09162566634

605.2667
0 0 0 0 #DIV/0!
Roy Haggerty:
This is the second parameter used in the
trigonometric equation in Column B.

Changing this value is equivalent to


changing the spacing between the time data
points. You may modify this and see how
the integration's accuracy changes (as well
as the function).
v0= 1
w= 2
Roy Haggerty:
Numerical integration from A3B3 to A21B21
using trapezoidal rule. This is a more sophisticated way
to implement the same numerical integration as given
along column C, but it saves space and work. Note the
answer is the same as given in cell C21, however.

You may copy the equation from this cell and


implement it in your spreadsheet. Be careful, however,
to modify the first and last cell locations properly

cing=1 number trapezoids=10 Area=608.2286


2 3 4 5 6 7 8 9 10

You might also like