What we are solvingDerive the Newton–Raphson formula for the kth root of NDraw a flow chart that computes it to three decimal places, then dry-run it for N = 13, x₀ = 1.6, k = 4Chapter: Numerical methodsTopic: Newton–Raphson method, flow chartsConcept and formulasNewton–Raphson formula for a root of f(x) = 0xn+1=xn−f′(xn)f(xn)The kth root of N is the positive root of xk=N(a)(4 marks)Let x=kN, so xk−N=0f(x)=xk−N,f′(x)=kxk−1xn+1=xn−kxnk−1xnk−Nxn+1=kxnk−1kxnk−xnk+Nxn+1=kxnk−1(k−1)xnk+N,n=0,1,2,…(b)(5 marks)Stop when two successive values differ by less than 0.0005 (three decimal places)
(c)(3 marks)With k = 4 and N = 13xn+1=4xn33xn4+13
x0
x1
∣x1−x0∣
Stop?
1.6
1.993457
0.393457
No
1.993457
1.905356
0.088101
No
1.905356
1.898862
0.006494
No
1.898862
1.898829
0.000033
Yes
Output: N = 13, fourth root = 1.899Answer: (a) shown above (b) flow chart as drawn (c) N = 13, ⁴√13 ≈ 1.899Tip: Check: 1.899⁴ ≈ 13.00