diff options
Diffstat (limited to '3785/CH4')
-rw-r--r-- | 3785/CH4/EX4.4/Ex4_4.sce | 11 | ||||
-rw-r--r-- | 3785/CH4/EX4.5/Ex4_5.sce | 10 | ||||
-rw-r--r-- | 3785/CH4/EX4.6/Ex4_6.sce | 12 | ||||
-rw-r--r-- | 3785/CH4/EX4.8/Ex4_8.sce | 11 | ||||
-rw-r--r-- | 3785/CH4/EX4.9/Ex4_9.sce | 11 |
5 files changed, 55 insertions, 0 deletions
diff --git a/3785/CH4/EX4.4/Ex4_4.sce b/3785/CH4/EX4.4/Ex4_4.sce new file mode 100644 index 000000000..38bd31ff9 --- /dev/null +++ b/3785/CH4/EX4.4/Ex4_4.sce @@ -0,0 +1,11 @@ +// Example 4_4
+clc;funcprot(0);
+// Given data
+V_1=50;// Velocity in m/s
+alpha=45;// Angle in degree
+g=9.807;// The acceleration due to gravity in m/s^2
+
+// Calculation
+w_1=V_1*sind(alpha);// m/s
+h=(w_1)^2/(2*g);// Height in m
+printf("\nThe maximum value of h is %2.2f m",h)
diff --git a/3785/CH4/EX4.5/Ex4_5.sce b/3785/CH4/EX4.5/Ex4_5.sce new file mode 100644 index 000000000..4d1a14b44 --- /dev/null +++ b/3785/CH4/EX4.5/Ex4_5.sce @@ -0,0 +1,10 @@ +// Example 4_5
+clc;funcprot(0);
+// Given data
+rho=1.225;// The density of air in kg/m^3
+A_0=1.0;// Area of orifice in cm^2
+A_pV=2.5*10^-4;// The volumetric flow rate in m^3/s
+
+// Calculation
+P=(rho*(A_pV)^3)/(2*(A_0*10^-4)^2);// The power expended in inhaling in W
+printf("\nThe power P expended in inhaling (or exhaling) is %1.2e W",P)
diff --git a/3785/CH4/EX4.6/Ex4_6.sce b/3785/CH4/EX4.6/Ex4_6.sce new file mode 100644 index 000000000..c6e8180ff --- /dev/null +++ b/3785/CH4/EX4.6/Ex4_6.sce @@ -0,0 +1,12 @@ +// Example 4_6
+clc;funcprot(0);
+// Given data
+D_t=30;// The diameter of an oil storage tank in m
+H=5;// The depth of the oil in m
+D_p=5;// The inside diameter of pipe in cm
+g=9.807;// The acceleration due to gravity in m/s^2
+
+// Calculation
+t=(D_t/(D_p/100))^2*sqrt((2*H)/g);// Time in s
+t=t/3600;// Time in hours
+printf("\nIt will take %3.0f hr for the oil to drain completely from the tank.",t)
diff --git a/3785/CH4/EX4.8/Ex4_8.sce b/3785/CH4/EX4.8/Ex4_8.sce new file mode 100644 index 000000000..d9b7d7120 --- /dev/null +++ b/3785/CH4/EX4.8/Ex4_8.sce @@ -0,0 +1,11 @@ +// Example 4_8
+clc;funcprot(0);
+// Given data
+rho=8.6*10^2;// The density of gasoline in kg/m^3
+L=1.0;// The tank length in m
+H=0.6;// The tank height in m
+g=9.807;// The acceleration due to gravity in m/s^2
+
+// Calculation
+p=rho*g*(H+(2*L));// Pa
+printf("\nThe maximum pressure in the tank,p=p_a+%1.3e Pa",p)
diff --git a/3785/CH4/EX4.9/Ex4_9.sce b/3785/CH4/EX4.9/Ex4_9.sce new file mode 100644 index 000000000..3142398d7 --- /dev/null +++ b/3785/CH4/EX4.9/Ex4_9.sce @@ -0,0 +1,11 @@ +// Example 4_9
+clc;funcprot(0);
+// Given data
+R=5;// The radius of a jar in cm
+n=33;// tThe turntable has been revolving at a steady speed in rpm
+g=9.807;// The acceleration due to gravity in m/s^2
+
+// Calculation
+omega=(2*%pi*n)/60;// Acceleration
+h=(omega*R*10^-2)^2/(2*g);// The height h in m
+printf("\nThe height,h=%1.3e m",h);
|