From base and height to sine

You already know that triangle area can be found with A=12×base×heightA = \frac{1}{2}\times \text{base}\times \text{height}A=21×base×height. In this sketch, CQ=aCQ = aCQ=a is the base and CP=bCP = bCP=b.

         P
        /|
       / |
    b /  | h
     /   |
    /    |
   C-----D------Q
   <------ a ------>

Angle CCC is between sides aaa and bbb. Dropping a perpendicular from PPP to the base at DDD gives the height PD=hPD = hPD=h. In right triangle CPDCPDCPD, sinC=PDCP=hb\sin C = \frac{PD}{CP} = \frac{h}{b}sinC=CPPD=bh, so h=bsinCh = b\sin Ch=bsinC. Substituting that into the usual area formula gives