% O21
clear
constants

h = 35800e3;
r = R_E+h;
l = deg2rad(58.4);


% cosine rule
d = sqrt(R_E^2 + r^2 - 2*R_E*r*cos(l))

% elevation
e = acos(r/d*sin(l));
rad2deg(e)