summaryrefslogtreecommitdiff
path: root/3876/CH9/EX9.8/Ex9_8.sce
blob: 479550272b8991553a7a6e2781a2e8af84b9e121 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//Chapter 9 Ionic Equilibria and Buffer Action

clc;
clear;

//Initialisation of Variables
Ksp= 1.4*10**-11
V= 200 //ml
M= 24.3 ///gms

//CALCULATIONS
x= (Ksp/4)**(1/3)
m= x*M*V/1000

//RESULTS
mprintf("Grams of Mg+2 present = %.1e gms per mol",m)