proba1

169 days ago by damjanIR3

x = var('x') @interact def raum(zoomX = (1,9),zoomY=(1,9),a=(0..10),b=(0..10),c=(0..10),d=(0..10), f = selector(['sin(x)', 'cos(x)','tan(x)', 'cot(x)', 'x^2', 'e^x', 'ln(x)'],default = 'e^x') ): f1 = sage_eval(source = f, locals = {'x':x}); fun = a*f1(b*x+c)+d; print "f(x)= %s"%fun; show(plot(fun,(x,-10+zoomX,10 - zoomX), ymax = 33-3*zoomY)); 
       
zoomX 
zoomY 

Click to the left again to hide and once more to show the dynamic interactive window