# Lecture 3 -- Example on Unit Conversion
#
# The friction factor is an important quantity in fluid mechanics that can be
# used to calculate the pressure a fluid loses while flowing in a pipe. One 
# equation for the friction factor is: 
# 
# f = 0.0791 (rho * v * D / mu)**(1/4)
# 
# where rho is the density, v is the velocity, D is the diameter and 
#
# (a) Is this equation dimensionally homogeneous?
#
# (b) Calculate the friction factor if:
# 
# rho = 62.30 lbm/ft^3
# v = 35 miles/hr
# D = 3 in
# mu = 1.002 * 10**(-3) kg/m/s 

