Difference between revisions of "Formula plotting-special symbols"

From Algebra.Com's Help
Jump to: navigation, search
 
(7 intermediate revisions by 2 users not shown)
Line 24: Line 24:
  
 
* '''greek letters''' are entered using their common English names. Lowercase names mean lowercase greek letters, uppercase names mean uppercase greek letters. Example: epsilon, EPSILON, pi, PI. See examples link in the first paragraph.
 
* '''greek letters''' are entered using their common English names. Lowercase names mean lowercase greek letters, uppercase names mean uppercase greek letters. Example: epsilon, EPSILON, pi, PI. See examples link in the first paragraph.
 +
 +
* The '''infinity symbol''' is entered as 'infinity'.
  
 
* '''logarithms''' are entered using either base and power, or just power; Examples:
 
* '''logarithms''' are entered using either base and power, or just power; Examples:
  
 
   log( 2, 8 ) = 3
 
   log( 2, 8 ) = 3
   log( xy ) = log( x ) + log( y )
+
   log( xy ) = log( x )   log( y )
  
 
* '''square roots''' are entered using 'sqrt'. Example
 
* '''square roots''' are entered using 'sqrt'. Example
  
 
   sqrt( b^2-4ac )
 
   sqrt( b^2-4ac )
 +
 +
* '''N-th degree roots''' are entered by saying
 +
 +
  root( degree, argument )
 +
 +
For example, root( 3, x ) is the cubic root of x.
  
 
* '''matrices''' are [[Formula plotting-matrices|discussed on this page]].
 
* '''matrices''' are [[Formula plotting-matrices|discussed on this page]].
 +
 +
* '''limit''' is entered using the "lim" notation:
 +
 +
  lim( x->infinity, 1/x )
 +
  df/dx = lim( DELTA->0, (f(x DELTA)-f(x))/DELTA) )
 +
 +
* '''Systems of equations''' are entered using the '''system''' notation:
 +
 +
  system( equation1, equation2, ... )
 +
 +
Example:
 +
 +
  system( 2x-y=3, 3x y=6 )

Latest revision as of 23:46, 14 June 2007


Click here for examples to see how special symbols are used. Examples are accompanied by source code and are rather self explanatory.

Special symbols refer to math elements that are displayed by locating formula elements in peculiar ways. Regular functions like sin(x) are not mentioned here. Only things that are plotted in a special ways, like integrals and logarithms, are discussed here.

  • Sums are entered using a "sum" function
 sum( from, to, expression )   <-- sum with limits
 sum( expression )             <-- sum without limits

Example:

 e=sum( i=0, N, 1/i! )
 sum( 1/i ) = infinity
  • Integrals are similar to sums and are entered using the 'int' symbol
 int( expression, dx, from, to )   <- integral with limits
 int( expression, dx )             <- integral without limits (undetermined)

Example:

 int( 1/x^2, dx, 1, infinity )
 int( e^(x^2/2), dx )
  • greek letters are entered using their common English names. Lowercase names mean lowercase greek letters, uppercase names mean uppercase greek letters. Example: epsilon, EPSILON, pi, PI. See examples link in the first paragraph.
  • The infinity symbol is entered as 'infinity'.
  • logarithms are entered using either base and power, or just power; Examples:
 log( 2, 8 ) = 3
 log( xy ) = log( x )   log( y )
  • square roots are entered using 'sqrt'. Example
 sqrt( b^2-4ac )
  • N-th degree roots are entered by saying
 root( degree, argument )

For example, root( 3, x ) is the cubic root of x.

  • limit is entered using the "lim" notation:
 lim( x->infinity, 1/x )
 df/dx = lim( DELTA->0, (f(x DELTA)-f(x))/DELTA) )
  • Systems of equations are entered using the system notation:
 system( equation1, equation2, ... )

Example:

 system( 2x-y=3, 3x y=6 )