Question: USING MICROSOFT VISUAL STUDIO 2. Given a function f(x) = 0.5x3 4x2 + 6x 2. a) Write a C++ code to calculate numerically the roots
USING MICROSOFT VISUAL STUDIO 
2. Given a function f(x) = 0.5x3 4x2 + 6x 2. a) Write a C++ code to calculate numerically the roots of the equation. Use Newton- Raphson method. (8 marks) b) Explain what happen when the initial guess is at (i) 4.5 and (ii) 4.43. (4 marks) c) Plot the function. (4 marks) d) Explain your findings. (4 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
