Date Tags python
In [2]:
def tannan(x, bound=6):
    t=tan(x)
    if abs(t)>bound:
        return nan
    else:
        return t
tann=vectorize(tannan)
x=arange(0,9*pi/2,pi/100)
plot(x,tann(x));

Comments

comments powered by Disqus