Question: You are to solve two simultaneous equations using the Newton-Raphson Method. Three problem options are listed below. The option you are to use is determined
You are to solve two simultaneous equations using the Newton-Raphson Method.
Three problem options are listed below. The option you are to use is determined by X, where X = (the last four digits of your student id number) % 3
Instructions:
Determine the solution equation for your problem option.
Write C++ code using the Newton-Raphson method of equation solution to solve your equation.
Your output should display columns showing each iteration of the process: The column headings should include the current value of x, f(x), f'(x), the error and the next better guess.
Display the final correct solution with appropriate message.
Construct a graph of the two equations and the solution equation in a program such as Excel.
Graphically show the progress of your algorithm for at least two iterations of the process.
Put your source code and the program output into a text document (either .doc or .txt), making sure that the formatting is up to C++ standards and professional in appearance. Make sure that you have a header that includes your name, the class identifier, and the lab number.
Problem Options:
X Two Simultaneous Equations
0 f1(x) = x2 + 3x -10
f2(x) = 2/3x -1
1 f1(x) = - x2 -3x + 10
f2(x) = -1/2 x + 1
2 f1(x) = x2 + 7x + 10
f2(x) = 1/3 x + 5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
