I'd like to plot a function similar to something like: y= Asin(wx) Something along the lines of
x = var('x')
w = var('w')
A = var('A')
y = Asin(wx)
assume(w>0)
assume(A>0)
Then be able to do:
plot(y(x=x), (x,-2pi()/w,2pi()/w)
And have sage plot the function, where for the x-axis the ticks would be something like (-2pi/w, -pi/w, 0, pi/w, 2pi/w) and the y-ticks would look like (-A, -A/2,0, A/2, A).
Hopefully that makes sense? Is this possible?