I have a non-standard 2 point bvp. The endpoint is not known but needs to be determined as a condition on the forward problem. Then another condition needs to be satisfied at the end point. Presumably one way to do this would be to solve the foward problem step by step until the condition to determine the endpoint is met but this does not seem a very good use of the ode solvers. A worksheet that describes the problem better is attached.
Solved! Go to Solution.
Thanks. That worked just the way it is supposed to. One other extension I would like to make is to add the initial conditions as parameters so I do not need to reset them for different cases. I thought I could do this just by adding them as arguments as below and in the attached file. That produces a result but not the correct one that you got in your sheet.