Class: Simplify

Source Location: /viewers/tsimplify.php

Class Overview [line 42]

Tool
   |
   --Simplify

Simplify viewer class for MaximaPHP.

Author(s):

Version:

Copyright:

Variables

Constants

Methods


Inherited Variables

Inherited Constants

Inherited Methods



Class Details

Simplify viewer class for MaximaPHP.

[ Top ]


Class Variables

$examples = array
   (
      'sqrt(2*sqrt(3)+4)',
      'sqrt(3+2*sqrt(5-12*sqrt(3-2*sqrt(2))))',
      '2*inf-3',
      '(%e^x-1)/(%e^(x/2)+1)',
      'cos(3*x)/cos(x)',
      'sqrt(997) - (997^3)^(1/6)',
      'sqrt(999983) - (999983^3)^(1/6)',
      '(2^(1/3)+4^(1/3))^3 - 6*(2^(1/3)+4^(1/3)) - 6',
      'log((2*sqrt(r)+1)/sqrt(4*r+4*sqrt(r)+1))',
      '-2*sqrt(r) + (2*sqrt(r)+1)^(1/(2*sqrt(r)+1))*(4*r+4*sqrt(r)+1)^(sqrt(r)/(2*sqrt(r)+1)) - 1',
      'sqrt(x*y*abs(z)^2)/(sqrt(x)*abs(z))',
      'sqrt(%e^(6*%i))',
      'log(%e^(10*%i))',
      '4 - 3*x^2 + x^3 + 8*y - 8*x*y + 2*x^2*y',
      '1 + b*sin((b-c)*x)/(2*(b-c)) - c*sin((b-c)*x)/(2*(b-c)) + b*sin((b+c)*x)/(2*(b+c)) + c*sin((b+c)*x)/(2*(b+c))',
      'sqrt(x+y)/(1+sqrt(x+y)) + (1-sqrt(x+y))/(1-x-y)',
      '%e^(-2*%i*x) + %e^(2*%i*x) + sin(2*x)',
      'sqrt(a^2*(cosh(x))^2*(sin(y))^2)',
      '(a+b)^2 - (a-b)^2',
      'a^2 - 2*a*b + b^2',
      '1/(x+t) - 1/(x-t)',
      '(x+5)/(x^2+3*x-4)',
      '(x^2+7*x+12)/(x^2-6*x-27)',
      '(25-x^2)/(x^2-10*x+25)',
      '(a^2+4*a)/(a^2-16)',
      '(8-x)/(x^2-7*x-8)',
      'sin(2*x)/sin(x) - cos(2*x)/cos(x)',
      '(4*x+2)/((x-9)*(2*x+1))',
      '(x^2+7*x+12)/(-x^2-5*x-6)',
      '(x^4-1)/((x^2+1)*(x-1))',
      '(x^3+x^2-2*x)/(x-1)',
      'log(32)/log(8)',
      '(x^2+4*x-12)/(3*x-6)',
      '(x^3-4*x)/(x^2+x-2)',
      '(12+x-x^2)/(2*x^2-9*x+4)',
      '((2*x^2+x-6)/(x^2+4*x-5))*((x^3-3*x^2+2*x)/(4*x^2-6*x))',
      '(x^3-8)/(x^2-4)/((x^2+2*x+4)/(x^3+8))',
      'x/(x-3)-2/(3*x+4)',
      '1/6+3/4-2/3',
      '3/(x-1)-2/x+(x+3)/(x^2-1)',
      '(2/x-3)/(1-1/(x-1))',
      '3*x^(-5/2)+2*x^(-3/2)',
      'x*(1-2*x)^(-3/2)+(1-2*x)^(-1/2)',
      '((4-x^2)^(1/2)+x^2*(4-x^2)^(-1/2))/(4-x^2)',
      '((2+sqrt(3))/(sqrt(2)+sqrt(2+sqrt(3))) + (2-sqrt(3))/(sqrt(2)-sqrt(2-sqrt(3))))^2',
   )

[line 47]

Examples for expression

Type: mixed

Overrides:

[ Top ]


Class Methods

childShow

void childShow( $depth, $qstring)

[line 133]

Show the viewer

Parameters:

  • $depth -
  • $qstring -

[ Top ]

formatOutput

string formatOutput( string $result, $isShow)

[line 118]

Format output from MaximaPHP

Parameters:

  • string $result - output from MaximaPHP
  • $isShow -

[ Top ]

getExamples

string getExamples( integer $count)

[line 101]

Get examples

Parameters:

  • integer $count - number of examples to get

[ Top ]


Class Constants


Documentation generated on Mon, 23 Apr 2007 13:00:34 +0900 by phpDocumentor 1.3.1