Computing: Free Pascal Programming

Programming Home   Home   Contact

The Hardy-Weinberg Law (hawberg).


Description: A text-based population genetics program, calculating the Hardy-Weinberg equilibrium frequencies based on the counts of the different genotypes of a given trait observed in a given population. Calculation my be done for genes located on an autosome as well as for X-linked traits. The program displays the allele frequencies, the Hardy-Weinberg frequencies and the related Punnett Square.
For help with the Hardy-Weinberg Law, search the Internet or have a look at a Genetics book.

Free Pascal features: Crt unit. Number input with numeric and value-validity checking. Procedures dealing with arrays.

Screenshot:

Hardy-Weinberg Law: Calculating genotypes frequencies