How to solve trignometric equation?
2 次查看(过去 30 天)
显示 更早的评论
Hi all
Could someone please let me know how to solve this equation?
tan19 = 2*cot(x)[(9*sin(x)^2 - 1)/((9*(1.4 + cos(x)^2) + 2)]
Thank you
2 个评论
Star Strider
2021-7-21
There are likely an infinity of solutions —
syms x
figure
fplot(tand(19) - 2*cotd(x)*(9*sind(x)^2-1)/(9*(1.4*cosd(x)^2)+2), [-3600 3600])
grid
xlabel('x°')
ylabel('f(x)')
.
回答(1 个)
Mudit Chaturvedi
2021-7-21
Hi!
I understand you are trying to solve a trignometric equation.
You can use the solve function, in particular you need to check the section about solving an equation in a variable 'x' for the variable itself.
sol = solve(eqn,x) %where x is the variable and eqn is the equation (ax = b) written as a*x == b
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!