Login   Register  
PHP Classes
elePHPant
Icontem

Equation Operating System

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Jon Lawrence
Name: Jon Lawrence <e-mail contact>
Packages: 4 Browse all classes by Jon Lawrence Browse all classes by
Country: United States United States - PHP jobs in United States
Age: 29
All time rank: 854114 in United States United States
Week rank: 687 Up69 in United States United States Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
This class solves equations with multiple variables.

It does not resort to the PHP eval() function to help prevent security risks of using malicious expression values for instance with a calculator that takes expressions defined by the users.

It comes with a sub-class that can produce graphic charts plotting the curve defined by the equation expression withing a given range of x and y values. The generate chart graphics can be outputted in the PNG or JPEG formats using the GD library.

  Classes of Jon Lawrence  >  Equation Operating System  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Equation Operating System
Base name: eos
Description: Solve equations with multiple variables
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 1629 users
All time rank: 2124
Week users: 1 user
Week rank: 2173 Down
 
  Groups   Rate classes User ratings   Trackback   Applications   Files Files  

  Groups  
Group folder image Graphics Colors, images, charts and picture formats View top rated classes
Group folder image Math Math related classes. View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
January 2005
Number 2

Prize: One downloadable copy of Komodo Pro
Solving equations can have many applications, like for instance, drawing charts that represent the curves defined by assigning values of given ranges to the variables of the equations.

The PHP eval() function can be used to dynamically evaluate the expressions defined by an equation. However, it may be dangerous to evaluate an arbitrary expression provided by an user, as it may contain malicious code.

This class provides an alternative solution that consists in a full expressions parser and evaluator that only supports a limited set of operations that do not represent a security risk when the operations are evaluated.

Manuel Lemos

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (95.0%)
Good (85.0%)
-
Not sure (55.0%)
-
-
Sufficient (61.5%)
738
Month:
Not yet rated by the users

  Trackback links  
Link Description
complex mathematical operations (Turkish) For these complex equations there is a class...

  Applications that use this class  
Link Description
Equation Grapher Online graphing calculator
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file README.md Doc. Description of class functionality and use cases
Plain text file eos.class.php Class Main EOS Class
Accessible without login Plain text file index.php Example Example usage of graphing function
Plain text file stack.class.php Class Supporting 'stack' class

Download all files: eos.tar.gz eos.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.