From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 527/CH2/EX2.7/2_7exam.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 527/CH2/EX2.7/2_7exam.sce (limited to '527/CH2/EX2.7') 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 -- cgit