Here is a guide on what this code is all about:
#define function f(x), define function as variable to use for other steps
#define domain for f(x)
#equal to zero and solve for x, finding domain of function.
#define asymptotes for f(x) vertical and horizontal #find limits using domains
#After finding domain find both asymptotes, x is vertical asymptote and the limit of function approach x #should = infininity neg or pos, as for horizontal asymtote approach infinity should equal constant number.
#define derivative f(x) #define derivative of f(X)
#plot f(x) with asymptotes #finally plot function with asymptotes using matplotlib
To interact or place input: numerator: 1 -1 5 0 --> x*3 - x**2 + 5x + 0 Denominator: same concept REMEMBER: Numbers must be placed separately from each other by a space for a smooth experience.