I need help in numerical methods coding in Matlab!

f(x)=1/8(35x^4-30x^2+3)
This Function requires a solution for f(x) =0. You are requested to perform the following tasks:
Design a Matab script to solve f(x) =0 for x using the following numerical methods:
· Fixed point solution
· Newton Method
Your Matlab script needs to perform the following:
1. Plotting the function f(x) and determine the value x which satisfy f(x) =0 from the plot.
2. Implementing the fixed point algorithm and the Newton method for solving f(x)=0 using a for loop which calculates the value of x at each iteration.
3. Computing the absolute error at each iteration, plotting the value of x versus iteration number, plotting the error versus the iteration number and any other plots you feel necessary to show your results.
4. Repeating the above steps for a different initial value.

Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Products

Release

R2020a

Asked:

on 8 Nov 2020

Commented:

on 8 Nov 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!