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

 采纳的回答

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

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by