blob: f110b6f19dc63628bce6588fb19082af42baa758 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clc; funcprot(0);
//Example 3.4 On Speed of sound
// Initialisation of variables
gma = 1.4;
g = 32.174;
R = 53.351;
T = 59+459.4;
// Calculations
a = sqrt(gma*g*R*T);
//Results
disp(a , "Speed of sound in standard temperature 59 degree farenheit (ft/sec):");
|