I need to write a code using bisect or false position to find all the roots of this function. I am lost. Don't know how to do it.
MATLAB: Find all the roots of the following function in the interval 0.5<=x<=5. f(x)=(2/x-x)cos(x)+0.0119. Each root must be accurate to a minimum of six significant figures. I really can't figure it out.
roots
Related Question
- How to find the roots of x*tan(x)-5=0
- Find the least positive root of the equation y=cos(sqrt(abs(polyval(p,x))))-sin(x)/2 with the use of fzero
- Transposing 5x5x5 matrix
- Grpahically find the lowest root of the function
- F(x)=sin(x)-x^5=0 providing x is not equals 0 ,function in the interval x [0,3]
- How to find roots of equation having tan(x) or exp(x)
- X = 0 to 5 decimal places
Best Answer