Results 1 to 6 of 6

Thread: [resloved] sin(180) cos(180) [/resolved]

  1. #1

    Thread Starter
    Hyperactive Member dogfish227's Avatar
    Join Date
    Oct 2002
    Location
    GA
    Posts
    409

    [resloved] sin(180) cos(180) [/resolved]

    the cos(180) should = -1 right
    and the sin of 180 should = 1 right

    then why does vb get cos(180) =-.5
    and sin(180) = -.8

    ???
    Attached Files Attached Files
    Last edited by dogfish227; Feb 10th, 2003 at 04:54 PM.

  2. #2
    PowerPoster
    Join Date
    Aug 2001
    Location
    new jersey
    Posts
    2,904
    since people think in degrees, and common calculators have been made to follow people's thinking and work in degrees, you probably think that computers do to. Wrong. Natural math uses radians and so do computers.

  3. #3
    Frenzied Member usamaalam's Avatar
    Join Date
    Nov 2002
    Location
    Karachi
    Posts
    1,308
    This result is in radians. Use windows calculator, set it in radians and find the cosine of 180. You find the same result. You first have to make conversions.

  4. #4

    Thread Starter
    Hyperactive Member dogfish227's Avatar
    Join Date
    Oct 2002
    Location
    GA
    Posts
    409
    deg = rad * 180/pi right ?

    rad = sin(180)
    rad = -.8

    -.8 * 180 = -144

    -144 / 3.14 = -45

    ????????????? what degreese is supoosed to be between -1 and 1
    what am i do ing wrong
    thanks in advance

  5. #5
    I don't do your homework! opus's Avatar
    Join Date
    Jun 2000
    Location
    Good Old Europe
    Posts
    3,863
    You're mixing all up!
    A Sinus is Sinus, you can't convert it from Radians to degrees, since it'S a Sinus!
    So
    Value=sin(180[degrees])
    Value=sin ((180[degrees]*PI/180)[radians])

    Value=0
    You're welcome to rate this post!
    If your problem is solved, please use the Mark thread as resolved button


    Wait, I'm too old to hurry!

  6. #6

    Thread Starter
    Hyperactive Member dogfish227's Avatar
    Join Date
    Oct 2002
    Location
    GA
    Posts
    409
    yes is see now i put in the degreese converted to a radian and i get out the number between -1 and 1 so i must convert to radians before signing(guess this is a word) it

    thanks for the help
    Last edited by dogfish227; Feb 10th, 2003 at 09:39 PM.

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