summaryrefslogtreecommitdiff
path: root/527/CH2/EX2.7
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /527/CH2/EX2.7
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '527/CH2/EX2.7')
-rwxr-xr-x527/CH2/EX2.7/2_7exam.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/527/CH2/EX2.7/2_7exam.sce b/527/CH2/EX2.7/2_7exam.sce
new file mode 100755
index 000000000..c8fd7ec68
--- /dev/null
+++ b/527/CH2/EX2.7/2_7exam.sce
@@ -0,0 +1,20 @@
+//Engineering and Chemical Thermodynamics
+//Example 2.7
+//Page no :63
+
+clear ; clc
+//Given data
+T1 = 298;
+T2_start = 300;
+A = 3.355;
+B = 0.575*10^-3;
+D = -0.016*10^5;
+
+function y = f(T),y = 8.314*[A*T + B/2*T^2 - D/T]
+endfunction;
+disp(" Example: 2.7 Page no : 63") ;
+for T2_start = 300:100:1000;
+ del_h = f(T2_start) - f(T1);
+ Cp = del_h /(T2_start - 298);
+ mprintf('\n At temperature(K) %g, Molar heat capacity (J/molK) %g',T2_start,Cp);
+end \ No newline at end of file