calculate basicc trigonometric functions


  sine of angle = opposite / hypotenuse
  cosine of angle = adjacent / hypotenuse
  tangent of angle = opposite / adjacent