Hey, thanks, that was exactly what I needed! I realized the first boundary condition only set D=0, but I erroneously was thinking that the second boundary condition gave C=0 when, in fact, you're right: it gives k.
I then applied the second initial condition in terms of absolute value, which I...