summaryrefslogtreecommitdiff
path: root/1388/CH5/EX5.16/5_16.sce
blob: 26cdb58bbd646582c4c75a45656576f0e370a6d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clc
//initialisation of variables
n= 100
K= 2
V= 100 //ml
V2= 1000 //ml
n= 10
n1= 100
//CALCULATIONS
x= (K*V/(K*V+(V2/n)))^n
y= (K*V/(K*V+(V2/n1)))^n1
//RESULTS
printf (' fraction of impurity = %.4f ',x)
printf (' \n fraction of impurity = %.4f ',y)