Creation of a Program for Calculating the State of Genetic Equilibrium in a Population Based on the Hardy-Weinberg Law
摘要
This research presents an implementation of the Hardy-Weinberg genetic equilibrium model using the Python programming language and the «Tkinter» library to create an interactive graphical interface. The paper provides a detailed description of the law itself and the conditions necessary for its correct operation. As part of the study, a flow chart was developed illustrating the main stages of the simulation, as well as the program itself, allowing the user to experiment with various initial parameters of the population and track the dynamics of changes in genetic composition over several generations, making it an effective tool for training and research.