Computing the sine of an angle

This is a discussion on Computing the sine of an angle within the C Programming forums, part of the General Programming Boards category; Please help, I have an assignment to do that calculates the sin of x with a truncation error of less ...

  1. #1
    Bearcat
    Guest

    Question Computing the sine of an angle

    Please help, I have an assignment to do that calculates the sin of x with a truncation error of less than .000001. The truncation error is the absolute value of the difference between the previously calculated sine of x and the current calculated sine of x. For each iteration of the series I should pront out iteration number, the calculated value, truncation error, and the C math library sine of x. This project was kind of thrown at us, and he really didn't explain too much on how to do it. I have also read the book and still don't understand. If you could help in anyway thank you.
    Kristina

  2. #2
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    Are you a classmate of Stephanie? She asked almost the same question. For some hints, take a look the thread she started.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Sine (Sin) Algorithm Help
    By StaticKyle in forum C Programming
    Replies: 52
    Last Post: 05-13-2008, 08:37 AM
  2. Sine approximation Help
    By What111 in forum C Programming
    Replies: 8
    Last Post: 11-04-2007, 05:22 PM
  3. Object not moving to angle
    By mike_g in forum C Programming
    Replies: 1
    Last Post: 06-22-2007, 09:30 AM
  4. Help with Programming Assignment
    By JHaney in forum C++ Programming
    Replies: 18
    Last Post: 11-08-2005, 02:45 AM
  5. Help producing sine wave
    By ricky1981 in forum C++ Programming
    Replies: 9
    Last Post: 10-31-2003, 08:20 PM

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