Question: x=1; using newton-raphson method tol=0.01,write a c++ program my code is #include #include using namespace std; double f(double x) { return n(x)+sqrt(x)-2; // this is

x=1; using newton-raphson method tol=0.01,write a c++ program
my code is
#include
int main () { double x=0; double err; double tol=0.01; while (1) { err=f(x)/f1(x); x=x-err; cout In(1) + V1 -2 = 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
