summaryrefslogtreecommitdiff
path: root/2243/CH1/EX1.4
diff options
context:
space:
mode:
Diffstat (limited to '2243/CH1/EX1.4')
-rwxr-xr-x2243/CH1/EX1.4/Ex1_4.sce25
-rwxr-xr-x2243/CH1/EX1.4/Res1_4.txt4
2 files changed, 29 insertions, 0 deletions
diff --git a/2243/CH1/EX1.4/Ex1_4.sce b/2243/CH1/EX1.4/Ex1_4.sce
new file mode 100755
index 000000000..db6cd56c5
--- /dev/null
+++ b/2243/CH1/EX1.4/Ex1_4.sce
@@ -0,0 +1,25 @@
+clc();
+clear;
+//Given
+// (a) Newton's Theory
+// v= (P/rho)^2 , P= Pressure , rho = density
+P = 76; // 76 cm of Hg pressure
+V= 330 ; // velocity of sound in m/s
+rho = 0.001293; // density for dry air at 0 degrees celsius in g/cm^3
+g = 980;//gravitational acceleration in cm/s^2
+//Density of mercury at room temperature is 13.6 g/cm^3
+// 1 cm^2 = 1.0*10^-4 m^2
+v = sqrt(((P*13.6*g)/rho)*10^-4); // velocity of sound in m/s
+p= ((V-v)/V)*100; // % lower than the experimental value
+printf("(a) It is is %d percentage lower than the experimental value.\n\n",p);
+
+// (b) Laplace's Theory
+// v= ((gama*P)/rho)^2., gamma = adiabatic index Thus,
+//Given :
+gama = 1.41 // Adiabatic index
+//Density of mercury at room temperature is 13.6 g/cm^3
+// 1 cm^2 = 1.0*10^-4 m^2
+v1 = sqrt(((gama*P*13.6*g)/rho)*10^-4);// velocity of sound in m/s
+p1 = ((V-round(v1))/V)*100;// % higher than the eperimental value
+printf("(b) It is %.1f percantage higher than the experimental value.\n",abs(p1));
+
diff --git a/2243/CH1/EX1.4/Res1_4.txt b/2243/CH1/EX1.4/Res1_4.txt
new file mode 100755
index 000000000..4ed339290
--- /dev/null
+++ b/2243/CH1/EX1.4/Res1_4.txt
@@ -0,0 +1,4 @@
+(a) It is is 15 percentage lower than the experimental value.
+
+(b) It is 0.6 percantage higher than the experimental value.
+ \ No newline at end of file