# Solving trigonometric equation.

5 vues (au cours des 30 derniers jours)
Auchitya le 3 Jan 2023
Can anyone help me with the code to solve the function for x: 3*sin(150+x)=sin(150-x)
##### 0 commentairesAfficher -2 commentaires plus anciensMasquer -2 commentaires plus anciens

Connectez-vous pour commenter.

### Réponse acceptée

KALYAN ACHARJYA le 3 Jan 2023
Modifié(e) : KALYAN ACHARJYA le 3 Jan 2023
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 commentairesAfficher -2 commentaires plus anciensMasquer -2 commentaires plus anciens

Connectez-vous pour commenter.

### Catégories

En savoir plus sur Common Operations dans Help Center et File Exchange

### Community Treasure Hunt

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

Start Hunting!

Translated by