PHP Classes

Root66: Calculate the square, cube, and 5th roots

Recommend this page to a friend!
  Info   View files Documentation   Demos   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 53 All time: 10,610 This week: 560Up
Version License PHP version Categories
root66 2Freeware5Algorithms, PHP 5, Math


This class can calculate the square, cube, and 5th roots of a number without the use of PHP built-in root function.

It can take a given number and perform calculations to obtain a number's square, cube, and 5th roots.

An example script is provided to let users enter the input number and the type of root that will be calculated. The hand shows the root result number and the calculation's error level.

Innovation Award
PHP Programming Innovation award nominee
January 2023
Number 9
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 be used to solve problems involving 2 and 3 dimensions and area and volume calculations.

Manuel Lemos
Picture of Lance Otis
  Performance   Level  
Name: Lance Otis <contact>
Classes: 1 package by
Country: United States United States
Age: 84
All time rank: 4485564 in United States United States
Week rank: 276 Up28 in United States United States Up
Innovation award
Innovation award
Nominee: 1x


  Root66ImplementationExternal page  

Open in a separate window

  • root66Screnshpt.jpg
  Files folder image Files  
File Role Description
Plain text file classRoot66.php Class class php
Accessible without login Plain text file readme.pdf Doc. Demo implements the class
Accessible without login Plain text file Root66Implementation.php Example Demo implements the class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:10,610
This week:560Up