using the principle of inertia