0% found this document useful (0 votes)
37 views

Interpolation II

The workbook contains worksheets for linear and cubic interpolation of 2-way data and a worksheet on benzene. It also contains VBA functions for linear (InterpolateL), cubic (InterpolateC) and 2-way cubic (CubicInterp2Way) interpolation. The known x-values must be in ascending order for the interpolation functions to work properly.

Uploaded by

AMP
Copyright
© © All Rights Reserved
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views

Interpolation II

The workbook contains worksheets for linear and cubic interpolation of 2-way data and a worksheet on benzene. It also contains VBA functions for linear (InterpolateL), cubic (InterpolateC) and 2-way cubic (CubicInterp2Way) interpolation. The known x-values must be in ascending order for the interpolation functions to work properly.

Uploaded by

AMP
Copyright
© © All Rights Reserved
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
You are on page 1/ 6

This workbook contains the following worksheets:

Linear Interpolation 2-Way


Cubic Interpolation 2-Way
Benzene

This workbook contains the following VBA function procedures:


InterpolateL
InterpolateC
CubicInterp2Way

Limitations of these functions:


The known_x´s must be in ascending order
Viscosity of Heat Transfer Fluid (cps)
Volume Percent Ethylene Glycol
Temp,
°F 20% 30% 40% 50% 60% 70% 80% 90%
0 13.76 19.34 30.08 45.58 65.04 107.77
10 6.83 10.13 14.26 22.06 33.31 46.89 71.87
20 3.90 5.38 7.74 10.85 16.56 24.79 34.48 49.94
30 3.14 4.33 6.09 8.48 12.68 18.77 25.84 35.91
40 2.59 3.54 4.91 6.77 9.90 14.45 19.71 26.59
50 2.18 2.95 4.04 5.50 7.85 11.31 15.29 20.18
60 1.86 2.49 3.38 4.55 6.33 8.97 12.05 15.65
70 1.61 2.13 2.87 3.81 5.17 7.22 9.62 12.37
80 1.41 1.84 2.46 3.23 4.28 5.88 7.79 9.93
90 1.24 1.60 2.13 2.76 3.58 4.85 6.38 8.10
100 1.11 1.41 1.87 2.39 3.03 4.04 5.28 6.68
110 0.99 1.25 1.64 2.08 2.58 3.40 4.41 5.58
120 0.90 1.11 1.46 1.82 2.23 2.88 3.73 4.71
130 0.81 1.00 1.30 1.61 1.93 2.47 3.17 4.01
140 0.74 0.90 1.17 1.43 1.69 2.13 2.72 3.45
150 0.68 0.82 1.05 1.28 1.49 1.86 2.35 2.98
160 0.63 0.75 0.95 1.15 1.32 1.63 2.05 2.60
170 0.58 0.68 0.87 1.04 1.18 1.43 1.80 2.28
180 0.54 0.63 0.79 0.94 1.06 1.27 1.58 2.01
190 0.50 0.58 0.73 0.85 0.95 1.14 1.40 1.79
200 0.47 0.54 0.67 0.78 0.86 1.02 1.25 1.60
210 0.43 0.50 0.61 0.71 0.78 0.92 1.12 1.43
220 0.41 0.46 0.57 0.66 0.72 0.83 1.01 1.29
230 0.38 0.43 0.53 0.60 0.66 0.76 0.91 1.16
240 0.36 0.40 0.49 0.56 0.61 0.69 0.83 1.06
250 0.34 0.38 0.45 0.52 0.56 0.63 0.75 0.96

Temp,
°F z(interp)
70 ### (value of z at x=70°F, y = 56.3%)
80 ### (value of z at x=80°F, y = 56.3%)

Temp,
°F z(interp)
76 ###
Viscosity of Heat Transfer Fluid (cps)
Volume Percent Ethylene Glycol
Temp,
°F 20% 30% 40% 50% 60% 70% 80% 90%
0 13.76 19.34 30.08 45.58 65.04 107.77
10 6.83 10.13 14.26 22.06 33.31 46.89 71.87 Using InterpolateC function
20 3.90 5.38 7.74 10.85 16.56 24.79 34.48 49.94 Step 1: interpolate for 4 bracketing values of x at y
30 3.14 4.33 6.09 8.48 12.68 18.77 25.84 35.91 x
40 2.59 3.54 4.91 6.77 9.90 14.45 19.71 26.59 40
50 2.18 2.95 4.04 5.50 7.85 11.31 15.29 20.18 50
60 1.86 2.49 3.38 4.55 6.33 8.97 12.05 15.65 60
70 1.61 2.13 2.87 3.81 5.17 7.22 9.62 12.37 70
80 1.41 1.84 2.46 3.23 4.28 5.88 7.79 9.93
90 1.24 1.60 2.13 2.76 3.58 4.85 6.38 8.10 Step 2: use these 4 values of y(interp) to interpolat
100 1.11 1.41 1.87 2.39 3.03 4.04 5.28 6.68 x
110 0.99 1.25 1.64 2.08 2.58 3.40 4.41 5.58 55
120 0.90 1.11 1.46 1.82 2.23 2.88 3.73 4.71
130 0.81 1.00 1.30 1.61 1.93 2.47 3.17 4.01
140 0.74 0.90 1.17 1.43 1.69 2.13 2.72 3.45
150 0.68 0.82 1.05 1.28 1.49 1.86 2.35 2.98
160 0.63 0.75 0.95 1.15 1.32 1.63 2.05 2.60
170 0.58 0.68 0.87 1.04 1.18 1.43 1.80 2.28
180 0.54 0.63 0.79 0.94 1.06 1.27 1.58 2.01
190 0.50 0.58 0.73 0.85 0.95 1.14 1.40 1.79
200 0.47 0.54 0.67 0.78 0.86 1.02 1.25 1.60
210 0.43 0.50 0.61 0.71 0.78 0.92 1.12 1.43
220 0.41 0.46 0.57 0.66 0.72 0.83 1.01 1.29
230 0.38 0.43 0.53 0.60 0.66 0.76 0.91 1.16
240 0.36 0.40 0.49 0.56 0.61 0.69 0.83 1.06
250 0.34 0.38 0.45 0.52 0.56 0.63 0.75 0.96
InterpolateC function
polate for 4 bracketing values of x at y=63%
z at y=63%
#VALUE!
#VALUE!
#VALUE!
#VALUE!

hese 4 values of y(interp) to interpolate at x=55°C


z(interp)
#VALUE!
Viscosity of Heat Transfer Fluid (cps)
Volume Percent Ethylene Glycol
Temp,
°F 20% 30% 40% 50% 60% 70% 80% 90%
0 13.76 19.34 30.08 45.58 65.04 107.77
10 6.83 10.13 14.26 22.06 33.31 46.89 71.87 Using CubicInterp2Way function
20 3.90 5.38 7.74 10.85 16.56 24.79 34.48 49.94 Temp Percent
30 3.14 4.33 6.09 8.48 12.68 18.77 25.84 35.91 195 74.5%
40 2.59 3.54 4.91 6.77 9.90 14.45 19.71 26.59 245 85.0%
50 2.18 2.95 4.04 5.50 7.85 11.31 15.29 20.18 265 85.0%
60 1.86 2.49 3.38 4.55 6.33 8.97 12.05 15.65 245 85.0%
70 1.61 2.13 2.87 3.81 5.17 7.22 9.62 12.37 5 21.0%
80 1.41 1.84 2.46 3.23 4.28 5.88 7.79 9.93
90 1.24 1.60 2.13 2.76 3.58 4.85 6.38 8.10
100 1.11 1.41 1.87 2.39 3.03 4.04 5.28 6.68
110 0.99 1.25 1.64 2.08 2.58 3.40 4.41 5.58
120 0.90 1.11 1.46 1.82 2.23 2.88 3.73 4.71
130 0.81 1.00 1.30 1.61 1.93 2.47 3.17 4.01
140 0.74 0.90 1.17 1.43 1.69 2.13 2.72 3.45
150 0.68 0.82 1.05 1.28 1.49 1.86 2.35 2.98
160 0.63 0.75 0.95 1.15 1.32 1.63 2.05 2.60
170 0.58 0.68 0.87 1.04 1.18 1.43 1.80 2.28
180 0.54 0.63 0.79 0.94 1.06 1.27 1.58 2.01
190 0.50 0.58 0.73 0.85 0.95 1.14 1.40 1.79
200 0.47 0.54 0.67 0.78 0.86 1.02 1.25 1.60
210 0.43 0.50 0.61 0.71 0.78 0.92 1.12 1.43
220 0.41 0.46 0.57 0.66 0.72 0.83 1.01 1.29
230 0.38 0.43 0.53 0.60 0.66 0.76 0.91 1.16
240 0.36 0.40 0.49 0.56 0.61 0.69 0.83 1.06
250 0.34 0.38 0.45 0.52 0.56 0.63 0.75 0.96
bicInterp2Way function
Viscosity
#VALUE!
#VALUE!
#VALUE!
#VALUE!
#VALUE!

You might also like