@interact
def _(t=(1/4,(1/16,1/8,..,1))):
t0 = t
x,y,t=var('x,y,t')
show([x==(1-t^2)/(1+t^2), y==2*t/(1+t^2)])
t = t0
(x,y) = ((1-t^2)/(1+t^2), 2*t/(1+t^2))
a = 1/3
G = circle((0,0), 1, color='blue', thickness=3)
G += arrow((-1-a,-t*a), (x+a,y+t*a), head=2, color='red')
G += point((0,t), pointsize=150, color='black', zorder=100)
G += point((-1,0), pointsize=150, color='black', zorder=100)
G += point((x,y), pointsize=190, color='lightgreen', zorder=100)
G += text("$(0, %s)$"%t, (-.3, t+.2), fontsize=16, color='black')
G += text(r"$(%s,\,%s)$"%(x,y), (x+.35, y+.25), fontsize=16, color='black')
G.show(aspect_ratio=1, ymin=-1.1, ymax=1.1, xmax=1.3, xmin=-1.3, fontsize=0, figsize=6)
|
|
Click to the left again to hide and once more to show the dynamic interactive window
|