diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3012/CH11/EX11.6 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '3012/CH11/EX11.6')
-rwxr-xr-x | 3012/CH11/EX11.6/Ex11_6.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/3012/CH11/EX11.6/Ex11_6.sce b/3012/CH11/EX11.6/Ex11_6.sce new file mode 100755 index 000000000..acc0b5c1f --- /dev/null +++ b/3012/CH11/EX11.6/Ex11_6.sce @@ -0,0 +1,21 @@ +// Given:- +// Part(a) +v = 1.00/998.21 // specific volume of water in m^3/kg +T = 293.00 // given temperature in kelvin +beta = 206.6e-6 // volume expansivity in /K +k = 45.90e-6 // isothermal compressibility in /bar +// Interpolating in Table A-19 +cp = 4.188 // in kj/kg.k +// Calculations +cpv = (v*T*beta**2.00/k)*10**2 // in kj/kg.k +cv = cp-cpv // in kj/kg.k +errorPercentage = 100*(cp-cv)/cv +// Result +printf( ' The percentage error is: %.2f',errorPercentage) + +// Part(b) +// Calculations +K = cp/cv // specific heat ratio +c = ((K*v/k)*10**5)**0.5 // velocity of sound in m/s +// Result +printf( ' The velocity of sound is: %.2f m/s',c) |