# Tema 6
06-4  Funcions contínues. 
          Estudi de la continuïtat

kill(all)$

## Discontinuïtats

f1(x):=x^2;    f2(x):=x^2+2;      f(x):= if x<0 then f1(x) else f2(x);

wxplot2d([f(x)], [x,-3,3], [y,-2,12], [ylabel, ""] , [style, [lines, 2]] ,  [gnuplot_preamble, "set grid;"])$

f3(x):=sin(1/x);   g(x):= if x<=0 then f1(x) else f3(x);

wxplot2d([g(x)],   [x,-1,1],   [y,-1.5,1.5],   [ylabel, ""] ,     [style, [lines, 2]] ,
  [gnuplot_preamble, "set grid;"]  )$