Results 1 to 6 of 6
  1. #1
    Ankiel24 is offline Member
    Join Date
    Apr 2009
    Posts
    1
    Rep Power
    0

    Default Java Project for extra Credit

    Hello there, I'm new to the forums but I was wondering if you guys could help with some extra credit for my computer class. A little background, I am a foreign student and for most of the year we have been working with Alice. We just switched to java and have been using program called Eclipse. Now, I don't exactly understand a lot of what the teacher is trying to say, but what I can stand I am lost. I have the problem below so any help would be amazing. :

    If a colony of bacteria grows at the rate of 9% per hour, then in eight hours the colony will double its size. Thus, the doubling time is eight hours. The so-called rule of 72 can be used to compute doubling times. If a quantity grows by R percent in a single period of time, then the number of periods required for the quantity to double is approximately 72/R. Given the growth rate and the original quantity, print the hourly size of the bacteria colony until it doubles. Have the computer compare the doubling time found by the rule-of-72 approach with the answer determined iteratively from the growth rate.

    Read the hourly growth rate (as a decimal) and the colony size in individuals. Print meaningful headers. For each hour, print the number of the hour just ended, the initial colony size for that hour, and the new colony size computed from the rate of growth. Repeat until the colony has at least doubled. Interpolate your final hour, and beginning and ending colony sizes to get the doubling times in hours. Then computer the doubling size using the rule of 72. At the end, print both doubling times, to the nearest tenth, with appropriate labels.

    Write a class method to compute each hour's growth in population by the growth-rate method. Write a class method to compute the doubling time using the rule of 72.

    I also have to use Eclipse because that is all we have to use at the school and that's all the teacher was teach us with. Any help would be great. I hope everything made sense.Thanks gentlemen and ladies.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    I wish you luck with your project, but can say that you'll likely get better help here if you ask a better question. As it is, you've just posted your assignment without any question at all. So I must ask, what in particular do you need help with?

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    Ah, never mind. I see that you've already been given a complete solution for your problem in your cross-post at the Sun Java forum here: Java Programming - Java bacteria colony

  4. #4
    corlettk is offline Member
    Join Date
    Apr 2009
    Location
    Brisbane
    Posts
    86
    Rep Power
    0

    Default

    Oh goodie... I can tell him to get stuffed in both forums! and build up my post count at the same time. Yeah!

    Sick. Bitter. Twisted. But lovable ;-)

  5. #5
    CharGP02A is offline Member
    Join Date
    Apr 2009
    Posts
    1
    Rep Power
    0

    Default

    Actually I'm not the same person as Ankiel24. He likes the St. Louis Cardinals and I'm a Phillies fan. We're both in the same class but I doubt anybody cared to know, lol.

  6. #6
    corlettk is offline Member
    Join Date
    Apr 2009
    Location
    Brisbane
    Posts
    86
    Rep Power
    0

    Default

    Quote Originally Posted by CharGP02A View Post
    Actually I'm not the same person as Ankiel24. He likes the St. Louis Cardinals and I'm a Phillies fan. We're both in the same class but I doubt anybody cared to know, lol.
    Funny, you both smell like fish to me.

    So... have you read through that thread? What have you tried? This isn't a "homework done for free" service... You're going to have to work at it... We can help with nudges in the right direction, but you still have to be the driving force.

    What you've done is a classic homework dump... Two dumps of the same homework in two forums means to me "lazy _and_ impatient"... two attributes which do not stand anyone in good stead for any professional career.

    Cheers. Keith.

Similar Threads

  1. extra line in GridLayout
    By aznboarder in forum SWT / JFace
    Replies: 3
    Last Post: 03-25-2009, 06:36 AM
  2. [SOLVED] Attaching/Including extra package
    By Eranga in forum NetBeans
    Replies: 16
    Last Post: 07-01-2008, 11:25 AM
  3. Credit Card Validator
    By bluegti02 in forum New To Java
    Replies: 2
    Last Post: 06-17-2008, 07:09 AM
  4. [SOLVED] File I/O Extra Credit Assignment FTW!
    By Bascotie in forum New To Java
    Replies: 9
    Last Post: 06-10-2008, 09:20 AM
  5. Extra bracket
    By CrazyShells Slam in forum New To Java
    Replies: 5
    Last Post: 05-16-2008, 07:12 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
  •