7805 X=XD-FPD*(XE-XD)/(FPE-FPD)