Question 890942
Based on your information,
{{{drawing(300,300,-2,8,-2,8,line(0,0,0,5),line(0,5,7,0),line(7,0,0,0),locate(0.3,0.75,A),locate(0.3,4.5,B),locate(5.1,0.75,C),locate(-1,2.5,sh),locate(2.4,-0.5,rh),locate(4,3.2,h))}}}
.
.
.
{{{sin(B)=(rh)/h=r}}}
{{{cos(B)=(sh)/h=s}}}
and
{{{sin(C)=(sh)/h=s}}}
{{{cos(C)=(rh)/h=r}}}
and
{{{sin(C)-cos(C)=s-r}}}