A web-based Quadratic Equation Solver built using HTML, CSS, and JavaScript.
This project was created as part of an introductory Web App Development course, demonstrating core web development concepts.
You can also view a live demo of the app here.
Follow these steps to set up the quadratic solver locally:
# 1. Clone this repository to your local machine
git clone https://github.com/hatixntsoa/quadratic.solver.git
# 2. Navigate to the project directory
cd quadratic.solver
# 3. Give execute permission to the script
chmod +x quadratic.sh
# 4. Run the server to start the application
./quadratic.shโ PHP must be installed on your system to run the server.
- PHP version 7.x or higher
- A Unix-like environment (Linux/macOS or WSL on Windows)
The app solves quadratic equations of the form:
It uses the standard quadratic formula:
- If the discriminant (
$โณ = b^2 - 4ac$ ) is positive, two real roots are displayed. - If the discriminant is zero, only one real root is shown.
- If the discriminant is negative, the app will return No Solution in R (from now on).
This project is licensed under the MIT License.
Feel free to use, modify, and distribute with proper attribution.
