summaryrefslogtreecommitdiff
path: root/3876/CH8/EX8.1/Ex8_1.sce
blob: 513ac80ca362ea8a58a415a83c5ebea5bda3c0f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Chapter 8 Chemical Equlibrium

clc;
clear;

//Initialisation of Variables
x= 3.33
n= 5 //moles

//CALCULATIONS
N= x**2/(n-x)**2

//RESULTS
mprintf("Moles of water and ester formed= %.0f",N)