MATLAB: How can i find unknown variable with solve command

solve

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

Best Answer

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