Page 2 of 2 FirstFirst 12
Results 21 to 27 of 27
  1. #21
    tnrh1 is offline Senior Member
    Join Date
    Aug 2011
    Posts
    251
    Rep Power
    4

    Default Re: While condition/math series.

    Ok it's working, amazing .. after 2 weeks I got a damn answer.

    Although post #5 shows the way.
    What is this post #5 you always mention?

    And I do not understand the logic behind the action, do you?

    I feel liberated, this Enigma which is no longer an enigma chased me for the last 2 weeks!
    Thanks again.

  2. #22
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,656
    Blog Entries
    7
    Rep Power
    21

    Default Re: While condition/math series.

    Quote Originally Posted by tnrh1 View Post
    What is this post #5 you always mention?
    All replies in a thread are numbered; look at the right side of the replies.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #23
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,565
    Rep Power
    12

    Default Re: While condition/math series.

    Post #5 was just a suggestion that you view the problem a little differently. You asked, in effect, "how big must the triangle be to accomodate n numbers?" I suggested making a copy of the triangle (or use a mirror) and putting the two together to form what is almost a square. Then the question becomes "how big must the almost-square be to accomodate n pairs of numbers?"

    Works for me, anyway. Although, as Jos might have guessed, I threw the first couple of hundred values of n into Excel, checked the rounded value, and called it done. (After all, it's not *my* problem!) Simplifying the problem involves a mirror, but proving the result might require a smoke...

  4. #24
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,565
    Rep Power
    12

    Default Re: While condition/math series.

    Post #5 was just a suggestion that you view the problem a little differently. You asked, in effect, "how big must the triangle be to accomodate n numbers?" I suggested making a copy of the triangle (or use a mirror) and putting the two together to form what is almost a square. Then the question becomes "how big must the almost-square be to accomodate n pairs of numbers?"

    Works for me, anyway. Although, as Jos might have guessed, I threw the first couple of hundred values of n into Excel, checked the rounded value, and called it done. (After all, it's not *my* problem!) Simplifying the problem involves a mirror, but proving the result might require a smoke...

  5. #25
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,656
    Blog Entries
    7
    Rep Power
    21

    Default Re: While condition/math series.

    Quote Originally Posted by pbrockway2 View Post
    Post #5 was just a suggestion that you view the problem a little differently. You asked, in effect, "how big must the triangle be to accomodate n numbers?" I suggested making a copy of the triangle (or use a mirror) and putting the two together to form what is almost a square. Then the question becomes "how big must the almost-square be to accomodate n pairs of numbers?"

    Works for me, anyway. Although, as Jos might have guessed, I threw the first couple of hundred values of n into Excel, checked the rounded value, and called it done. (After all, it's not *my* problem!) Simplifying the problem involves a mirror, but proving the result might require a smoke...
    ... and an espresso! The trouble comes when you want to find a close form for a number n, f(n) is the line for number n; you have to solve two quadratic inequalities ... I don't like those, so I'm happy with your guess ;-)

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  6. #26
    tnrh1 is offline Senior Member
    Join Date
    Aug 2011
    Posts
    251
    Rep Power
    4

    Default Re: While condition/math series.

    Thanks for both of you for helping me,
    it helped me alot.

    hmm .. case closed I guess

  7. #27
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,565
    Rep Power
    12

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Create Math.sin without math.sin
    By vudoo in forum New To Java
    Replies: 11
    Last Post: 12-07-2010, 06:23 AM
  2. Perrin series
    By moamen in forum New To Java
    Replies: 6
    Last Post: 12-04-2009, 05:27 PM
  3. Help with summing series
    By xplsivo in forum New To Java
    Replies: 8
    Last Post: 11-23-2009, 07:37 PM
  4. IF-Condition in a String
    By lenaz in forum Advanced Java
    Replies: 1
    Last Post: 07-18-2009, 12:07 PM
  5. How to add a second series in jfreechart
    By Manfizy in forum New To Java
    Replies: 1
    Last Post: 03-23-2009, 11:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •