By Manuel Lemos
PHP provides built-in functions to perform several types of math calculations.
PHP can perform square root calculations with a built-in function but does not provide a built-in function to calculate cubic roots.
This class can calculate either square or cubic roots. It can solve problems involving 2 and 3 dimensions and area and volume calculations.