Se muestra la gráfica de la función f(x) ; ¿Cuál es su dominio?
graphInit({range:10,scale:20,axisArrows:"<->",tickStep:1,labelStep:1,unityLabels:!1,labelFormat:function(e){return"\\small{"+e+"}"}}),graph.fn_path=path(FUNCTION_PATH,{stroke:BLUE}),circle(FUNCTION_PATH[0],.15,{stroke:"none",fill:BLUE}),circle(FUNCTION_PATH[FUNCTION_PATH.length-1],.15,{stroke:"none",fill:BLUE})
DOMAIN[0]\;\le x\le\;DOMAIN[1]
¿Para qué valores de x f(x) tiene un valor?
Mira el eje horizontal como si fuera una recta numérica.
var domain_path=graph.fn_path.clone(),tmp_path=path($.map(FUNCTION_PATH,function(e){return[[e[0],0]]}),{stroke:"none"});domain_path.animate({path:tmp_path.attrs.path,"stroke-width":4,stroke:GREEN},ANIM_SPEED,"ease-in-out"),circle([FUNCTION_PATH[0][0],0],.3,{stroke:"none",fill:GREEN,"fill-opacity":0}).animate({"fill-opacity":1},ANIM_SPEED,"ease-in-out"),circle([FUNCTION_PATH[FUNCTION_PATH.length-1][0],0],.3,{stroke:"none",fill:GREEN,"fill-opacity":0}).animate({"fill-opacity":1},ANIM_SPEED,"ease-in-out"),tmp_path.remove()
DOMAIN[0]\le x\le DOMAIN[1]
Se muestra la gráfica de la función f(x) ; ¿Cuál es su rango?
RANGE[0]\;\le f(x)\le\;RANGE[1]
¿Qué valores puede tener f(x)?
Mire al eje vertical como si fuera una recta numérica.
var range_path=graph.fn_path.clone(),tmp_path=path($.map(FUNCTION_PATH,function(e){return[[0,e[1]]]}),{stroke:"none"});range_path.animate({path:tmp_path.attrs.path,"stroke-width":4,stroke:GREEN},ANIM_SPEED,"ease-in-out"),circle([0,RANGE[0]],.3,{stroke:"none",fill:GREEN,"fill-opacity":0}).animate({"fill-opacity":1},ANIM_SPEED,"ease-in-out"),circle([0,RANGE[1]],.3,{stroke:"none",fill:GREEN,"fill-opacity":0}).animate({"fill-opacity":1},ANIM_SPEED,"ease-in-out"),tmp_path.remove()
RANGE[0]\le f(x)\le RANGE[1]