Results 1 to 5 of 5

Thread: Degrees, Radians and all that jazz

  1. #1

    Thread Starter
    Addicted Member hypnos's Avatar
    Join Date
    Aug 2000
    Location
    UK
    Posts
    183

    Red face Degrees, Radians and all that jazz

    Hi,
    I'm learning Trigonometry so that I can make graphical programs on my computer. I have a basic understanding of it already and know how to make things like analogue clocks (on the computer of course) etc. I'm really learning it so that I can start to involve that extra dimension (Z) and make 3D applications.

    Anyhow, here's my question. I don't understand why I must convert degrees to radians. Don't get me wrong I know how to do it but I have just always wondered why I have to do it. Why doesn't using degrees work when programming graphical applications?

    Thanks.

  2. #2
    Not NoteMe SLH's Avatar
    Join Date
    Mar 2002
    Location
    192.168.0.1 Preferred Animal: Penguin Reason for errors: Line#38
    Posts
    3,051
    It doesn't work because funtions that need angles as a parameter use radians. They've been adopted as a standard. Not too sure why it ended being radians, as degrees are much nicer to visualise - guess a computer doesn't need to visualise the amgle though.
    Quotes:
    "I am getting better then you guys.." NoteMe, on his leet english skills.
    "And I am going to meat her again later on tonight." NoteMe
    "I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
    "my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
    Have I helped you? Please Rate my posts.


  3. #3
    Member
    Join Date
    Jun 2002
    Location
    Netherlands
    Posts
    43
    Hi

    first people used degrees and they more ore less randomly decided to make a circle 360 degrees. For people in physics etc. (and also computers but that's some 100 years later) this wasn't a convenient way to work. They came up with the radian. A radian is chosen with a certain value that is based on the following thing:

    In a circle with r =1 if you take a corner of 1 rad the distance on the circle is also 1. Then they calculated and found out that there are 2pi rads in a circle. So basicly it's somehow more convenient for scientists.......

    Jordi

  4. #4
    Frenzied Member /\/\isanThr0p's Avatar
    Join Date
    Jul 2000
    Location
    They can't stop us! We're on a misson from God.
    Posts
    1,181
    well for the question

    VB Code:
    1. function toRad(Deg as integer) as single
    2.   const Pi = 3.14
    3.   toRad = Deg*Pi/180
    4. end function

    Alright I hope that works...
    Sanity is a full time job

    Puh das war harter Stoff!

  5. #5
    ChuckB
    Guest
    Hi,
    I am just glad programming wasn't invented by a civil engineer. They are into using 'grads' instead of 'degrees'. I believe 90 degrees is equal to 100 grads or a grade of 100% which is straight up. ;-)

    Regards,
    ChuckB

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width