##lubricants##
##example 3.7.1##
import math
wt_oil=5.##weight f oil saponified(gms)##
blank=45.##volume blank titration reading(ml)##
back=15.##volume back titration reading(ml)##
volume=blank-back##volume of alcoholic KOH consumed(ml)##
normality_KOH=0.5##normality of KOH##
S=volume*normality_KOH*56./wt_oil##formula for saponification value##
print'%s %.2f %s'%("\nSaponification value of oil is ",S," mgs KOH");
##lubricants##
##example 3.7.2##
import math
S=180.##Saponification value of oil##
wt_oil=1.##weight f oil saponified(gms)##
blank=50.##volume blank titration reading(ml)##
normality_KOH=0.4##normality of KOH ##
volume=S*wt_oil/(normality_KOH*56.)##formula for saponification value##
back=blank-volume##volume of alcoholic KOH consumed(ml)##
print'%s %.2f %s'%("\nQuantity of alcoholic KOH required per gm is ",back," ml");
##lubricants##
##example 3.7.3##
import math
wt_oil=5.##weight f oil saponified(gms)##
blank=50.##volume blank titration reading(ml)##
back=15.##volume back titration reading(ml)##
volume=blank-back##volume of alcoholic KOH consumed(ml)##
normality_KOH=0.5##normality of KOH ##
S=volume*normality_KOH*56./wt_oil##formula for saponification value##
print'%s %.2f %s'%("\nSaponification value of oil is ",S," mgs KOH");
##lubricants##
##example 3.7.4##
import math
wt_oil=2.5##weight f oil saponified(gms)##
blank=40.##volume blank titration reading(ml)##
back=20.##volume back titration reading(ml)##
normality_KOH=0.25##normality of KOH ##
normality_HCl=.5##normality of HCl##
e=normality_HCl/normality_KOH##for equivalence in titration ##
volume=(blank-back)*e##volume of alcoholic KOH consumed(ml)##
S=volume*normality_KOH*56./wt_oil##formula for saponification value##
print'%s %.2f %s'%("\nSaponification value of oil is ",S," mgs KOH");
##lubricants##
##example 3.7.5##
import math
wt_oil=5.##weight f oil saponified(gms)##
blank=40.##volume blank titration reading(ml)##
back=10.##volume back titration reading(ml)##
strength_KOH=1.4/50##strength of KOH (gm/ml)##
normality_KOH=strength_KOH*1000.##normality of KOH##
normality_HCl=.5##normality of HCl##
e=normality_HCl/normality_KOH##for equivalence in titration##
volume=(blank-back)*e##volume of alcoholic KOH consumed(ml)##
S=volume*normality_KOH*56./wt_oil##formula for saponification value##
print'%s %.2f %s'%("\nSaponification value of oil is ",S," mgs KOH");
##lubricants##
##example 3.7.6##
import math
wt_oil=5.##weight f oil saponified(gms)##
blank=50.##volume blank titration reading(ml)##
back=25.##volume back titration reading(ml)##
volume=blank-back##volume of alcoholic KOH consumed(ml)##
normality_KOH=0.5##normality of KOH ##
S=volume*normality_KOH*56./wt_oil##formula for saponification value##
print'%s %.2f %s'%("\nSaponification value of oil is ",S," mgs KOH");
##lubricants##
##example 3.7.7##
import math
wt_oil=1.55##weight f oil saponified(gms)##
blank=26.##volume blank titration reading(ml)##
back=15.##volume back titration reading(ml)##
volume=blank-back##volume of alcoholic KOH consumed(ml)##
normality_KOH=1./2.##normality of KOH ##
S=volume*normality_KOH*56./wt_oil##formula for saponification value##
print'%s %.2f %s'%("\nSaponification value of oil is ",S," mgs KOH");
##lubricants##
##example 3.7.8##
import math
wt_oil=5.##weight f oil saponified(gms)##
blank=52.##volume blank titration reading(ml)##
back=20.##volume back titration reading(ml)##
volume=blank-back##volume of alcoholic KOH consumed(ml)##
normality_KOH=0.5##normality of KOH ##
S=volume*normality_KOH*56./wt_oil##formula for saponification value##
print'%s %.2f %s'%("\nSaponification value of oil is ",S," mgs KOH");
##lubricants##
##example 3.7.9##
import math
S_C=192.##Saponification value of castor oil##
wt_oil=16.##weight f oil saponified(gms)##
blank=45.##volume blank titration reading(ml)##
back=31.5##volume back titration reading(ml)##
volume=blank-back##volume of alcoholic KOH consumed(ml)##
N_H=0.5##normality of HCl in titration##
V_H=blank##volume of HCl in titration(ml)##
V_K=50.##volume of KOH in titration(ml)##
N_K=N_H*V_H/V_K##normality of KOH for equivalence##
S_blended=volume*N_K*56./wt_oil##formula for saponification value##
print'%s %.2f %s'%("\nSaponification value of blended oil is ",S_blended," mgs KOH")
pc_C=(S_blended/S_C)*100.
print'%s %.2f %s'%("\npercentage of castor oil in blend is ",pc_C," percent");
##lubricants##
##example 3.7.9.A##
import math
wt_oil=1.55##weight f oil saponified(gms)##
blank=20.##volume blank titration reading(ml)##
back=15.##volume back titration reading(ml)##
volume=blank-back##volume of alcoholic KOH consumed(ml)##
normality_KOH=0.5##normality of KOH ##
S=volume*normality_KOH*56./wt_oil##formula for saponification value##
print'%s %.2f %s'%("\nSaponification value of oil is ",S," mgs KOH");
##lubricants##
##example 3.7.9.B##
import math
wt_oil=3.##weight f oil saponified(gms)##
blank=36.##volume blank titration reading(ml)##
back=12.##volume back titration reading(ml)##
volume=blank-back##volume of alcoholic KOH consumed(ml)##
normality_KOH=0.5##normality of KOH ##
S=volume*normality_KOH*56./wt_oil##formula for saponification value##
print'%s %.2f %s'%("\nSaponification value of oil is ",S," mgs KOH");
##lubricants##
##example 3.7.10##
import math
wt_oil=2.5##weight f oil saponified(gms)##
volume=2.5##volume of alcoholic KOH consumed to neutralize fatty acids(ml)##
normality_KOH=(1./100.)##normality of KOH ##
A=volume*normality_KOH*56./wt_oil##formula for acid value##
print'%s %.2f %s'%("\nAcid value of oil is ",A," mgs KOH");
##lubricants##
##example 3.7.11##
import math
wt_oil=10.##weight f oil saponified(gms)##
volume=.2##volume of alcoholic KOH consumed to neutralize fatty acids(ml)##
normality_KOH=0.02##normality of KOH ##
A=volume*normality_KOH*56./wt_oil##formula for acid value##
print'%s %.2f %s'%("\nAcid value of oil is ",A," mgs KOH");
##lubricants##
##example 3.7.12##
import math
wt_oil=4.45##weight f oil saponified(gms)##
volume=2.5##volume of alcoholic KOH consumed to neutralize fatty acids(ml)##
normality_KOH=0.01##normality of KOH ##
A=volume*normality_KOH*56./wt_oil##formula for acid value##
print'%s %.2f %s'%("\nAcid value of oil is ",A," mgs KOH");
if A<=0.1:
print("\nOil can be used for lubrication");
else:
print("\nOil cannot be used for lubrication");
##lubricants##
##example 3.7.13##
import math
volume_oil=5.##volume of oil titrated(ml)##
density_oil=0.92##density of oil titrated##
wt_oil=volume_oil*density_oil##weight f oil saponified(gms)##
volume=2.##volume of alcoholic KOH consumed to neutralize fatty acids(ml)##
normality_KOH=0.01##normality of KOH ##
A=volume*normality_KOH*56./wt_oil##formula for acid value##
print'%s %.2f %s'%("\nAcid value of oil is ",A," mgs KOH");
##lubricants##
##example 3.7.14##
import math
volume_oil=9.##volume of oil titrated(ml)##
density_oil=0.81##density of oil titrated##
wt_oil=volume_oil*density_oil##weight f oil saponified(gms)##
volume=3.75##volume of alcoholic KOH consumed to neutralize fatty acids(ml)##
normality_KOH=0.1##normality of KOH ##
A=volume*normality_KOH*56./wt_oil##formula for acid value##
print'%s %.2f %s'%("\nAcid value of oil is ",A," mgs KOH");
##lubricants##
##example 3.7.15##
import math
volume_oil=20.##volume of oil titrated(ml)##
density_oil=0.86##density of oil titrated##
wt_oil=volume_oil*density_oil##weight f oil saponified(gms)##
volume=2.5##volume of alcoholic KOH consumed to neutralize fatty acids(ml)##
normality_KOH=0.1##normality of KOH ##
A=volume*normality_KOH*56./wt_oil##formula for acid value##
print'%s %.2f %s'%("\nAcid value of oil is ",A," mgs KOH");
##lubricants##
##example 3.7.16##
import math
wt_oil=3.##weight f oil saponified(gms)##
volume=.2##volume of alcoholic KOH consumed to neutralize fatty acids(ml)##
normality_KOH=0.025##normality of KOH ##
A=volume*normality_KOH*56./wt_oil##formula for acid value##
print'%s %.2f %s'%("\nAcid value of oil is ",A," mgs KOH");
##lubricants##
##example 3.7.17##
import math
volume_oil=7.##volume of oil titrated(ml)##
density_oil=0.885##density of oil titrated##
wt_oil=volume_oil*density_oil##weight f oil saponified(gms)##
volume=3.8##volume of alcoholic KOH consumed to neutralize fatty acids(ml)##
normality_KOH=1./20.##normality of KOH ##
A=volume*normality_KOH*56./wt_oil##formula for acid value##
print'%s %.2f %s'%("\nAcid value of oil is ",A," mgs KOH");