Professional Documents
Culture Documents
MikeVanVoorhis@msn.com
This workbook contains added functions for complex unit conversion, air property calculations, 3-d coordinate tra
Examples of Functions
This workbook contains numerous functions that perform usefule calculations. The cells with red text can be changed. Th
These functions are inserted into cells and formula using the >Insert >Function >User Defined menu commands.
The worksheet functions use protected macros. Users can create worksheets with macro capability by using this workshee
=UCFactorIndex(name) returns the specific record number from the unit converter factors database for a given nam
name (field 1) record
lbf #VALUE!
=UCFactorDataSearch(start, search string, field) returns the next record number from the given start record of the u
field
search string 6
temp #VALUE!
next temp #VALUE!
next temp #VALUE!
Interpolator Function:
This function calculates linear interpolated values
=INTP(DataInx,DataIny,x) calculates the y value for a given table of x y data at a given x' data point by linear interpo
x 1 2 3 4 5
y 1 10 100 1000 10000
x' = 4
y' = #VALUE!
=INTP(DataInx,DataIny,x) calculates the y value for a given table of x y data at a given x' data point by linear interpo
x y
1 1
2 10
3 100
4 1000
5 10000
6 100000
x' y'
4 #VALUE!
ations, 3-d coordinate transforms and interpolation.
d text can be changed. The cells with blue text contain formulas.
menu commands.
bility by using this worksheet with separate worksheets that contain other macros.
ases factors database. Field 1 is the name, field 2 is the check value and field 3 is the description.
actors database for a given name.
factors database.
field 6 = comment, field 7 = common mark
7
#VALUE!
e given start record of the unit converter factors database for a given text string within the given field.
Standard Atmosphere"
S Standard Atmosphere"
stem with origin at x0,y0,z0 that has been rotated along the a,b,c vector at angle ang.
stem with origin at x0,y0,z0 that has been rotated along the a,b,c vector at angle ang.
stem with origin at x0,y0,z0 that has been rotated along the a,b,c vector at angle ang.
n the x0,y0,z0 and a rotation axis defined by I,j,k,theta is given:
If you have a retangular tank it would seem that you could replace the first part (3.14 x dia^2) with (4 x L x W)
A rate of change is represented by a differential. In your case, the rate of change of volume is the flow rate out of the tank, which is dV/dt. So you can say that dV/d
Integrate it and use the boundary condition that you know, namely that at zero time (T=0) you have full volume (V=V) and that at T=T, you have V=0, remembering t
Then you'll just need to rearrange for T, and hey presto.
zaza
(in) min
dV/dt. So you can say that dV/dt = A_drain * sqrt(2gh).
=T, you have V=0, remembering to include an appropriate negative sign to indicate that water is flowing out of the tank.
Flow
###
###
###
###
### 300.0
###
###
###
250.0
###
###
###
200.0
gal/min
level
150.0
100.0
50.0
0.0
0.00 2.00 4.00 6.00 8.00 10.00
time
Tank Level vs Time Flow Rate
50.0
0.0
0.00 2.00 4.00 6.00 8.00 10.00
time
Tank Level vs Time Flow Rate
12.0
10.0
8.0
6.0
4.0
2.0
0.0
6.00 8.00 10.00 12.00
time
vs Time Flow Rate
2.0
0.0
6.00 8.00 10.00 12.00
time
vs Time Flow Rate