which is constrained to move inside a narrow frictionless cylinder