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 --- 551/CH16/EX16.8/8.sce | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 551/CH16/EX16.8/8.sce (limited to '551/CH16/EX16.8/8.sce') diff --git a/551/CH16/EX16.8/8.sce b/551/CH16/EX16.8/8.sce new file mode 100755 index 000000000..0429d6e73 --- /dev/null +++ b/551/CH16/EX16.8/8.sce @@ -0,0 +1,26 @@ +clc +R=287; //J/kg K +y=1.4; +V0=1000*1000/3600; //m/s +p0=78.5; //kN/m^2 +T0=265; //K + +C0=sqrt(y*R*T0); +M0=V0/C0; + +disp("(i) Stagnation pressure =") +ps=p0*(1+((y-1)/2*M0^2))^(y/(y-1)); +disp(ps) +disp("kN/m^2") + + +disp("(ii) Stagnation temperature =") +Ts=T0*(1+((y-1)/2*M0^2)); +disp(Ts) +disp("K") + + +disp("(iii) Stagnation density =") +rho_s=ps*10^3/R/Ts; +disp(rho_s) +disp("kg/m^3") \ No newline at end of file -- cgit