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 --- 896/CH8/EX8.2/2.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 896/CH8/EX8.2/2.sce (limited to '896/CH8/EX8.2/2.sce') diff --git a/896/CH8/EX8.2/2.sce b/896/CH8/EX8.2/2.sce new file mode 100755 index 000000000..3eaf9a28e --- /dev/null +++ b/896/CH8/EX8.2/2.sce @@ -0,0 +1,12 @@ +clc +//Example 8.2 +//Calculate the speed of sound in air at 20 C +R=10.73//lbf.ft^3/in^2/lbmol/R +//1 ft = 12 in +//1 lbf.s^2 = 32.2 lbm.ft +R1=(R*144*32.2)^0.5//ft/s*(lbm/lbmol/R)^0.5 +k=1.4//dimentionless +T=528//R (Rankine temperature scale) +M=29//lbm/lbmol +c=R1*(k*T/M)^0.5//ft/s +printf("the speed of sound in air at 20 C is %f ft/s",c); \ No newline at end of file -- cgit