Solving trigonometric equation.
6 次查看(过去 30 天)
显示 更早的评论
Can anyone help me with the code to solve the function for x: 3*sin(150+x)=sin(150-x)
0 个评论
采纳的回答
KALYAN ACHARJYA
2023-1-3
编辑:KALYAN ACHARJYA
2023-1-3
You are suggested to go through MATLAB Onramp-
Seems like homework, still I have answered. It doesn't make sense without knowing how it works.
syms x
eq=3*sin(150+x)-sin(150-x)==0;
x=vpa(solve(eq,x))
Must check the function of solve and vpa, what does symbolic variable represents?
The Matlab Help function and the online Matlab documentation are very useful for brushing up on MATLAB.
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!