school

thing1's amazing school repo
Log | Files | Refs | Submodules | README

cosineRule (243B)


      1 trig rule, used to find missing sides on a triangle
      2 
      3 a^2 = b^2 + c^2 - 2bc cos(A)
      4 
      5 when rearranged can be:
      6 
      7 cos(A) = (b^2 + c^2 - a^2) / (2bc)  // use this one when you only have side lengths
      8 
      9 when using this use cos^-1 
     10 
     11 example in folder p1