//Section-3,Example-2,Page no.-EC.20 //To calculate the COD of the given sample. clc; V_b=27 V_t=6.5 N=0.1 V_e=25 COD=(((V_b-V_t)*N*8)/25) disp(COD,'Chemical Oxygen Demand(ppm)')