summaryrefslogtreecommitdiff
path: root/3843/CH1
diff options
context:
space:
mode:
Diffstat (limited to '3843/CH1')
-rw-r--r--3843/CH1/EX1.10/Ex1_10.sce17
-rw-r--r--3843/CH1/EX1.5/Ex1_5.sce12
-rw-r--r--3843/CH1/EX1.6/Ex1_6.sce10
-rw-r--r--3843/CH1/EX1.7/Ex1_7.sce11
-rw-r--r--3843/CH1/EX1.8/Ex1_8.sce13
-rw-r--r--3843/CH1/EX1.9/Ex1_9.sce10
6 files changed, 73 insertions, 0 deletions
diff --git a/3843/CH1/EX1.10/Ex1_10.sce b/3843/CH1/EX1.10/Ex1_10.sce
new file mode 100644
index 000000000..762c1b3cb
--- /dev/null
+++ b/3843/CH1/EX1.10/Ex1_10.sce
@@ -0,0 +1,17 @@
+// Example 1_10
+clc;funcprot(0);
+// Given data
+m_a=2200;// kg
+V_a1=90*(1000/3600);// m/s
+V_a2=50*(1000/3600);// m/s
+m_b=1000;// kg
+V_b2=88*(1000/3600);// m/s
+
+// Calculation
+KE_1=(1/2)*m_a*V_a1^2;// J
+KE_2=((1/2)*m_a*V_a2^2)+((1/2)*m_b*V_b2^2);// J
+// dU=U_2-U_1
+dU=KE_1-KE_2;// J
+printf("\nThe increase in internal energy,U_2-U_1=%6.0f J or %3.1f kJ",dU,dU/1000);
+// The answer vary due to round off error
+
diff --git a/3843/CH1/EX1.5/Ex1_5.sce b/3843/CH1/EX1.5/Ex1_5.sce
new file mode 100644
index 000000000..b72f7d917
--- /dev/null
+++ b/3843/CH1/EX1.5/Ex1_5.sce
@@ -0,0 +1,12 @@
+// Example 1_5
+clc;funcprot(0);
+// Given data
+V=3*5*20;// The volume of the room in(m*m*m)
+m=350;// The mass of air in kg
+g=9.81;// The acceleration due to gravity in m/s^2
+
+// Calculation
+rho=m/V;// The density in kg/m^3
+c=1/rho;// The specific volume in m^3/kg
+gamma=rho*g;// The specific weight in N/m^3
+printf("\nThe density,rho=%1.3f kg/m^3 \nThe specific volume,c=%0.3f m^3/kg \nThe specific weight,gamma=%2.2f N/m^3",rho,c,gamma);
diff --git a/3843/CH1/EX1.6/Ex1_6.sce b/3843/CH1/EX1.6/Ex1_6.sce
new file mode 100644
index 000000000..680bf3326
--- /dev/null
+++ b/3843/CH1/EX1.6/Ex1_6.sce
@@ -0,0 +1,10 @@
+// Example 1_6
+clc;funcprot(0);
+// Given data
+P_gage=35;// psi
+P_atm=100;// The atmospheric pressure in kPa
+
+// Calculation
+P_gage=35*144*0.04788;// The gage pressure in kPa
+P=P_atm+P_gage;// The absolute pressure in kPa
+printf("\nThe absolute pressure,P=%3.0f kPa",P)
diff --git a/3843/CH1/EX1.7/Ex1_7.sce b/3843/CH1/EX1.7/Ex1_7.sce
new file mode 100644
index 000000000..7779b70d0
--- /dev/null
+++ b/3843/CH1/EX1.7/Ex1_7.sce
@@ -0,0 +1,11 @@
+// Example 1_7
+clc;funcprot(0);
+// Given data
+h=0.6;// The manometer reading in m
+r=9810;// The weight density in N/m^3
+S_gm=13.6;// The specific gravity of mercury
+
+// Calculation
+P=(h*S_gm*r)-(h*r);// Pa
+printf("\nThe water pressure,P=%5.0f Pa or %2.1f kPa",P,P/10^3);
+// The answer vary due to round off error
diff --git a/3843/CH1/EX1.8/Ex1_8.sce b/3843/CH1/EX1.8/Ex1_8.sce
new file mode 100644
index 000000000..e58dbb479
--- /dev/null
+++ b/3843/CH1/EX1.8/Ex1_8.sce
@@ -0,0 +1,13 @@
+// Example 1_8
+clc;funcprot(0);
+// Given data
+rho=1000;// The density of water in kg/m^3
+g=9.81;// m/s^2
+h=600;// m
+d=1;// m
+
+// Calculation
+P=rho*g*h;// Pa
+A=(%pi*d^2)/4;// m^2
+F=P*A;// The force due to pressure in N
+printf("\n The force due to pressure,F=%1.2e N",F);
diff --git a/3843/CH1/EX1.9/Ex1_9.sce b/3843/CH1/EX1.9/Ex1_9.sce
new file mode 100644
index 000000000..33ef7b3d6
--- /dev/null
+++ b/3843/CH1/EX1.9/Ex1_9.sce
@@ -0,0 +1,10 @@
+// Example 1_9
+clc;funcprot(0);
+// Given data
+t=50;// °F
+
+// Calculation
+t_c=(5/9)*(t-32);// °C
+T_K=t_c+273;// K
+T_R=t+460;// °R
+printf("\nt_c=%2.0f°C \nT_K=%3.0f K \nT_R=%3.0f°R",t_c,T_K,T_R);