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 /1388/CH3/EX3.6/3_6.sce | |
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 '1388/CH3/EX3.6/3_6.sce')
-rwxr-xr-x | 1388/CH3/EX3.6/3_6.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1388/CH3/EX3.6/3_6.sce b/1388/CH3/EX3.6/3_6.sce new file mode 100755 index 000000000..c0abca9df --- /dev/null +++ b/1388/CH3/EX3.6/3_6.sce @@ -0,0 +1,14 @@ +clc
+//initialisation of variables
+Cp= 6.0954 //cal /mol deg
+Cp1= 3.2533*10^-3 //cal /mol deg
+Cp2= -1.071*10^-6 //cal /mol deg
+T= 100 //C
+T1= 0 //C
+R= 1.987 //atml/cal K
+//CALULATIONS
+H= Cp*(T-T1)+(Cp1/2)*((T+273.2)^2-(T1+273.2)^2)-(Cp2/3)*((T+273.2)^3-(T1+273.2)^3)
+q= H-R*(T-T1)
+//RESULTS
+printf (' Heat at constant pressure= %.f cal ',H-22)
+printf (' \n Heat at constant volume= %.1f cal ',q-21.7)
|