Quadratic Equation Solver banner

Quadratic Equation Solver

1 devlog
17m 53s

A simple Quadratic Equation Solver built using Python.
The program calculates the roots of a quadratic equation of the form:

ax² + bx + c = 0

This project was built as part of my learning journey and as my **next project after fro…

A simple Quadratic Equation Solver built using Python.
The program calculates the roots of a quadratic equation of the form:

ax² + bx + c = 0

This project was built as part of my learning journey and as my next project after frontend web apps.

Demo Repository

Loading README...

anindasadhukhan2

Quadratic Equation Solver 🧮

A simple Quadratic Equation Solver built using Python.
The program calculates the roots of a quadratic equation of the form:

ax² + bx + c = 0

This project was built as part of my learning journey and as my next project after frontend web apps.


✨ Features

  • Takes user input for coefficients a, b, and c
  • Calculates the discriminant
  • Handles:
    • Two real roots
    • One real root
    • Complex roots
  • Displays results clearly
  • Beginner-friendly Python code

🛠️ Technologies Used

  • Python 3
  • math module

▶️ How to Run the Program

  1. Make sure Python is installed (python --version)
  2. Clone this repository or download the files
  3. Run the program using:
    python quadratic_solver.py
Attachment
0