summaryrefslogtreecommitdiff
path: root/2381/CH7/EX7.8/ex_8.sce
blob: 410905fe2c498be8ed2dbf0e971c1febb7f5be87 (plain)
1
2
3
4
5
6
7
8
9
10
//Example 8 //  Velocity of sound
clc;
clear;
close;
//given data :
lamda1=1;// in m
lamda2=1.01;// in m
a=10/3;// in beats/sec
v=a/((lamda2-lamda1)/(lamda1*lamda2));
disp(v,"The velocity of sound,v(m/s) = ")