| 1 | initial version |
You can create a list of points indicating the periods. (I use list comprehension. )
f(x)=-2*sin(4*(x+pi/4))
P=points([(k*pi/2,0) for k in [-4..4]], pointsize=40, color='red')
P+plot(f(x),(x,-2*pi,2*pi), ticks=pi/2, tick_formatter=pi)
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.