A sphere of radius ρ is constrained to roll without slipping on the lower half of the inner surface of a hollow cylinder of inside radius R. Determine the Lagrangian function, the equation of constraint, and Lagrange's equations of motion. Find the frequency of small oscillations.