I redirected the output to a file, then I plotted it with gnuplot with:
set term png size 6000,4500
set out 'out.png'
pl [][-600:700] 'randfunc.txt' w p ps 3 pt 7
ps 3 pt 7 gives circular dots of 17 pixels in diameter. The high number of samples caused them to overlap, forming a continuous line.
(Actually, in the places where the function happened to change very quickly, there were gaps between them, but in the downscaled version they are not evident.)
Then I used GIMP to change the color of the graph, add a blue and a green dot at the bottom and the top, Gaussian blur it at 2 pixels, and downscale it to its current size with cubic interpolation.
to share – to copy, distribute and transmit the work
to remix – to adapt the work
Under the following conditions:
attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This licensing tag was added to this file as part of the GFDL licensing update.http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License. Subject to disclaimers.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue
to share – to copy, distribute and transmit the work
to remix – to adapt the work
Under the following conditions:
attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
A continuous function, showing the extreme value theorem. The maximum is shown in green and the minimum in blue. I generated it with this Python script: <syntaxhighlight lang="Python"> #!/usr/bin/python from random import * k = 0 for i in range(100000): k +=
A [[continuous function]] on a closed interval, showing the [[extreme value theorem]]. The function is the integral of a piecewise continuous function which, on each one of 256 very small interval, takes a normally distributed randomly choosen value. I p
Captions
Add a one-line explanation of what this file represents