Numerical Methods in Context

01Numerical Methods in Context

Solving Model Equations

This section covers forming model equations, applying numerical methods and checking a solution in context.

Turn the context into an equation

Numerical methods provide approximate solutions to model equations when the usual algebraic methods are not practical. The context may involve motion, temperature, populations or a changing value.

  1. Identify the unknown, the given parameter values and any allowed range.
  2. Write the required condition as an equation. For root-finding, put it in the form f(x)=0f(x)=0 and use the specified method and starting value.
  3. Check the requested accuracy, then state what the solution represents in the original situation.

A question may combine methods: an iteration gives an approximation, while a change of sign can verify its accuracy.

Worked example: an angle in an orbital model

A model relates two angles, MM and EE, measured in radians:

M=E−0.1sin⁡E.M=E-0.1\sin E.

For M=π6M=\frac{\pi}{6}, determine kk in f(x)=x−0.1sin⁡x−kf(x)=x-0.1\sin x-k, use one Newton-Raphson step from x0=0.6x_0=0.6, and justify the value of EE to three decimal places.

Set up the equation. Substituting the given value of MM gives

E−0.1sin⁡E−π6=0,k=π6.E-0.1\sin E-\frac{\pi}{6}=0,\qquad k=\frac{\pi}{6}.

Calculate the next approximation. With f(x)=x−0.1sin⁡x−π6f(x)=x-0.1\sin x-\frac{\pi}{6},

f′(x)=1−0.1cos⁡x,f'(x)=1-0.1\cos x,

x1=0.6−0.6−0.1sin⁡(0.6)−π/61−0.1cos⁡(0.6)=0.5782695….\begin{aligned} x_1&=0.6-\frac{0.6-0.1\sin(0.6)-\pi/6}{1-0.1\cos(0.6)}\\ &=0.5782695\ldots. \end{aligned}

Verify the rounding. Test the two boundaries of the interval that rounds to 0.5780.578:

Boundary xxf(x)f(x), approximatelySign
0.57750.5775−0.00069188-0.00069188Negative
0.57850.57850.000224360.00022436Positive

The function is continuous between these boundaries, so the sign change establishes a root with 0.5775<E<0.57850.5775\lt E\lt0.5785. Therefore, the model gives E≈0.578E\approx0.578 radians, correct to three decimal places.

Exam Tip: When x0x_0 is the first approximation, the second approximation is x1x_1: apply the formula once. Keep the calculator in radians for this model, and show the two signed function values when justifying the stated accuracy.

Create a free account to continue

Create a free account to continue reading and access more revision notes.