Solving trigonometric equation.
조회 수: 3 (최근 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개)
참고 항목
카테고리
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!