Computing: Free Pascal Programming

The Hardy-Weinberg Law.

Download hawberg console program (Windows 64bit) Download hawberg source code (Lazarus/Free Pascal)

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 may 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.


Hardy-Weinberg Law: Calculating genotypes frequencies

If you like this program, please, support me and this website by signing my guestbook.