How can i find unknown variable with solve command?

al=60; be=45; b=2;
(a-b)/(a+b))=tand(0.5*(al-be))/(tand(0.5*(al+be)))
Guys how can i find 'a' variable with solve command? its 0.3371 but i didnt find this result
Thank you

 Réponse acceptée

According to your equation, the result is different:
>> syms a
al=60;be=45;b=2;
sol=solve((a-b)/(a+b)==tand(0.5*(al-be))/(tand(0.5*(al+be))),a);
vpa(sol)
ans =
2.4494897427831780468913375175721

Plus de réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by