home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / utility / sm22a.zip / SYMBMATH.H17 < prev    next >
Text File  |  1993-04-16  |  4KB  |  129 lines

  1.                         13.      Keywords
  2.  
  3.     SymbMath has three versions: Shareware Version A, Student
  4. Version B and Advanced Version C. The shareware version lacks the 
  5. solve(), dsolve(), trig (except sin(x)), and hyerbolic functions on 
  6. input, and the student version lacks the hyerbolic and dsolve() 
  7. functions on input. You cannot input these lacked functions, but all 
  8. versions can output all functions.
  9.     Upper- and lower-case letters are different until the switch
  10. lowercase is set to on (i.e. lowercase=on).
  11.     All keywords are lower-case letters until the switch lowercase
  12. is set to on.
  13.     The following special symbols (about 130 words) only include 
  14. the keywords in the SymbMath system and the initialization package
  15. init.sm.
  16.  
  17.  
  18.              13.1        Keywords in Functional Order
  19.  
  20. ---------------------------------------------------------------------
  21. 1. Built-in constants: i, e, pi, inf, zero, constant, discont,
  22.     undefined, complex_inf.
  23. 2. Built-in variables: last.
  24. 3. Negative and positive: -, +.
  25. 4. Algebraic operators: +, -, *, /, ^, **, ().
  26. 5. Relational operators: ==, >, >=, <, <=, <>.
  27. 6. Logic operators: and, or.
  28. 6. Algebraic functions: -x, sqrt(x), n!, fac(n), mod(x,y), div(x,y).
  29. 7. Complex functions: re(x), im(x), abs(x), arg(x), sgn(x).
  30. 8. Exponential functions: exp(x), ln(x), ei(n,x), gamma(n,x).
  31. 9. Trig functions: sin(x), cos(x), tan(x), csc(x), sec(x), cot(x), 
  32.         asin(x), acos(x), atan(x), acot(x), asec(x), acsc(x), 
  33.         atan2(x,y).
  34. 10. Hyperbolic functions: sinh(x), cosh(x), tanh(x), csch(x), sech(x),
  35.     coth(x), asinh(x), acosh(x), atanh(x), acoth(x), acsch(x),
  36.     asech(x).
  37. 11. Assignments: =, :=.
  38. 12. Equation: ===.
  39. 13. User-defined functions: f(x_):=x^2, f(x_):=if(isnumber(x),x^2).
  40. 14. User-defined rules: d(si(x_),x_):=sin(x)/x.
  41. 15. Calculus functions: 
  42.     d(y,x), d(y,x,order), d(y, x=x0), d(y, x=x0, order),
  43.     inte(f,x), inte(f,x,xmin,xmax),
  44.     dsolve(d(y)/d(x)===f(x,y), y),
  45.     subs(y, x=x0), lim(y, x=x0), 
  46.     sum(f, x,xmin,xmax,dx), prod(f, x,xmin,xmax,dx), 
  47. 16. Transformation functions: expand(expr), factor(expr), sum([a,b]),
  48.         solve(x^2===a,x), coef(expr,x), left(x===a), right(x===a), 
  49.         float(x), ratio(x), round(x), trunc(x), 
  50.     list(a+b), table(p[x], x,xmin,xmax,dx).
  51. 17. Numeric computation: num(expr).
  52. 18. Test function: isodd(x), iseven(x), isinteger(x), isreal(x), 
  53.     isnumber(x), isfree(y,x).
  54. 19. Table: table(f, x,xmin,xmax,dx).
  55. 20. List: [a,b], list(f, x,xmin,xmax,dx).
  56. 21. Element of list: f[1], last[1].
  57. 22. Switches: numerical, output, expand, expexpand, lnexpand, lowercase, 
  58.     =, on, off, basic, fortran, prolog, twodim.
  59. 23. Commands: system(dos), clear(x), block(), null.
  60. 24. Separators: "," , from, to, step.
  61. 25. Assume: assume(a>0), isreal(x)=1.
  62. 26. Rule: if(test, then), if(test, then, else).
  63. 27. Loop: do(expr, x,xmin,xmax,dx), repeat(expr, test).
  64. 28. Input: include('filename').
  65. 29. Output: openfile('filename'), closefile('filename').
  66. 30. Plot: plot(x^2,x).
  67. 31. Comment: #.
  68. 32. Action: done, cleared, assumed.
  69. --------------------------------------------------------------------
  70.  
  71.  
  72.            13.2          Keywords in Alphabetical Order
  73.  
  74. ----------------------------------------------------------------------
  75. abs(x)         acos(x)     acosh(x)     acot(x)     acoth(x) 
  76. acsc(x)     acsch(x)     arg(x)         asec(x)     asech(x) 
  77. asin(x)     asinh(x)     assume(x>0)     assumed     atan(x) 
  78. atan2(x,y)     atanh(x)    
  79.  
  80. basic         block()        
  81.  
  82. clear(x)     cleared     closefile()    coef(f,x)     complex_inf     
  83. constant     cos(x)         cosh(x)     cot(x)         coth(x)     
  84. csc(x)         csch(x)
  85.  
  86. d()         div(x,y)     discont     do()         done 
  87. dsolve(eq,y)    
  88.  
  89. E         e         ei(n,x)        end         exp(x)         
  90. expand(f)     expand         expexpand    
  91.  
  92. fac(x)         factor(expr)     float(x)     fortran     from        
  93.  
  94. gamma(n,x)    
  95.  
  96. i         if()         im(x)         include()    inf         
  97. inte()         iseven(x)     isfree(y,x)    isinteger(x)    isodd(x)     
  98. isreal(x)     isnumber(x)    
  99.  
  100. last         left(x===a)     lim()         list()         
  101. ln(x)         lnexpand     lowercase    
  102.  
  103. mod(x,y)    
  104.  
  105. null         num(expr)     numerical     
  106.  
  107. off         on         openfile()    output        
  108.  
  109. pi         plot()         prod()         prolog        
  110.  
  111. ratio(x)     re(x)         repeat()     right(x===a)     round(x)    
  112.  
  113. sec(x)         sech(x)     sgn(x)         sin(x)         sinh(x)     
  114. solve(eq,x)     sqrt(x)     subs(f,x=x0)     sum()         step        
  115. system(dos)    
  116.  
  117. table()     tan(x)         tanh(x)     to         trunc(x)     
  118. twodim        
  119.  
  120. undefined    
  121.  
  122. zero
  123.  
  124. +         -         *         /         ^ 
  125. **         ()         []         =         := 
  126. ==         ===         >         >=         < 
  127. <=         <>         !         #         ,
  128. -----------------------------------------------------------------------
  129.