summaryrefslogtreecommitdiff
path: root/1427/CH4/EX4.4/4_4.sce
blob: a11c22f12ef5800755257678ebffe3098ff2dae0 (plain)
1
2
3
4
5
6
7
8
9
//ques-4.4
//Calculating BOD of sample
clc
o1=920;//Initial dissolved oxygen (in ppm)
o2=260;//Final dissolved oxygen (in ppm)
v1=100;//Waste water (in mL)
v2=100;//Distilled water (in mL)
ans=(o1-o2)*((v1+v2)/v1);//BOD
printf("BOD of given sample is %d ppm.",ans);