summaryrefslogtreecommitdiff
path: root/3825/CH5/EX5.6
diff options
context:
space:
mode:
Diffstat (limited to '3825/CH5/EX5.6')
-rw-r--r--3825/CH5/EX5.6/Ex5_6.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3825/CH5/EX5.6/Ex5_6.sce b/3825/CH5/EX5.6/Ex5_6.sce
new file mode 100644
index 000000000..a82734526
--- /dev/null
+++ b/3825/CH5/EX5.6/Ex5_6.sce
@@ -0,0 +1,22 @@
+clc
+R=8.314
+T=300
+a=422.546
+b=0.0373
+v1=30
+v2=5
+W=integrate('((R*T)/(v-b))-(a/(v.^2))','v',v1,v2)
+mprintf("W=%fkJ/kmol\n",W)//ans may vary due to roundoff error
+deltaU=a*(1/v1-1/v2)
+mprintf("U2-U1=%fkJ/kmol\n",deltaU)//ans vary due to roundoff error
+Q=deltaU+W
+mprintf("Q=%fkJ/kmol\n",Q)//ans vary due to roundoff error
+
+
+
+
+
+
+
+
+