Sine and Cosine Formulae and their Applications