summaryrefslogtreecommitdiff
path: root/3876/CH8/EX8.2/Ex8_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3876/CH8/EX8.2/Ex8_2.sce')
-rw-r--r--3876/CH8/EX8.2/Ex8_2.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3876/CH8/EX8.2/Ex8_2.sce b/3876/CH8/EX8.2/Ex8_2.sce
new file mode 100644
index 000000000..49168b979
--- /dev/null
+++ b/3876/CH8/EX8.2/Ex8_2.sce
@@ -0,0 +1,19 @@
+//Chapter 8 Chemical Equlibrium
+
+clc;
+clear;
+
+//Initialisation of Variables
+n= 1 //mole
+x= 3
+y= 4
+
+//CALCULATIONS
+r= x**2/n**2
+z= n/x
+n= n+z
+n1= x-z
+
+//RESULTS
+mprintf("Moles of acid and alcohol= %.2f moles",n)
+mprintf("\nMoles of ester and water= %.2f moles",n1)