ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sun, 30 Jun 2013 11:58:14 +0200Print value of vertical & horizontal asymptote?https://ask.sagemath.org/question/10297/print-value-of-vertical-horizontal-asymptote/By default the program draws a blue line displaying the vertical asymptote of a function, which is very helpful. If I could get it to display a line through the horizontal asymptote, & print their value, if would be very helpful.
I attempted the following to get the vertical asymptote & had no luck at all:
ans = solve( 7/(x-3) == 0, x)
v0 = ans[0].rhs()
print(v0)
Error message:
Traceback (click to the left of this block for traceback)
...
IndexError: list index out of rangebxdinSun, 30 Jun 2013 11:58:14 +0200https://ask.sagemath.org/question/10297/