sum of the series - loop?

This is a discussion on sum of the series - loop? within the C Programming forums, part of the General Programming Boards category; I do....

  1. #16
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    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,185
    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,185
    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

Page 2 of 2 FirstFirst 12
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-30-2006, 11:59 PM
  4. is my loop badly set up?
    By mabufo in forum C++ Programming
    Replies: 3
    Last Post: 02-19-2006, 02: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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21