P = R*P*(1-P)

Input: R (growth rate parameter) Double values between 0 and 10.

Input: P (population) Double values between 0 and 1.

Output: P (New population) on the console in rows of five numbers

the exit conditions are the population becomes extinct or stable.

Extinction occurs when the new value of P is zero.

Stability occurs when the new value of P is the same as the previous value of P.

Hey...okay, I really don't need much coding help for this, but I need some JAVA logic help. Once I understand the logic, I think I'll be able to get it. So basically, I need to create two methods I suppose, but I don't get the basis of this equation at all!!! This seems more like a math problem than a programming problem.