what two factors affect the rate of acceleration of an object ?