From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2021/CH2/EX2.9/EX2_9.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 2021/CH2/EX2.9/EX2_9.sce (limited to '2021/CH2/EX2.9/EX2_9.sce') 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"); -- cgit