Let's say I want to approximate $\sqrt 2$.
I, therefore, write my function $$ f(x) = x^2-2 = 0 $$
I define $x$ to be a discrete variable which can take values $\color{brown}{0, 0.1, 0.2, 0.3, 0.4, 0.5}$, etc.
Is there a Newton-Raphson method for solving this?
Kindly also explain the solution procedure by working out the problem.
Regards.
Solve the equation with infinitely small step interval using Newton-Raphson etc. and choose the root making smaller residue with finite interval.
If step is $h=0.1$ then
$$|(1.4^2 - 2)|< ( 1.5^2 - 2)|, $$
and so the nearest root is $x=1.4$;