Evaluate zeros of a symbolic trigonometric function

7 views (last 30 days)
Hi,
I'm trying to find the zeros for this symbolic function:
2*cos(x) + x*sin(x) -2 == 0
is there a way to do it in MatLab?
Many thanks

Answers (1)

Aveek Podder
Aveek Podder on 21 Feb 2018
Hi,
You can use ' solve' command to solve the equation.For more information on ' solve', please have a look at the following link: https://www.mathworks.com/help/symbolic/solve.html
You can also use ' fsolve' and ' fzero' to solve nonlinear equations.For more information please have a look at the following links:

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!