MATLAB: I have the equation: sin(x)=cos(2x^2), [0,2]

write a fuction

How do I put this in as a matlab code to find four startvalues for x0. I know how to make regular functions, but cannot fin where to make this work

Best Answer

syms x ;
eqn = sin(x)-cos(2*x^2)==0 ;
sol = solve(eqn,x)
Related Question