Visibility: Unlisted (only visible to those who know the link)
# Eine gebrochenrationale Funktionen darstellen (Beispiel Aufgabe 2c, Übung 7)# Variable deklarierenx=var('x')# Funktion#f(x)=(3*x^2+4*x+9)/(x^2+5)#f(x)=(x^3-3*x+5)/(x-2)#f(x)=(x-1)*(x-3)/(x-2)#f(x)=(x+1)^2/((x+2)^3*(x-3))f(x)=(x+1)/(x-2)^2#f(x)=1/8*x^3+1/2*x^2-1/2*x-2 # Beispiel Polynom# Funktion anzeigen lassenshow(f)p1=plot(f,x,-5,5,color='red',gridlines=True,axes_labels=['$x$','$y$'])show(p1,ymin=-5,ymax=5)# die Polstellen werden ebenfalls in rot eingezeichnet.