It has been a really long time since I have fired my DiffEq neurons. Plus all of my text books are at home.
I looked a the labVIEW shipping examples. (Open LabVIEW >> help >> file examples >> click on search tab and enter ODE.) Shooting method.vi seems to solve second order equations with a constant. I could be wrong. You may want to look at this one and the other examples for inspiration.