/usr/share/genius/examples/taylor-exp.gel is in genius-common 1.0.23-3.
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 | # Category: Calculus
# Name: Taylor approximations of the exponential
LinePlotWindow = [-3,3,-1,10];
LinePlotDrawLegends = false;
PlotWindowPresent(); # Make sure the window is raised
for M=0 to 8 do (
print("Taylor polynomial of degree = " + M);
LinePlot(`(x)=e^x,`(x)=(sum n=0 to M do (1/(n!))*x^n));
wait(1)
);
|