blob: 49168b9792198b59675e73c09e89b00f1180faaf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)
|