Question: these are equtions from analytical solution. I tried to write newton-raphonson method using c++ .my code is below #include #include using namespace std; double f(double


these are equtions from analytical solution. I tried to write newton-raphonson method using c++ .my code is below
#include
int main () { double x=1.0; double err; double tol=0.001; while (1) { err=f(x)/f1(x); x=x-err; cout
but something is error could you solve my fault ?
Use Newton's method to find an approximation for X, accurate to within 10-4, for the population 1,564,000 = 1,000,000e4+ 135, tel 8(2)- (-156400 1000 + 435.0000 -1) 5'(2) = 1000000e + 435000 e
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
