We use numerical methods when
i) f(x) is known analytically but is too complicated to integrate analytically or
ii) f(x) is known only as a table of data.