PX275 - H2 - calculating coefficients

1LL/2L/2exp(±2πi(nm)x/L)dx=δnm L/2L/2f(x)exp(i2πmx/L)dx=L/2L/2n=Cnexp(i2π(nm)x/L)dx=LCmCm=1LL/2L/2f(x)exp(2iπm/L)dx