Sliding down a plane **
(a) A block starts at rest and slides down a frictionless plane inclined at an angle θ. What should θ be so that the block travels a given horizontal distance in the minimum amount of time?
(b) Same question, but now let there be a coefficient of kinetic friction μ between the block and the plane.