Logaritmefunktion.
Figuren viser logaritmefunktionen med grundtal a. Prøv at variere a og se, hvordan grafen ændrer sig.
Figure figure = Position [0,0] Size[x,y*13/16] Origin[x/3,y*1/2] Unit x/12 Color "white";
Axes axes = Color "black";
Grid grid = Color "blue";
Units units = Color "black";
SlidePot a = From 0.1 To 4 Initial 2.72 Position [20,y-20] Size [300,0];
Tex descr = "y = log_a x" Offset [20,y-60] Color "black";
Text atxt = "a = a,2" Offset [350,y-15] Color "blue";
Graph eks = logn(a,x) Size 1 Color "red";