A mass m is released from the top of a vertical circular track of radius r with a horizontal speed v0. Find angle θ where it leaves the contact with circular track.