From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3825/CH7/EX7.18/Ex7_18.sce | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 3825/CH7/EX7.18/Ex7_18.sce (limited to '3825/CH7/EX7.18/Ex7_18.sce') diff --git a/3825/CH7/EX7.18/Ex7_18.sce b/3825/CH7/EX7.18/Ex7_18.sce new file mode 100644 index 000000000..c426883db --- /dev/null +++ b/3825/CH7/EX7.18/Ex7_18.sce @@ -0,0 +1,11 @@ +clc +T1=350 +Te1=450 +Te2=250 +P1=250 +P2=100 +R=8.314 +Cp=(7*R)/2 +me1=(Cp*log(Te1/T1))-(R*log(P2/P1)) +me2=(Cp*log(Te2/T1))-(R*log(P2/P1)) +mprintf("me1(se1-si)+me2(se2-si)=%fkJ/K",me1+me2)//ans vary due to roundoff error -- cgit