Results 1 to 7 of 7

Thread: Rad to Deg

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2001
    Location
    Québec, Canada
    Posts
    131

    Rad to Deg

    Hello,
    How can I transfert a Rad number to deg?

    Thanks for any help.
    Khavoerm Irithyl

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    deg=rad*57.295779513082320876798154814105

    the constant is 180/pi
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  3. #3
    Hyperactive Member
    Join Date
    Jun 2000
    Posts
    350
    Multiply it by 360/2pi.

    (That's probably what Ked said, but I can't see it!)

    Test: 2pi rad = 2pi * 360 / 2pi = 360. OK

    pi/4 rad = pi/4 * 360 / 2pi = 360/8 = 45. OK
    .

  4. #4
    PowerPoster beachbum's Avatar
    Join Date
    Jul 2001
    Location
    Wollongong, NSW, Australia
    Posts
    2,274
    Originally posted by Jim Brown
    (That's probably what Ked said, but I can't see it!)
    How do u know that he responded?? How does this ignore thing work.. dont explain here and ruin the thread ... maybe answer in ur ignore thread... i am confused... more than usual

    And just so that i am not accused of chit chatting...

    You are both right it is 180 / pi
    Stuart Laidlaw
    Brightspark Financial Software
    http://www.gstsmartbook.com

  5. #5
    Hyperactive Member thinktank2's Avatar
    Join Date
    Nov 2001
    Location
    Arctic
    Posts
    272
    noooooooo...
    to convert to degree you have to multiply the angle in radian by

    90/ (pi/2)


  6. #6
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    OMG I think it's rather (2*Srt(45/pi))^2
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  7. #7

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