Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Betts 10 141 #266

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Betts 10 141 #266

wants to merge 9 commits into from

Conversation

Peter230655
Copy link
Contributor

@Peter230655 Peter230655 commented Nov 16, 2024

The only reason I think, this might be a candidate for examples-gallery is this:

It is a variable time problem, the final value of a state variable is to be minimized.
It is only 3 'simple' DEs.
BUT: unless I give the final time prettly close to the result given in the book (final time is 1.196.., so unless I give
$h = \dfrac{1.2 ... 1.8}{\text{num nodes - 1}}$
it either does not converge at all, or to some totally different result.
If I give the correct solution as initial_guess, it is also more tolerant about the final time.

I do not think, I have ever come across such a 'sensitive' set of EOMs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant