Calculation For Acceleration