Hacker News new | past | comments | ask | show | jobs | submit login

Hurmph. I don't see how it makes much difference whether he uses sine or cosine, since he's also adding t to the operand and then animating over it, causing the waveform to move along the x-axis. He can use one and start from t=0 or use the other and start from t=pi/2, as you like.

My point was simply that the "spike" the article goes on about (which I earlier called a discontinuity, oops) shows up because the author is reflecting his plot around the Y axis. The article makes it sound like the spike was some physically significant feature of the function being graphed.




I agree that it doesn't make any difference when you allow phase shifts (I was intentionally focussing on the `t = 0` case), so I'm puzzled by your suggestion that the author should have used cosine instead.

My point was more that there's nothing inherently 'spiky' about even functions; as your own example of cosine shows, they can be just as smooth (or spiky) as any other function.


I think you're conflating people, if that was in reply to my immediately previous post.


Yes, you're right—I thought that you had made the post that was actually made by T-hawk (https://news.ycombinator.com/item?id=9022743 )—but I think that it doesn't change my point.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: