*MikeVV@AnalysisChamp.com*

*5/14/2009, 7/17/2009, 3/12/2010, 8/26/2011, 1/18/2012, 1/4/2013, 11/17/2013, 7/22/2014*

AnalysisChamp.com Expression Evaluator

Convert complex expressions with units properly handled. Enter the value expression and its unit string as formulas. Also enter the desired output unit expression string. The Complex Converter will calculate the value, define the conversion factors for the unit expressions and verify that the desired output unit expression is proper.

The names for all units are provided in AnalysisChamp.com/EEx/AllUnitNames.htm and a shorter list of more common unit names is located in AnalysisChamp.com/EEx/FavUnitNames.htm. Select Examples to jump to a list of sample problems that can be inserted into the input fields. You can type over the inserted text to perform new calculations.

This site can also process all MS VBScript functions. See Microsoft MSDN VBScript Reference and Microsoft Derived Math Functions for specific information.

Check our blog at: AnalysisChamp.com/Wordpress.

A Spreadsheet with added functions can be downloaded from: FreeStyle.xls.

Site hit count =

The expressions used for calculations can be built using the following
menu box selections. Select the __INSERT NUMBER__ link to copy and paste the
expression into the converter number field, select __INPUT UNITS__ to copy and
paste into the converter unit input field and select __OUTPUT UNITS__ to
copy and paste into the converter output unit field.

**Complex Converter - Example Strings** (See also:
FreeStyle.xls)

MikeVV@AnalysisChamp.com 5/14/2009, 8/26/2011, 1/18/2012, 11/17/2013, 7/22/2014

Examples are given using short function callout versions

(turn word wrap off before copying strings and pasting into expression evaluator)

Each expression string can be copied from the web page by selecting the text and pressing ctrl^C then inserting into the evaluation field and pressing ctrl^V.

The precision of returned values is not more accurate than 6 significant digits.

__Example 01 - Temperature Calculations__

[Enter Example 01]

What is the absolute temperature, degrees Kelvin, at 32 degrees farenheight (F)?

------

*32, DEGF, DEGK *

= 273.15

__Example 02.01 - Length Conversions __

[Enter Example 02.01]

What is the length, in feet, of 200 rods?

------

*200, ROD, FT *

= 3300 ft

__Example 02.02 - Circle Perimeter __

[Enter Example 02.02]

What is the length, in feet, of the perimeter of a circle 12 inches in diameter?

------

*12, PI*IN, FT *

= 3.14158637 ft

__Example 02.03 - Circle Area __

[Enter Example 02.03]

What is the area, in square feet, of a circle whose diameter is 24 inches?

------

*1/4*24^2, PI*IN^2, FT^2 *

= 3.14158 ft^2

__Example 03 - Speed, Torque and Power Calculations __

[Enter Example 03]

What is the torque, in pound-feet, of a shaft driving a 10 horsepower load at 3600 revolutions per minute?

Power = torque * speed so torque = power / speed

------

*10/3600, HP/RPM, FT*LBF *

= 14.6 ft*lbf

__Example 04 - Gas Law Calculations __

[Enter Example 04]

What is the volume per mole of an ideal gas (like air) at 0 degC (273.15 degK) and atmoshperic pressure?

p*V = n*R*T so V/n = R*T/p

------

Temperature is a biased measurement unit. In this case, if the temperature in degrees Centigrade was used directly it would give erroneous results.
First, convert temperature into DEGK...

** 0, DEGC, DEGK** = 273.15, then:

= 22.4 L/Mole

[Enter Example 05]

What is the density of air, in pounds per cubic foot, at 15 degC (288 degK) and

atmospheric pressure of 30.10 inches-mercury?

p*V = n*R*T and mass = moles * grams per mole (gpm) so n/V = p/(R*T) and density = n*gpm/V = p * gpm / (R*T)

------

The temperature needs to be in an absolute measurement system for proper evaluation...

= .0763 lbm/ft^3

[Enter Example 06]

What is the tip speed, mach at standard sea level atmosphere, of a 72 inch diameter propeller spinning at 2400 RPM?

V = diameter / 2 * rotational speed

------

= .675 mach

[Enter Example 07]

What is the hydraulic pressure of a 200 horsepower system with 400 gallons per minute flow rate?

power = pressure * flow rate so pressure = power / flow rate

------

= 857 psi

[Enter Example 08]

What is the dynamic pressure, in pascals, of an air-stream at 150 knots? Air density is .0775 pounds per cubic foot.

q = 1/2 * rho * V^2

------

= 3696 Pa

[Enter Example 09]

What is the side load on a shaft, in Newtons, with a 200 cm diameter sheave if it carries 30 kW power at 55 Hz?

F = p/(n*r)

------

= 86.8 Newton

[Enter Example 10]

What is the ideal radiated power per unit area of a body at 3000 degrees R in watts?

q = sigma * T^4

------

The temperature is expressed in absolute units and can be used without a primary conversion (see Example 5):

= 4.38E5 W/M^2

[Enter Example 11]

How many pounds of caffeine does a 1.35 mole sample weigh? The chemical formula for caffeine is C8-H10-N4-O2.

The formula weight of caffeine is 8*12.01115 + 10*1.00797 + 4*14.0067 + 2*15.9994

------

Addition and subtraction of units must be done carefully because they cannont be mixed within a sum or difference calculation. Checks on the units for each term in such a calculation must be made.

= .578 lbm

[Enter Example 12]

What is the area of a circle, in square feet, if it has a diameter of 2 meter?

Area = pi/4 * Diameter^2

= 33.8157 ft^2

[Enter Example 13]

What is the temperature, in degrees Farenheight, of 1 billion standard cubic feet of an ideal gas at one atmosphere pressure?

Ideal gas law:

p*V = m * RGC * T; solving for T:

T = (m * RGC)/(p * V)

where:

T = temperature, m = quantity (billion standard cubic feet), RGC = universal gas constant, p = pressure and V = volume.

------

The temperature can be returned in biased units (DEGC or DEGF) because the result is converted after evaluation.

= 60 degF

[Enter Example 14]

What is the weight, in pico*grains, of a 1/4 inch long string of carbon atoms if each averages 1.5E-08 centimeters in diameter?

Carbon has an atomic weight of 12.01115 grams per mole.

total weight = total length * Weight/Atom * number of Atoms/length

where the weight/atom = formula weight / Avogadro's number

------

= .013 pico*grain

[Enter Example 15]

What is the percent composition of chlorine in FeCl3? Iron (Fe) weighs 55.847 grams per mole and chlorine (Cl) weighs 35.453 grams per mole based on atomic weight.

Molecule Weight = Fe*1+Cl*3 = (1*(55.847)+3*(35.453)) MOL*(GM/MOL)

Chlorine weight per molecule = (35.453)*3

Cl Percentage = (chlorine weight per molecule)/(molecule weight)

------

= 65.6 percent (centi) (centi)

[Enter Example 16]

What is the centrifugal force of a mass of 3.31 lbm rotating at 3000 revolutions per minute (rpm) at a radius of 18 inches?

Centrifugal Force = mass * radius * rotation speed ^ 2

------

= 15230 lbf

[Enter Example 17]

What is the interpolated estimate for y where y=f(x) at x=.25 when y1=2.5 at x1=1.0 and y2=7.5 at x2=1.5?

The linear interpolation formula is: y = (x-x1)*(y2-y1)/(x2-x1)+y1

------

= -5.0

[Enter Example 18]

How much energy (in watts) is transferred through a concrete wall 8 feet tall x 12 feet wide x 8 inches thick when the temperature difference is 25 degrees F? The coefficient of thermal conductivity for concrete is .5 BTU*ft/(hr*ft^2*degR)

Heat flow Rate = (Coefficient of Thermal Conductivity * Area * Temperature difference)/thickness

------

= 527.5 W

[Enter Example 19]

What is the moment of inertia (MoInertia) of a rectangular cross section 12 inch tall x 3.5 inch wide?

MoInertia = 1/12 * base * height^3 = 1/12 * 3.5 in * 12^3 in^3

------

= 504 IN^4

[Enter Example 20]

What is the bending stress at the extreme edge of a beam of rectangular cross section 12 inch tall x 3.5 inch wide?

Stress = Moment * Extreme Fiber / (MoInertia)

Moment = 250 lbf * 8 ft

Extreme Fiber = 12 in / 2

MoInertia = 1/12 * base * height^3 = 1/12 * 3.5 in * 12^3 in^3

------

= 285.7 PSI

[Enter Example 21]

What is the moment of inertia (MoInertia) of a W14x30 steel I-Beam with 13.86 inch height, 6.73 inch wide flanges, .27 inch thick web and .38 inch thick flanges?

MoInertia = 1/12*((base*height^3)-((base-tw)*(height-2*tf)^3))

= 1/12*((6.73*13.86^3)-((6.73-.27)*(13.86-2*.38)^3))

------

= 289.0 IN^4

[Enter Example 22]

What is the radius of gyration of a W14x30 steel I-Beam with 13.86 inch height, 6.73 inch wide flanges, .27 inch thick web and .38 inch thick flanges?

Radius of Gyration, k = (MoInertia/Area)^(1/2)

Area = (13.86-2*.38)*.27+2*(6.73*.38)

= 8.652 in^2 MoInertia = 1/12*((base*height^3)-((base-tw)*(height-2*tf)^3))

= 1/12*((6.73*13.86^3)-((6.73-.27)*(13.86-2*.38)^3))

= 289.0 in^4

------

= 5.78 IN

[Enter Example 23]

What is the Euler buckling stress, SigmaE, in a steel W14x30 I-Beam column 10 feet tall? (See previous example for radius of gyration, k = 5.78 IN.) The modulus of elasticity, E, is 2.9E7 PSI.

SigmaE = (PI^2 * E) / (Length / k)^2

------

= 664031 IN^2

What is the inverse cosine (ArcCos) of (.25*1000)/(36000*8.65-1000)?

The ArcCos function is derived from VBScript Atn() and Sqr() functions. It is found at the Microsoft MSDN VBScript Reference - Derived Math Functions website.

[Enter X]

------

X = (.25*1000)/(36000*8.65-1000) = 8.0541234E-04

Then, the Arccos(X) = Atn(-X / Sqr(-X * X + 1)) + 2 * Atn(1),

Substituting in gives:

[Enter ArcCos(X)]

Arccos(X) = Atn(-(8.0541234E-04) / Sqr(-(8.0541234E-04) * (8.0541234E-04)+1)) + 2*Atn(1)

------

= 1.5700

MikeVV@AnalysisChamp.com