INPUT VALUE UNIT
dInit
OUTPUT VALUE UNIT
dFinal to be calculated