From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 689/CH3/EX3.5/5.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 689/CH3/EX3.5/5.sce (limited to '689/CH3/EX3.5/5.sce') diff --git a/689/CH3/EX3.5/5.sce b/689/CH3/EX3.5/5.sce new file mode 100644 index 000000000..95c64eeb7 --- /dev/null +++ b/689/CH3/EX3.5/5.sce @@ -0,0 +1,13 @@ +clc; funcprot(0); +//Example 3.5 Speed of sound + +// Initialisation of variables +gma = 1.4; +P = 2116.2; +rho = 0.002378; + +// Calculations +a = sqrt(gma*P/rho); +//Results +disp(a , "Speed of sound in standard pressure 2116.2 lbper sq ft, and standard density 0.002378slug per cu ft. (in ft/sec):"); + -- cgit