- Cell Phones 606
- Editors 256
- Education, Science & Engineering 301
- Games 1599
- Internet 547
- Mobile Software 4
- Multimedia & Graphics 1065
- PC 343
- Programming 348
- C# 77
- Data Bases 119
- PHP 53
- Miscellaneous 99
- Security 1294
- SEO 70
- Utilities 833
Script for solving a quadratic equation
Uploaded: 15.11.2020
Content: quadratic_equation.zip 2,69 kB
Product description
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)
Feedback
0Period | |||
1 month | 3 months | 12 months | |
0 | 0 | 0 | |
0 | 0 | 0 |