home *** CD-ROM | disk | FTP | other *** search
/ BUG 1 / BUGCD1996_0708.ISO / pc / aplic / mercury / limit.eka < prev    next >
Text File  |  1992-11-03  |  254b  |  10 lines

  1. ; Demo of infinite limits.
  2. ; It finds the limits for a and c, but fails on b.
  3.  
  4. a = LIMIT(x SIN(1/x),x,1,INF)
  5. b = LIMIT(LN(x)/x,x,1,INF)
  6. f(x) := (x^3 + x^2 LN(x))/(x (20 - 3x^2))
  7. c = LIMIT(f(x),x,10,INF)
  8. ; Omit the dummy x variable
  9. SHOW a, b, c
  10.