I have the following non-linear equation:
where $w0=0.25,w0=0.5,w0=0.75$. I have to prove that if $k$ is a root, then also $−k$ is a root and that there exists only one $k∈(0,1)$ root, but my MATLAB code doesn't return any solution.
Using wolframalpha I have computed the derivative of w0 and obtained, the constants w0=0.25=0.5=0.75 were ignored.
In MATLAB I have the following function to compute the roots of non-linear equations:
And my test file looks like this:
Any idea to make my code functional is appreciated.