You are on page 1of 10

Days % Expansion Percent Expansion

0 0.0000 0.2000
3 0.0070 0.1800
7 0.0287 0.1600
10 0.0490 0.1400

% Expansion
14 0.0677 0.1200
21 0.0940 0.1000
0.0800 Column B
28 0.1123
0.0600
42 0.1333
0.0400
56 0.1490
0.0200
70 0.1637
0.0000
84 0.1793 0 7 14 21 28 35 42 49 56 63
Days

In mathematics, a spline is a special function defined piecewise by polynomials. (Ref. http://en.wikipedia.org/wik


Add-in Spline function and Dydx func. [courtesy -ref. http://www.ozgrid.com/Excel/excel-interpolate-cubic-curve
dydx :- Returns the first derivative of the interpolated curve at the given X using the defaults of Interpolate
Spline: Returns the Y which lies on the cubic (or natural) spline curve at the given X

Slope 2ndDerv.
Days Spline(cubic) Days dy/dx ddy/dx
0 0 0 0.001233 0.000769
2 0.0040053023772066 1 0.002003 0.000769
4 0.0110885148005155 2 0.002772 0.000769
6 0.0221048608200053 3 0.003488 0.000876
8 0.0356361195889732 4 0.004525 0.001197
10 0.0489999999999999 5 0.005597 0.000806
12 0.0593331154930692 6 0.006137 0.000274
14 0.0676666666666668 7 0.006933 0.000293
16 0.0756399812826978 8 0.006724 -0.000712
18 0.0833795506974868 9 0.006861 -0.0004
20 0.0906336571659634 10 0.005924 -0.001474
22 0.0971580821694652 11 0.005102 -0.000629
24 0.102881089396718 12 0.004667 -0.000242
26 0.107903424743833 13 0.004064 -0.000295
28 0.112333333333333 14 0.004077 0.00032
30 0.116271730838161 15 0.003979 -7.42E-05
32 0.119790215132952 16 0.003928 -2.68E-05
34 0.122953054642762 17 0.003886 -8.99E-05
36 0.125824517792648 18 0.003748 -0.000184
38 0.128468873007667 19 0.003642 -0.000152
40 0.130950388712877 20 0.003445 -0.000243
42 0.133333333333333 21 0.003267 -0.000191
44 0.135671326597277 22 0.003062 -0.000218
46 0.13797539344568 23 0.002855 -0.000188
48 0.140245910122697 24 0.002686 -0.00015
50 0.142483252872482 25 0.002504 -0.000162
52 0.144687797939191 26 0.002363 -0.000121
54 0.146859921566979 27 0.002209 -0.000135
56 0.149 28 0.002092 -9.76E-05
58 0.151110018166316 29 0.001965 -0.000114
60 0.153198395729615 30 0.001864 -8.71E-05
62 0.155275161037491 31 0.001755 -9.69E-05
64 0.15735034243754 32 0.00167 -7.28E-05
66 0.159433968277356 33 0.001577 -8.09E-05
68 0.161536066904533 34 0.001509 -5.68E-05
70 0.163666666666667 35 0.001432 -6.48E-05
72 0.165833207151453 36 0.001379 -4.07E-05
74 0.168032772906998 37 0.001318 -4.87E-05
0.0015
76 0.170259859721507 38 0.001281 -2.46E-05
78 0.172508963383188 39 0.001237 -3.27E-05
80 0.174774579680248 40 0.001216 -8.58E-06 0.001
82 0.177051204400894 41 0.001188 -1.79E-05
84 0.179333333333333 42 0.00118 2.167E-06
0.0005
43 0.001168 -9.86E-06
44 0.001161 -5.73E-06
45 0.001152 -8.43E-06 0
46 0.001144 -8.29E-06 0 2 4 6 8 1
47 0.001135 -8.34E-06 -0.0005
48 0.001127 -8.2E-06
49 0.001119 -8.25E-06
50 0.00111 -8.11E-06 -0.001
51 0.001102 -8.15E-06
52 0.001094 -8.01E-06 -0.0015
53 0.001086 -8.06E-06
54 0.001078 -7.92E-06
-0.002
55 0.00107 -7.76E-06
56 0.001063 -7.02E-06
57 0.001054 -6.46E-06
58 0.00105 -3.31E-06
59 0.001044 -4.16E-06
60 0.001041 -3.96E-07
61 0.001038 -1.65E-06
62 0.001038 2.111E-06
63 0.001037 8.576E-07
64 0.00104 4.618E-06
65 0.001041 3.365E-06
66 0.001046 7.125E-06
67 0.00105 5.872E-06
68 0.001058 9.632E-06
69 0.001065 8.055E-06
70 0.001074 1.085E-05
71 0.001083 8.621E-06
72 0.001092 7.527E-06
73 0.0011 7.568E-06
74 0.001107 5.504E-06
75 0.001114 6.192E-06
76 0.001119 4.128E-06
77 0.001125 4.816E-06
78 0.001129 2.752E-06
79 0.001133 3.44E-06
80 0.001136 1.376E-06
81 0.001139 2.064E-06
82 0.00114 2.179E-17
83 0.001141 1.376E-06
84 0.001142 1.376E-06
Expansion

Column B

42 49 56 63 70 77 84
Days

http://en.wikipedia.org/wiki/Spline_(mathematics)]
xcel-interpolate-cubic-curve-fit.htm]
efaults of Interpolate

Spline Curve
0.2
0.18
0.16
0.14
% Expansion

0.12
0.1
0.08 Spline(cubic)

0.06
0.04
0.02
0
0 7 14 21 28 35 42 49 56 63 70 77 84
Days

Slope (dy/dx)
0.008

0.007

0.006

0.005
Slope (dy/dx)
0.008

0.007

0.006

0.005

0.004

0.003

0.002

0.001

0
0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 7

2nd der. (ddy/dx)


0.0015

0.001

0.0005

0
0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84

-0.0005

-0.001

-0.0015

-0.002
bic)

63 70 77 84
dy/dx

58 60 62 64 66 68 70 72 74 76 78 80 82 84

66 68 70 72 74 76 78 80 82 84
ddy/dx
SPLINE can be done in MATLAB and others. But we found easier way in E
I used "XlXtrFun.xll" for the SPLINE in Microsoft Excel.
NOTE: XlXtrFun.xll is a collection of functions which extends the
capabilities of Microsoft Excel, which was developed and distributed as
free
from-
Advanced Systems Design and Development
346 Atlantic Avenue
Red Lion, PA 17356
email: support@xlxtrfun.com
http://www.xlxtrfun.com/XlXtrFun/XlXtrFun.htm

I have attached the necessary installation file and an example file.


The example file will show how we did the SPLINE for the expansion and
dy/dx and d(dy/dx).

I hope this will help.


If you need further explanation or help please let me know.

Below are the instructions:

Put XlXtrFun.xll wherever is wanted and use Excel's Add-In Manager to


install XlXtrFun.xll.

1. To install an Excel 2007 add-in, click on the Office Button, the big
round decoration in the top left of the Excel window.

2. This opens the Office Menu. Click the Excel Options button at the
bottom of this menu.

3.The Excel Options dialog opens up. Click the Add-Ins item in the list
along the left edge of the dialog to see the Add-Ins panel.

4.Make sure the Manage dropdown at the bottom shows Excel Add-Ins,
click the "Go" button. This brings up the Add-Ins dialog.

5. Click Browse, and use the Browse dialog to locate the add-in file which
is in this case- "XlXtrFun.xll".

6.Click "OK"
s. But we found easier way in EXCEL!
osoft Excel.
ons which extends the
developed and distributed as

file and an example file.


e SPLINE for the expansion and

ease let me know.

se Excel's Add-In Manager to

the Office Button, the big

xcel Options button at the

the Add-Ins item in the list


e Add-Ins panel.

e bottom shows Excel Add-Ins, then


dd-Ins dialog.

g to locate the add-in file which

You might also like