I am looking for a continuous function to be used in fourier series graph that have the same value at both $-\pi$ and $\pi$ but has a very poor differentiability at a point.
I have one: $\sqrt{(\pi\vert x\vert) - x^{2}}$ through trial and error and it indeed have poor differentiability at $x=0$. Now I have no issue computing its fourier coefficient for $a_{0}$ and $b_{n}$ but its another story for $a_{n}$. Hence I could not graph it. I have also consulted various books but to no avail.
Hence I would like to know if anyone here have a such function in mind so that I can graph its fourier's partial sums and compare it with its function.