Thread: sum of the series - loop?

  1. #16
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    I do.

  2. #17
    Registered User
    Join Date
    Oct 2009
    Posts
    32
    OK, seems like everything is done.

    Last question: isn't there going to be any problem with radians or degrees?

  3. #18
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    You appear to be doing math (as opposed to navigation or engineering), so degrees doesn't enter into it.

  4. #19
    Registered User
    Join Date
    Oct 2009
    Posts
    32
    Do you have any idea why this program isn't working for x=3 or x=-3?

  5. #20
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    Because it does. Is there a reason you think it doesn't?

  6. #21
    Registered User
    Join Date
    Oct 2009
    Posts
    32
    It doesn't... I enter x=3 and it says to enter something between -pi and pi

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Mutiliplcation Program that uses a (do, while, and for loop)?
    By Debbie Bremer in forum C++ Programming
    Replies: 4
    Last Post: 10-11-2008, 06:04 PM
  2. Can a "switch" be inside a loop?
    By gmk0351 in forum C Programming
    Replies: 5
    Last Post: 03-28-2008, 05:47 PM
  3. syntax question
    By cyph1e in forum C Programming
    Replies: 19
    Last Post: 03-31-2006, 12:59 AM
  4. is my loop badly set up?
    By mabufo in forum C++ Programming
    Replies: 3
    Last Post: 02-19-2006, 03:40 PM
  5. How to change recursive loop to non recursive loop
    By ooosawaddee3 in forum C Programming
    Replies: 1
    Last Post: 06-24-2002, 08:15 AM

Tags for this Thread