An Dynamic Error Compensation Math