\(eq = {\(\(u'\)'\)[x] + Pi^2*\((u[x] + 1)\)/4 == 0, 
		u[0] == 0, 
        u[1] == 1}; 
DSolve[eq, u[x], x]\)

DSolve[u''[x] + Pi^2*(u[x] + 1)/4 == 0, u[x], x]

ss = 
      Solve[{C[1] + C[2] - 1 == 0,  C[2] - C[1] + 2  I == 0}, {C[1], C[2]}]

%3 /.  ss