summaryrefslogtreecommitdiff
path: root/647/CH5/EX5.17/Example5_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '647/CH5/EX5.17/Example5_17.sce')
-rwxr-xr-x647/CH5/EX5.17/Example5_17.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/647/CH5/EX5.17/Example5_17.sce b/647/CH5/EX5.17/Example5_17.sce
new file mode 100755
index 000000000..c22cdc243
--- /dev/null
+++ b/647/CH5/EX5.17/Example5_17.sce
@@ -0,0 +1,18 @@
+clear;
+clc;
+
+// Example: 5.17
+// Page: 170
+
+printf("Example: 5.17 - Page: 170\n\n");
+
+// Solution
+
+//*****Data*****//
+deff('[y] = Cp(T)','y = 7.25 + 2.28*10^(-3)*T');
+T1 = 273 + 137;// [K]
+T2 = 273 + 877;// [K]
+//************//
+
+deltaS = integrate('Cp(T)/T','T',T1,T2);// [cal/K]
+printf("Change in Entropy is %.3f cal/K",deltaS); \ No newline at end of file