Open the calculator on your phone, type 3 and press the square-root key. 1.7320508 appears before your finger has left the glass. A calculator can find a square root this way, with no table of roots inside: make a guess, check how wrong it is, correct it, repeat. Four or five rounds of that and the guess is right to eight digits. The same habit of guess, check, improve sits behind much of what computers do with numbers: finding where a curve crosses zero, solving a hundred equations together, estimating a value that falls between two entries of a table, measuring a plot with a curved edge, deciding how many trays of cake a bakery should bake, and teaching a machine-learning model by nudging it downhill a little at a time.
These are the topics of numerical methods and optimisation. They are a small corner of the Mathematics papers for technical posts, but a very predictable one. The 49th BCS Special papers alone asked the bisection method, the power method, Gauss-Seidel, Newton's backward formula, the first-order optimiser and random search, and the written papers have asked for the root of x² − 3 = 0 on [1, 2] and for interpolation and error.
By the end of the chapter you'll be able to measure an error and say how many digits of an answer can be trusted. You'll trap a root between two points and shrink the trap by bisection or false position, and you'll run Newton-Raphson, including its square-root and cube-root forms, and say when it fails. You'll solve a small linear system by Gauss-Seidel and find the largest eigenvalue by the power method. You'll build a difference table and interpolate with Newton's forward and backward formulas or with Lagrange's, estimate an area with the trapezoidal and Simpson's rules and say how wrong you are, solve a linear programming problem by the corner method and read a simplex table, and run gradient descent and explain why it can stop in the wrong valley.