PHP Classes

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

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

Author

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: 85
All time rank: 4489565 in United States United States
Week rank: 197 Up20 in United States United States Up
Innovation award
Innovation award
Nominee: 1x

Documentation


  Root66ImplementationExternal page  

Open in a separate window

Screenshots (1)  
  • root66Screnshpt.jpg
  Files folder image Files (4)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:53
This week:0
All time:10,640
This week:560Up