Login   Register  
PHP Classes

Equation Operating System: Solve equations with multiple variables

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

  Author Author  
Picture of Jon Lawrence
Name: Jon Lawrence <contact>
Classes: 4 packages by
Country: United States United States
Age: 30
All time rank: 819103 in United States United States
Week rank: 763 Up80 in United States United States Up
Innovation award
Innovation award
Nominee: 1x

  Detailed description   Download 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 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: 1769 users
All time rank: 2041
Week users: 2 users
Week rank: 869 Up
  Groups   Rate classes User ratings   Trackback   Applications   Files Files  

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  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (95%) Good (85%) - Not sure (55%) - - Sufficient (61%) 766
Month: Not yet rated by the users

  Pages that reference this package  
complex mathematical operations (Turkish)
For these complex equations there is a class...

Latest pages that reference packages Latest pages that reference packages

  Applications that use this package  
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 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.