Population genetics simulation

Starting conditions:

number AA: number Aa: number aa:
viability AA:     viability Aa:     viability aa:    
selfing frequency:     number of generations:     report every generations
   
   
   

   
Results:

generation:     
number AA:     
number Aa:     
number aa:     
frequency a: