Question: Write a C code that does the following 2. We want to find one of the roots of a cubic equation given by x3 +x-1=0
Write a C code that does the following
2. We want to find one of the roots of a cubic equation given by x3 +x-1=0 which is between 0 and 1 by an iterative method. Modify the equation above to r= Start with an appropriate initial value and do the iteration above until it is convergent. For example, x0 = 0.5 , x1-08-0.8 = 0.609, x3 = 1+0.609. X3 = 1-0 6092=0.728, K 1+0.52 1+0.8 ll .D.Ed19
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
