# solves dirichlet problem with -u''(x)=f(x), 0