This file is indexed.

/usr/share/maxima/5.35.1/demo/romberg.dem is in maxima-sage 5.35.1-2.

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
define_variable(pi,apply('ev,[%pi,numer:true]),float)$

define_variable(freq,3.3,float,"the frequency in radians/second")$

v(x):=(modedeclare(x,float),x*abs(sin(freq*x)))$

h1(freq):=romberg('v,0,pi)$


/* an alternative syntax is */

h2(freq):=romberg(x*abs(sin(freq*x)),x,0,pi)$


h1(5.5);

h2(5.5);

translate(h1,v,h2)$

h1(5.5);

h2(5.5);

compile(functions);

h1(5.5);

h2(5.5);