triangle with angles cos A-cos B+sin C=0