A uniform ladder leans on a smooth wall. The shallower it leans, the more friction its foot needs. You will make the program find the least coefficient of friction at every angle, the shallowest safe angle for a floor with , and the same with a person standing at the top.
The idea. Torques about the foot give the wall's push; friction must balance it. For the ladder alone, . With a person three times the ladder's weight at the top, .
Your tasks.
mu_alone at every angle in angles.mu_person at every angle, and the smallest safe angle for it.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…