should that be `...(pi*x/L_x)...` as in the code below?