Content: quadratic_equation.zip (2.69 KB)
Uploaded: 15.11.2020

Positive responses: 0
Negative responses: 0

Sold: 0
Refunds: 0

$0.88
PHP script for solving a quadratic equation. Decision through the discriminant.
The script consists of two files - a form for entering values ​​and a class that performs calculations.

Features of the script:
Implemented validation of incoming data.
Exception Handling.
The possibility of rounding answers has been implemented.
The script is written using OOP.
All methods are documented.
PHPDoc.
The script is tested on php versions 7.0.0 and higher.

PHP version 7.0.0 or higher is required

Demo of the script https://scripts.php-include.ru/quadratic_equation/index.php

Installation:
Copy file QuadraticEquation.php
Copy the index.php file (or its content into the script you need)
No feedback yet