I'd say it's best to use dsolve here, since you've reduced the pde to an ode.