Does anybody know if there's a method for solving:
with the restriction where is a constant.
Well, here's maybe a starting place. Multplying the ODE by shows it can be integrated once. From your boundary condition (adding that maybe the derivative does the same) gives the constant of integration vanishes. Solving for gives (I've replaced the by )
You should be able to integrate this and see if your solution give the desired result at .