2_Junak_Blake_LABHW04B-2

2_Junak_Blake_LABHW04B-2 - % constants. n=(m./M);...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Blake Junak Section 2 Lab HW 04B Part 1: Gas Powered Pressure Washer: function [ Pascal ] = Pascal_Conversion( PSI ) %LabHW04 % This function converts pressure from PSI to Pascal. Pascal=PSI*4.448*39.37^2; End >> [Pascal]=Pascal_Conversion(PSI) Pascal = 1.3444e+006 >> PSI=1800 PSI = 1800 >> [Pascal]=Pascal_Conversion(PSI) Pascal = 1.2410e+007 Internal Combustion Engine Combustion Chamber Pressure: function [ Pascal ] = Pascal_Conversion( PSI ) %LabHW04 % This function converts pressure from PSI to Pascal. Pascal=PSI*4.448*39.37^2; End >> PSI=195 PSI =
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
195 Part 2: function [ P,n ] = Mass_to_moles_Conversion( M,R,T,m,V ) %Ideal Gas Equation % Used to find the pressure of an ideal gas with given variables and
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % constants. n=(m./M); P=((n)*R*T)/V; end >> M M = 28.9660 31.9990 4.0200 28.0134 44.0970 >> P P = 1.0e+007 * 0.2623 0.2375 1.8901 0.2712 0.1723 >> R R = 8.3145e+003 >> T T = 297 >> V V = 0.0130 >> m m = 0.4000 >> n n = 0.0138 0.0125 0.0995 0.0143 0.0091 >> [P,n]=Mass_to_moles_Conversion(M,R,T,m,V) n = 0.0138 0.0125 0.0995 0.0143 0.0091 P = 1.0e+007 * 0.2623 0.2375 1.8901 0.2712 0.1723 P is in (Pa) V is in (m^3) n is in (moles) R is in (Pa*m^3) T is in (K) M values are in order corresponding to the following gas: Air, Oxygen, Helium, Nitrogen, Propane....
View Full Document

Page1 / 3

2_Junak_Blake_LABHW04B-2 - % constants. n=(m./M);...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online