Quadratische Funktionen

375 days ago by matgraf

@interact def _(a=(-2,2),b=(-9,9),c=(-9,9)): f(x)=a*x^2+b*x+c graph=plot(f(x),(x,-10,10),color='red',thickness=2) graph.show(xmin=-10,xmax=10,ymin=-10,ymax=10,aspect_ratio=1) 
       

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

@interact def _(a=(-2,2),u=(-9,9),v=(-9,9)): f(x)=a*(x-u)^2+v graph=plot(f(x),(x,-10,10),color='red',thickness=2) graph.show(xmin=-10,xmax=10,ymin=-10,ymax=10,aspect_ratio=1) 
       

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

@interact def _(a=(-2,2),x1=(-9,9),x2=(-9,9)): f(x)=a*(x-x1)*(x-x2) graph=plot(f(x),(x,-10,10),color='red',thickness=2) graph.show(xmin=-10,xmax=10,ymin=-10,ymax=10,aspect_ratio=1) 
       
x1 
x2 

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