Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

image text in transcribed

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 x) { return 1.000*exp(x)+435*(exp(x)-1)/x-1.564; } double f1(double x) { return 1.000*exp(x)+435*(exp(x)/x-exp(x)-1/x*x); }

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

How Good Are My Listening Skills? (II. A. 2.)

Answered: 1 week ago

Question

a b c or d is incorrect please help What structure is wrong? .OH OH

Answered: 1 week ago

Question

Discuss the Hawthorne experiments in detail

Answered: 1 week ago

Question

Explain the characteristics of a good system of control

Answered: 1 week ago

Question

State the importance of control

Answered: 1 week ago

Question

What are the functions of top management?

Answered: 1 week ago