KNOWING COSINE RULE