When I try to solve the symbolic trigonometric expression, I am not getting desired results even results exist.
The MATLAB code is written as follow:
clear all
clc
syms nq lam alfa ai theta phi del kv H gma
kagq=((1+nq-lam*nq*(tan(alfa)-tan(ai)))*sin(alfa+theta-phi))/(cos(theta)*cos(alfa-phi+del)*(tan(alfa)-tan(ai)));
Sa=0.5*gma*(1-kv)*H^2*kagq;
A=diff(Sa,alfa)
pretty(A)
solve(A,tan(alfa))