From 526785712b79e8325ede7ba74aaf07e3b140bb4c Mon Sep 17 00:00:00 2001 From: Peter Stahlecker Date: Sat, 22 Feb 2025 14:00:10 +0100 Subject: [PATCH] make docstrings as per #348 --- examples-gallery/beginner/plot_betts_10_7.py | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/examples-gallery/beginner/plot_betts_10_7.py b/examples-gallery/beginner/plot_betts_10_7.py index 60feb793..72958799 100644 --- a/examples-gallery/beginner/plot_betts_10_7.py +++ b/examples-gallery/beginner/plot_betts_10_7.py @@ -2,8 +2,21 @@ Hypersensitive Control ====================== -This is example 10.7 from [Betts2010]_ and demonstrates working with a single -differential equation. +Objectives +---------- + +- Show how ``opty`` works with a single differential equation. +- Shows how one can improve the accuracy by looking at the solution and changing + parameters accordingly. (Here the solution is constant except near the + beginning and near the end, so reducing the running time increases the + accuracy, without having to resort to more nodes.) + + +Introduction +------------ + +This is example 10.7 from [Betts2010]_. As explained there, it was selected to +be a very sensitive control problem. **States**