Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Pascal - <b> radian pp 140</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 RADIAN                                                               pp 140


 Define:  1 degree = (Pi / 180) * radians.  (  .01745329252 radians)
          1 radian = (180 / Pi) * degrees.  (57.29577951289 degrees)

 Purpose: Radians are a means of measuring angles.  The computer does all
          of its calculations in radians.

 Notes:   Pi is a pre-defined Turbo constant of 3.1415926536.


 ----------------------------------------------------------------------------


 Usage:
       VAR
          Tangent : Real              ;  { Result in radians }
          Angle   : Real              ;  { Angle in radians }
          Radians : Real              ;

       BEGIN
          Angle   := ArcTan (Tangent) ;  { Tangent is in radians }
          Radians := Sin (Angle)      ;  { Angle is in radians }
          Radians := Cos (Angle)      ;  { Angle is in radians }
       END.

See Also: ArcTan Cos Derived Pi Sin

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson