Left: N=3, right: N=11:
All ψi(0)=0 and hence u(0)=0≠f(0)=9. Similar problem at x=1. The boundary values of u are always wrong!