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 /1571/CH3/EX3.14 | |
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 '1571/CH3/EX3.14')
-rwxr-xr-x | 1571/CH3/EX3.14/Chapter3_Example14.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/1571/CH3/EX3.14/Chapter3_Example14.sce b/1571/CH3/EX3.14/Chapter3_Example14.sce new file mode 100755 index 000000000..50958c635 --- /dev/null +++ b/1571/CH3/EX3.14/Chapter3_Example14.sce @@ -0,0 +1,18 @@ +clc
+clear
+
+//INPUT DATA
+cp=1.25;//specific heat of helium inkj/kg-K
+v=1000;//volume of the gas in ml
+w=0.1785;//mass of the gas at N.T.P in gm
+p=76*13.6*981;//pressure of the gas at N.T.P in dynes
+T=273;//temperature at N.T.P in K
+
+//CALCULATIONS
+V=1000/w;//volume occupied by the 1gm of helium gas in cc
+cv=cp/1.66;//specific heat at constant volume it is monatomuc gas kj/kg-K
+r=p*V/T;//gas constant in cm^3.atm./K.mol
+J=r/(cp-cv);//mechanical equivalent of heat in erg/cal
+
+//OUTPUT
+mprintf('the mechanical equivalent of heat is %3.2f ergs/calories',J)
|