This file is indexed.

/usr/share/doc/mathomatic/tests/limits.in is in mathomatic 16.0.4-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
; Tests for the experimental limit command.

clear all
; find the derivative of:
y = 1/(x^.5)
; using the difference quotient:
y' = (1/(x+delta_x)^.5-1/x^.5)/delta_x
limit delta_x 0 ; take the limit as delta_x (change in x) goes to 0
3
integrate x ; take the antiderivative to see if it's right
compare 1

; test infinity limits:
2x/(x+1)
limit x inf ; answer should be 2

(3x+100-a)/(x-b)
limit x inf ; answer should be 3

(((x^2) - (5*x) + 6)^(1/2)) - x
limit x inf ; answer should be -5/2

x*((x^2+1)^.5-x)
limit x inf ; answer should be 1/2

1/x^2+1/x
limit y inf ; result should be original expression with a warning.
limit x inf ; result should be 0

((2*(x^2)) - x - 6)/((x^2) + (2*x) - 8)
limit x inf ; result should be 2

x^2+x
limit x 0 ; result should be 0
limit x 2 ; result should be 6
display
; The following currently gives the wrong answer:
limit x inf ; result should be inf
; The following currently gives errors:
y=x+1/x
:limit x 0 ; result should be inf
:limit x inf; result should be inf