Search:

Type: Posts; User: C_Necessity

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    2,464

    Hi all, Apologies for responding so late; the...

    Hi all,

    Apologies for responding so late; the good news is that i tried using double instead of long double and the program works well. Here is an output using 100,000 terms of the Liebniz Series....
  2. Replies
    6
    Views
    2,464

    Glad u tried it out I'm using gcc on WinXP. In...

    Glad u tried it out

    I'm using gcc on WinXP. In my output the third column shows 0.0000 or some weird negative values. (The printf statements r there only for diagnostic purposes). What do u think...
  3. Replies
    6
    Views
    2,464

    Problem with implementing Liebniz series

    Hi All,

    I'm trying to write a small program that approximates PI using Liebniz series (4*Pi = 1 - 1/3 + 1/5 - 1/7 + 1/9 - ...)

    I think the implementation logic is correct ( though not...
Results 1 to 3 of 3