i calculated centripetal acceleration like this, because due to change of velocity, we follow a path like the black one. For each 3 position, we can find a circle passes through them like red, green, blue and yellow circles. Since dt is so small, these calculated circles must be quite accurate...