You will write four functions for Searle's experiment. They follow the lesson.
The idea. For a wire of diameter and length , . A line through the origin fitted to the extension against the load has the slope , and then .
Your tasks.
area, return the area of cross-section of a wire of diameter d, in the same units as d squared.youngs_one, return from one pair of readings: load m in kg, extension dl in m, length L in m and diameter d in m.slope_origin, return the slope of the line through the origin: the sum of load times extension divided by the sum of load squared.youngs_slope, return from the slope in m/kg, the length and the diameter.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…