summaryrefslogtreecommitdiff
path: root/1388/CH5/EX5.18/5_18.sce
diff options
context:
space:
mode:
Diffstat (limited to '1388/CH5/EX5.18/5_18.sce')
-rwxr-xr-x1388/CH5/EX5.18/5_18.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1388/CH5/EX5.18/5_18.sce b/1388/CH5/EX5.18/5_18.sce
new file mode 100755
index 000000000..4948d1f4d
--- /dev/null
+++ b/1388/CH5/EX5.18/5_18.sce
@@ -0,0 +1,10 @@
+clc
+//initialisation of variables
+R= 0.08205 //cal/mol K
+v1= 0.0180//cc
+N= 0.9820
+T= 273.2
+//CALCULATIONS
+P= -R*T*log(N)/v1
+//RESULTS
+printf (' osmotic pressure = %.1f atm',P)