How to solve trignometric equation?
1 view (last 30 days)
Show older comments
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 Comments
Star Strider
on 21 Jul 2021
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)')
.
Answers (1)
Mudit Chaturvedi
on 21 Jul 2021
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 Comments
See Also
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!