summaryrefslogtreecommitdiff
path: root/3825/CH3/EX3.3/Ex3_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3825/CH3/EX3.3/Ex3_3.sce')
-rw-r--r--3825/CH3/EX3.3/Ex3_3.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3825/CH3/EX3.3/Ex3_3.sce b/3825/CH3/EX3.3/Ex3_3.sce
new file mode 100644
index 000000000..27f7c2b44
--- /dev/null
+++ b/3825/CH3/EX3.3/Ex3_3.sce
@@ -0,0 +1,13 @@
+clc
+Pc=46.41*10^5 //pressure for methane in Pascals
+Tc=190.7 //temperature for methane in kelvin
+P=60*10^6 //methane pressure in pascals
+T=300 //methane temperature in kelvins
+Pr=P/Pc
+mprintf("Pr=%f\n",Pr)//ans may vary due to roundoff error
+Tr=T/Tc
+mprintf("Tr=%f\n",Tr)//ans may vary due to roundoff error
+Z=1.34
+R=8.314*10^3
+v=Z*R*T/P //volume of cylinder for storage
+mprintf("v=%fmetre-cube/kmol",v)//ans varies due to roundoff error