diff options
Diffstat (limited to '2021/CH2/EX2.9/EX2_9.sce')
-rwxr-xr-x | 2021/CH2/EX2.9/EX2_9.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/2021/CH2/EX2.9/EX2_9.sce b/2021/CH2/EX2.9/EX2_9.sce new file mode 100755 index 000000000..540306f30 --- /dev/null +++ b/2021/CH2/EX2.9/EX2_9.sce @@ -0,0 +1,12 @@ +//Finding of Pressure and Temperature
+//Given
+h=18.288; //Height in kilometer
+t0=288.15;
+l=6.5; // Lengh in meter
+p0=101.18; //Pressure in N/mm^2
+g=9.81; //gravitational force in m/s^2
+//To Find
+T=t0-(l*h);
+disp("Temperature is ="+string(T)+" kelvin");
+Ps=p0*(1-(l*h/t0))^(g/(287.1*l));
+disp("Pressure is = "+string(Ps)+" KN/m^2");
|