News for hackers. Stuff that matters.
Re:Ask HN: What scientific phenomenon do you wish someone wo... by mkl on Sunday April 26, 2020 @07:22PM (#22991229)
> As for the math, there really is no other way to convince yourself that sin(x) and sin(2x) are orthogonal with respect to the product int(f,g,[0,2pi]) other than to try it out https://live.sympy.org/?evaluate=integrate(%20sin(x)*sin(2*x.... Try also with sin(3x) etc. and cos(n*x) etc.

I disagree with that. It's pretty easy to prove it in general by calculating \int_0^{2\pi} sin(mx)sin(nx) dx etc. for m ≠ n.

Re:Ask HN: What scientific phenomenon do you wish someone wo... by ivan_ah on Sunday April 26, 2020 @07:35PM (#22991312)
I would count an analytic solution as in the "trying out" category (actually the best kind of trying out!).

The "no other way..." was referring to me not having an intuitive explanation to offer about why an sin(x) and sin(2x) are orthogonal.