Computer engineering · also MathematicsLevel 4 · Systems Engineer
Root finding and iterative methods
Many engineering equations, such as the speed at which a motor's torque exactly balances its load, have no neat formula, so they are solved by iteration: start with a guess and improve it until it is good enough. The bisection method needs two points where the function has opposite signs; it halves that bracket each step, gaining one binary digit of accuracy per step, and cannot fail on a continuous function. Newton's method follows the tangent line from the current guess to where it crosses zero and, near a root, roughly doubles the number of correct digits per step, but it can diverge, cycle or meet a zero slope. Robust code limits the number of steps, checks a tolerance and reports failure instead of looping forever.
Why it mattersFinding the steady speed of a robot's drive motor means solving for the point where motor torque and load torque balance, which is a root-finding problem.