!set lang_exists=yes

When you work with WIMS, you will often be asked to enter mathematical
expressions.

Mathematical expressions can be typed in the usual way:

-     3*x+5 for
    !insmath 3x+5
  
-     sin(pi*x) for
    !insmath sin(pi*x)
  
-     y^3+1 for
    !insmath y^3+1
  
-     (x+1)/(y-1) for
    !!set ins_align=middle
    !insmath {x+1 \over y-1}
  
- etc...

Besides, WIMS contains an intelligent analyzer which can correct common
``errors'' in the mathematical expressions. For example, 3x+5
will be corrected to 3*x+5, sin x will be corrected to
sin(x), etc. But we do not recommend you to rely too heavily on
this corrector, because sometimes ambiguities in the expressions might lead
to wrong interpretations. It is best to always type mathematical expressions
``correctly'', even if it is sometimes combersome.

Here is a list of mathematical functions and the (correct) way to enter
them. These functions are recognized by WIMS whenever they make sense. (Some
modules may accept additional functions; please refer to help pages of
the modules.)

  !set x=x
  !set y=y
  You may replace $x and $y by any sub-expression in the following table.

!set table_th = Function, Description, How to type

!set table_descs=constant known to all\
base of natural logarithmic\
absolute value of $x\
sign of $x\
square root of $x\
closest integer to $x\
largest integer\
smallest integer\
exponential\
natural logarithmic\
logarithmic of base 10\
trigonometric sine\
trigonometric cosine\
trigonometric tangent\
trigonometric cotangent\
inverse trigonometric sine\
inverse trigonometric cosine\
inverse trigonometric tangent\
hyperbolic sine\
hyperbolic cosine\
hyperbolic tangent\
inverse hyperbolic sine\
inverse hyperbolic cosine\
inverse hyperbolic cotangent\
Bigger among $x and $y\
Smaller among $x and $y\
Greatest Common Divisor\
Least Common Multiple\

!read 1/math.phtml.common
