summaryrefslogtreecommitdiff
path: root/3648/CH14/EX14.1/Ex14_1.sce
blob: bb06fed9850065b0d621e0ceac91b87ec554ec83 (plain)
1
2
3
4
5
6
7
8
9
10
//Example 14_1
clc();
clear;
//To find the speed of sound in neon
gama=1.66       //units in Constant
r=8314      //Units in J/Kmol
t=273       //Units in K
m=20.18  //Units in Kg/Kmol
v=sqrt((gama*r*t)/m)      //Units in meters/sec
printf("The speed of the sound in neon is v=%d meters/sec",v)