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.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2020년 11월 8일

댓글:

2020년 11월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by