MuPAD® numeric solver can't find the answer

1 view (last 30 days)
Jack
Jack on 1 Apr 2014
hello, all:
I am trying to solve a equation using the MuPAD. The equation is 5*sin(2*pi*x)-5*x=0 when I use the: fsolve(@(x)5*sin(2*pi*x)-5*x,0.6), the answer is 0.429. However, if I use the MuPAD: evalin(symengine, 'numeric::solve(5*sin(2*pi*x) = 5*x, x = 0..1)'), the answer is 0.0 anyone know what cause this happen ? thanks in advance

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!