Al variare delle dimensioni di una scatola di latta cubica cambia la quantità di liquido che essa può contenere. Nella figura a sinistra le lettere L, A e V indicano il lato in cm, l'area di una faccia quadrata in cm2 e il volume in cm3 della scatola.

    I grafici col software online WolframAlpha (vedi):
plot x^3, 0 < x <10, 0 < y < 1000
plot x^2, 0 < x <10, 0 < y < 100
plot x, 0 < x <10, 0 < y < 10
plot x^(1/3), 0 < x <1000, 0 < y < 10

    I grafici ottenuti con JavaScriptprimo, secondo, terzo, quarto.

Posso vederli tutti assieme anche in un unico documento:
vedi qui
<title>4 fun</title>
<FRAMESET ROWS="50%,50%">
 <FRAMESET COLS="50%,50%">
  <FRAME SRC="fun00_03a.htm" RESIZE NAME="graf 2">
  <FRAME SRC="fun00_03b.htm" RESIZE NAME="graf 0">
 </FRAMESET>
 <FRAMESET COLS="50%,50%">
  <FRAME SRC="fun00_03c.htm" RESIZE NAME="graf 2">
  <FRAME SRC="fun00_03d.htm" RESIZE NAME="graf 0">
 </FRAMESET>
</FRAMESET>

Ecco come si possono ottenere i grafici con R - vedi:

source("http://macosa.dima.unige.it/r.R")
f1 = function(x) x;   f2 = function(x) x^2
f3 = function(x) x^3; f4 = function(x) x^(1/3)
BF=2.5; HF=2.5
#
Plane(-1,11, -1,11)                     # o: Piano(..)
type(0,-1,"0"); type(10,-1,"10")        # o: scrivi(..)
type(-1,0, "0"); type(-1,10, "?")
graph(f1, 0,11, "blue")                 # o:grafico(..)
#
Plane(-1,11, -10,110)
type(0,-10,"0"); type(10,-10,"10")
type(-1,0, "0"); type(-1,100, "?")
graph(f2, 0,11, "blue")
#
Plane(-1,11, -100,1100)
type(0,-100,"0"); type(10,-100,"10")
type(-1,0, "0"); type(-1,1000, "?")
graph(f3, 0,11, "blue")
#
Plane(-100,1100, -1,11)
type(0,-1,"0"); type(1000,-1,"1000")
type(-100,0, "0"); type(-100,10, "10")
graph(f4, 0,1100, "blue")
# nell'ultimo grafico per cencellare la griglia sotto a 1000
# posso prima usare:   type(920,-1," "); type(1080,-1," ")