blob: 6612b8ea5dd6fed14057f06e90ed442944c88ebf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
clc
//initialisation of variables
i= 20 //amp
t= 50 //min
F= 96500 //coloumb
we= 8 //gms
Mo= 32 //gms
M= 27 //gms
n= 3
//CALCULATIONS
nf= i*t*60/F
V= we*22.4/Mo*nf
G= M/n
q= G*nf
//RESULTS
printf (' volume of oxygen produced= %.2f lit',V)
printf (' \n quantity of aluminium produced= %.2f grams',q)
|