blob: e1998f13feca9728e4b66230f1daf9ee6f1afc7f (
plain)
1
2
3
4
5
6
7
8
9
10
|
//example 1.5
//page 14
clc; funcprot(0);
//initialisation of variable
T=68+460;//degree R
R=1716;
kappa=1.4//value from table
c=(kappa*T*R)^(0.5);
disp(c,"velocity of sound(ft/s)=");
clear
|