Is the graph a accurate magnification of sin x


#1

Hi.
My programming exercise is to plot a sin x function using turtle model. The author says to plot y = 50sin((math.pi / 50) x). Is this an accurate magnification of sin x? What I mean by this is that if I plotted sin x, it would be too small to see in the turtle window. So I think they want me to magnify sin x by 50 times. I thought for it to be 50 times enlarged, y would be y = (50 / math.pi) sin((math.pi / 50) x). Am I correct or is there something I’m missing.

Thanks. Much appreciated!

14 PM


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.