# Eine gebrochenrationale Funktionen darstellen (Beispiel Aufgabe 2c, Übung 7)# Variable deklarierenx=var('x')# Funktionf(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)=1/x^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,-4,13,color='red',gridlines=True,axes_labels=['$x$','$y$'])show(p1,ymin=-8,ymax=8)# die Polstellen werden ebenfalls in rot eingezeichnet.