This project was created as part of a school individual project in computer science during the 9th grade. The project is a Python program that allows generating quadratic equations with solutions and solving quadratic equations entered by the user. The project was developed after just two months of learning Python, making it my first serious programming experience.
-
Quadratic Equation Generator:
-
The program generates a specified number of quadratic equations.
-
The user can specify how many equations should have no real solutions (negative discriminant).
-
For each equation, the coefficients, discriminant, and roots (if any) are displayed.
-
-
Quadratic Equation Solver:
-
The user can input the coefficients of a quadratic equation (a, b, c).
-
The program calculates the discriminant and finds the roots of the equation (if they exist).
-
-
Run the program.
-
Choose the mode:
-
1 β Generate quadratic equations.
-
2 β Solve a quadratic equation.
-
-
Follow the on-screen instructions.
-
After completing the program, you can restart it or exit.
To see a demonstration of the program in action, watch the video
demonstration.mp4
-
Python 3.x
-
Modules:
math
,random
,time
-
Download the program file.
-
Ensure Python 3.x is installed on your computer.
-
Run the program using the command:
python main.py
This project was developed by Kirill Sukhorukov in March 2021.
Thanks to my computer science teacher for their guidance and support in learning Python and creating this project!