summaryrefslogtreecommitdiff
path: root/3845/CH13
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH13')
-rw-r--r--3845/CH13/EX13.1/Ex13_1.sce10
-rw-r--r--3845/CH13/EX13.10/Ex13_10.sce14
-rw-r--r--3845/CH13/EX13.11/Ex13_11.sce11
-rw-r--r--3845/CH13/EX13.12/Ex13_12.sce19
-rw-r--r--3845/CH13/EX13.13/Ex13_13.sce13
-rw-r--r--3845/CH13/EX13.2/Ex13_2.sce6
-rw-r--r--3845/CH13/EX13.3/Ex13_3.sce8
-rw-r--r--3845/CH13/EX13.4/Ex13_4.sce9
-rw-r--r--3845/CH13/EX13.5/Ex13_5.sce8
-rw-r--r--3845/CH13/EX13.6/Ex13_6.sce10
-rw-r--r--3845/CH13/EX13.7/Ex13_7.sce10
-rw-r--r--3845/CH13/EX13.8/Ex13_8.sce11
-rw-r--r--3845/CH13/EX13.9/Ex13_9.sce10
13 files changed, 139 insertions, 0 deletions
diff --git a/3845/CH13/EX13.1/Ex13_1.sce b/3845/CH13/EX13.1/Ex13_1.sce
new file mode 100644
index 000000000..04344cfcf
--- /dev/null
+++ b/3845/CH13/EX13.1/Ex13_1.sce
@@ -0,0 +1,10 @@
+//Example 13.1
+T_C=25;//Temperature (C)
+T_F=(9/5*T_C)+32;//Temperature (F)
+printf('a.Room temperature = %0.1f F',T_F)
+T_K=T_C+273.15;//Temperature (K)
+printf('\nb.Room temperature = %0.1f K',T_K)
+//Answer varies due to round off error
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest
+
diff --git a/3845/CH13/EX13.10/Ex13_10.sce b/3845/CH13/EX13.10/Ex13_10.sce
new file mode 100644
index 000000000..3964e12a2
--- /dev/null
+++ b/3845/CH13/EX13.10/Ex13_10.sce
@@ -0,0 +1,14 @@
+//Example 13.10
+T=20;//Temperature (C)
+T=T+273;//Temperature (K)
+k=1.38*10^-23;//Boltzmann constant (J/K)
+KE=3/2*k*T;//Kinetic energy (J)
+printf('a.Average kinetic energy of the gas molecule = %0.2e J',KE)
+M=2*14.0067*10^-3;//Molecular mass of nitrogen N2 (kg/mol)
+N_A=6.02*10^23;//Avogadro's number (mol^-1)
+m=M/N_A;//Mass of nitrogen molecule (kg)
+v_rms=sqrt(3*k*T/m);//RMS speed (m/s)
+printf('\nb.RMS speed of the nitrogen molecule = %0.1f m/s',v_rms)
+//Answer varies due to round off error
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest
diff --git a/3845/CH13/EX13.11/Ex13_11.sce b/3845/CH13/EX13.11/Ex13_11.sce
new file mode 100644
index 000000000..09119a305
--- /dev/null
+++ b/3845/CH13/EX13.11/Ex13_11.sce
@@ -0,0 +1,11 @@
+//Example 13.11
+v=11.1*10^3;//Escape velocity (m/s)
+v_rms=v;//RMS speed (m/s)
+molar_m=4.0026*10^-3;//Molar mass (kg/mol)
+N_A=6.02*10^23;//Avogadro's number (mol^-1)
+m=molar_m/N_A;//Mass of Helium atom (kg)
+k=1.38*10^-23;//Boltzmann constant (J/K)
+T=m*v_rms^2/(3*k);//Temperature (K)
+printf('Temperature = %0.2e K',T)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest
diff --git a/3845/CH13/EX13.12/Ex13_12.sce b/3845/CH13/EX13.12/Ex13_12.sce
new file mode 100644
index 000000000..0f28fe8ed
--- /dev/null
+++ b/3845/CH13/EX13.12/Ex13_12.sce
@@ -0,0 +1,19 @@
+//Example 13.12
+T=20;//Temperature (C)
+T=T+273;//Temperature (K)
+P=2.33*10^3;//Vapor pressure of water at 20 deg C (Pa), See Table 13.5
+R=8.31;//Ideal gas constant (J/mol.K)
+M=18;//Molecular mass of water (g/mol)
+//From ideal gas law, n/V=rho=P/(RT)
+//n=number of moles, V=volume (m^3), rho=density (mol/m^3)
+rho=P/(R*T);//Density (mol/m^3)
+rho=rho*M;//Density (g/m^3)
+printf('Density of water vapor = %0.1f g/m^3',rho)
+sat_rho=17.2;//Saturation vapor density, See Table 13.5 (g/m^3)
+//Here it is found that rho=sat_rho
+x=abs(rho-sat_rho);//Difference (g/m^3)
+if (x<0.1)//For a maximum difference of less than 0.1 g/m^3 (assumed)
+ printf('\nDensity of water vapor calculated is equal to the saturation vapor density found in Table 13.5')
+ end
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest
diff --git a/3845/CH13/EX13.13/Ex13_13.sce b/3845/CH13/EX13.13/Ex13_13.sce
new file mode 100644
index 000000000..59de564d1
--- /dev/null
+++ b/3845/CH13/EX13.13/Ex13_13.sce
@@ -0,0 +1,13 @@
+//Example 13.13
+v_rho=9.40;//Vapor density (g/m^3)
+sat_rho=23.0;//Saturation vapor density at 25 deg C, See Table 13.5 (g/m^3)
+rel_hum=v_rho/sat_rho*100;//Percent relative humidity
+printf('a.Percent relative humidity = %0.1f%%',rel_hum)
+printf('\nb.The answer to this sub question is beyond the scope of computation')
+//Dew point temperature = -10 deg C
+v_rho1=2.36;//Vapor density = Saturation vapor density at dew point from Table 13.5 (g/m^3)
+sat_rho1=23;//Saturation vapor density at 25 deg C, See Table 13.5 (g/m^3)
+rel_hum1=v_rho1/sat_rho1*100;//Percent relative humidity
+printf('\nc.Percent relative humidity = %0.1f%%',rel_hum1)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest
diff --git a/3845/CH13/EX13.2/Ex13_2.sce b/3845/CH13/EX13.2/Ex13_2.sce
new file mode 100644
index 000000000..ced7e04e1
--- /dev/null
+++ b/3845/CH13/EX13.2/Ex13_2.sce
@@ -0,0 +1,6 @@
+//Example 13.2
+T_C=25;//Temperature(C)
+T_R=0.8*T_C;//Temperature (R (Reaumur))
+printf('Room temperature = %0.1f R',T_R)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest
diff --git a/3845/CH13/EX13.3/Ex13_3.sce b/3845/CH13/EX13.3/Ex13_3.sce
new file mode 100644
index 000000000..6b0ac6b1e
--- /dev/null
+++ b/3845/CH13/EX13.3/Ex13_3.sce
@@ -0,0 +1,8 @@
+//Example 13.3
+L=1275;//Length when coldest (m)
+delta_T=40-(-15);//Temperature range (C)
+alpha=12*10^-6;//Coefficient of linear thermal expansion (C^-1), See Table 13.2
+delta_L=alpha*L*delta_T;//Change in length (m)
+printf('Change in length = %0.2f m',delta_L)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest
diff --git a/3845/CH13/EX13.4/Ex13_4.sce b/3845/CH13/EX13.4/Ex13_4.sce
new file mode 100644
index 000000000..ba8bf6560
--- /dev/null
+++ b/3845/CH13/EX13.4/Ex13_4.sce
@@ -0,0 +1,9 @@
+//Example 13.4
+beta_s=35*10^-6;//Coefficient of volume expansion of steel (C^-1)
+beta_gas=950*10^-6;//Coefficient of volume expansion of gasoline (C^-1)
+V=60;//Volume of tank (L)
+delta_T=35-15;//Change in temperature (C)
+V_spill=(beta_gas-beta_s)*V*delta_T;//Volume of gasoline spilled (See textbook for derivation) (L)
+printf('Volume of gasoline spilled = %0.2f L',V_spill)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest
diff --git a/3845/CH13/EX13.5/Ex13_5.sce b/3845/CH13/EX13.5/Ex13_5.sce
new file mode 100644
index 000000000..036dfe5fd
--- /dev/null
+++ b/3845/CH13/EX13.5/Ex13_5.sce
@@ -0,0 +1,8 @@
+//Example 13.5
+B=1*10^9;//Bulk modulus of gasoline (N/m^2)
+delta_V=1.10;//Volume of gasoline that would spill, See Example 13.4 (L)
+V=60;//Volume of tank, See Example 13.4 (L)
+P=delta_V*B/V;//Pressure (after derivation)(Pa)
+printf('Pressure created in the tank = %0.2e Pa',P)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest
diff --git a/3845/CH13/EX13.6/Ex13_6.sce b/3845/CH13/EX13.6/Ex13_6.sce
new file mode 100644
index 000000000..30e1f2c2e
--- /dev/null
+++ b/3845/CH13/EX13.6/Ex13_6.sce
@@ -0,0 +1,10 @@
+//Example 13.6
+T_0=18;//Initial temperature (C)
+T_0=T_0+273;//Initial temperature (K)
+T_f=35;//Final temperature (C)
+T_f=T_f+273;//Final temperature (K)
+P_0=7*10^5;//Initial pressure (Pa)
+P_f=P_0*T_f/T_0;//Final presssure (after derivation)(Pa)
+printf('Pressure after temperature rise = %0.2e Pa',P_f)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest
diff --git a/3845/CH13/EX13.7/Ex13_7.sce b/3845/CH13/EX13.7/Ex13_7.sce
new file mode 100644
index 000000000..2f6c027f6
--- /dev/null
+++ b/3845/CH13/EX13.7/Ex13_7.sce
@@ -0,0 +1,10 @@
+//Example 13.7
+T=0;//Temperature (C)
+T=T+273;//Temperature (K)
+P=1.01*10^5;//Pressure (Pa)
+V=1;//Volume (m^3)
+k=1.38*10^-23;//Boltzmann constant (J/K)
+N=(P*V)/(k*T);//Number of molecules
+printf('Number of molecules in 1 m^3 of gas at STP = %0.2e',N)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest
diff --git a/3845/CH13/EX13.8/Ex13_8.sce b/3845/CH13/EX13.8/Ex13_8.sce
new file mode 100644
index 000000000..fda7dcda2
--- /dev/null
+++ b/3845/CH13/EX13.8/Ex13_8.sce
@@ -0,0 +1,11 @@
+//Example 13.8
+N=2.68*10^25;//Number of molecules in 1 m^3 of gas at STP, See Example 13.7 (molecules/m^3)
+N_A=6.02*10^23;//Avogadro's number (molecules/mol)
+n=N/N_A;//Moles per cubic meter (mol/m^3)
+printf('a.Number of moles per cubic meter of gas at STP = %0.1f mol/m^3',n)
+v=1;//Volume (m^3)
+v=v*10^3;//Volume (L/m^3)
+n_l=v/n;//Liters per mole (L/mol)
+printf('\nb.Number of liters of gas per mole = %0.1f L/mol',n_l)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest
diff --git a/3845/CH13/EX13.9/Ex13_9.sce b/3845/CH13/EX13.9/Ex13_9.sce
new file mode 100644
index 000000000..6336127fd
--- /dev/null
+++ b/3845/CH13/EX13.9/Ex13_9.sce
@@ -0,0 +1,10 @@
+//Example 13.9
+P=7*10^5;//Pressure (Pa)
+V=2*10^-3;//Volume (m^3)
+T=18;//Temperature (C)
+T=T+273;//Temperature (K)
+R=8.31;//Ideal gas constant (J/(mol.K))
+n=(P*V)/(R*T);//Moles (mol)
+printf('Number of moles = %0.3f mol',n)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest