This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: f_s = fraction soil ii. Define Constants [sh_dms = specific heat of dry mineral soil in J/kg-K] [sh_dms = 760] [sh_dos = specific heat of dry organic soil in J/kg-K] [sh_dos = 500] sh_w = specific heat of water in J/kg-K sh_w = 4180 [d_dms = density of dry mineral soil in kg/m^3] [d_dms = 1400] [d_dos = density of dry organic soil in kg/m^3] [d_dos = 1400] d_w = density of water in kg/m^3 d_w = 1000 iii. Define Inputs ask user for fraction soil (f_s) ask user for fraction water (f_w) echo inputs for fraction soil and fraction water 3. Calculations i. [cp_min = ((sh_w*f_w*d_w)+(sh_dms*f_s*d_dms))/((f_w*d_w)+(f_s*d_dms))] ii. [cp_org = ((sh_w*f_w*d_w)+(sh_dos*f_s*d_dos))/((f_w*d_w)+(f_s*d_dos))]...
View Full Document
- Fall '05
- Timothy Lin TA, Tim Lin BEE