The homogeneous equation is

and has a solution

The particular solution will be of the form

since the RHS of the differential equation is simply a constant. You can plug this into the original differential equation to get a value for B in terms of k and H.

Thus the general solution of this equation will be:

where A is a constant to be fit to your initial conditions.

-Dan