diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2021/CH2/EX2.9/EX2_9.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
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");
|