In this case, we have , and the general solution is of the form .
The condition implies that , and the condition implies that .
We can instruct Maple to verify this reasoning as follows:
> de0 := diff(H(x),x$2)=0;
> sol0 := dsolve(de0,H(x));
> H:=unapply(rhs(sol0),x);
> solve({H(0)=0,H(Pi)=0},{_C1,_C2});