diff options
Diffstat (limited to '2021/CH15/EX15.7/EX15_7.sce')
-rwxr-xr-x | 2021/CH15/EX15.7/EX15_7.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/2021/CH15/EX15.7/EX15_7.sce b/2021/CH15/EX15.7/EX15_7.sce new file mode 100755 index 000000000..ed8142058 --- /dev/null +++ b/2021/CH15/EX15.7/EX15_7.sce @@ -0,0 +1,21 @@ +//Finding of Mach's Number
+//Given
+k=1.4;
+R=287;
+T=273;
+T1=273-15;
+v=900;
+p1=8*10^4;
+//To Find
+V=v*(5/18);
+C=sqrt(k*R*T);
+Ma=V/C;
+ps=p1*((1+((k-1)/2)*Ma^2)^(k/(k-1)));
+Ps=ps*10^-4;
+Ts=T1*((1+((k-1)/2)*Ma^2));
+rho=ps/(R*T);
+t=Ts-T;
+disp("Mach Number ="+string(Ma)+" No Units");
+disp("Density ="+string(rho)+" Kg/m^3");
+disp("Pressure ="+string(Ps)+" N/cm^2");
+disp("Temperature ="+string(t)+" celcius")
|