Skip to content

Commit aaf33e7

Browse files
committed
updated dates
1 parent 1d5a5df commit aaf33e7

File tree

109 files changed

+42
-1053
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+42
-1053
lines changed

docs/solve_ivp_doc.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,14 +214,14 @@
214214
</pre><pre class="codeoutput">
215215
y10 =
216216

217-
0.002269994215860
217+
0.002269996488128
218218

219219
</pre><p>Confirming our result by solving the same ODE but from <img src="solve_ivp_doc_eq08325516970591449802.png" alt="$t=10$" style="width:29px;height:8px;"> to <img src="solve_ivp_doc_eq01961946856973312452.png" alt="$t=20$" style="width:29px;height:8px;"> and using our result for <img src="solve_ivp_doc_eq14770085807156189371.png" alt="$y(10)$" style="width:25px;height:11px;"> as the initial condition,</p><pre class="codeinput">[t,y] = solve_ivp(f,[10,20],y10,0.001,<span class="string">'ABM8'</span>);
220220
y20 = y(end)
221221
</pre><pre class="codeoutput">
222222
y20 =
223223

224-
49.999899999990959
224+
49.999999999999226
225225

226226
</pre><h2 id="19">Example #4: Backward integration (event-detection case).</h2><p><i>Once again, consider</i></p><p><img src="solve_ivp_doc_eq15707102448259949290.png" alt="$$\frac{dy}{dt}=y,\quad y(20)=50$$" style="width:100px;height:23px;"></p><p><i>Find <img src="solve_ivp_doc_eq14770085807156189371.png" alt="$y(10)$" style="width:25px;height:11px;"> using an IVP solver with a condition function (i.e. event-detection).</i></p><p>First, let's define our ODE (<img src="solve_ivp_doc_eq15749537601348477239.png" alt="$\frac{dy}{dt}=f(t,y)$" style="width:53px;height:15px;">) and initial condition in MATLAB.</p><pre class="codeinput">f = @(t,y) y;
227227
y20 = 50;
@@ -231,7 +231,7 @@
231231
</pre><pre class="codeoutput">
232232
y10 =
233233

234-
0.002272267619989
234+
0.002269996488124
235235

236236
</pre><p>Note that this is the same result we obtained earlier in Example #3.</p><p class="footer"><br><a href="https://www.mathworks.com/products/matlab/">Published with MATLAB&reg; R2021b</a><br></p></div><!--
237237
##### SOURCE BEGIN #####

docs/solve_ivp_doc.png

-11 Bytes

docs/solve_ivp_doc_01.png

0 Bytes

docs/solve_ivp_doc_02.png

-165 Bytes
0 Bytes
0 Bytes
0 Bytes
0 Bytes
0 Bytes
0 Bytes

0 commit comments

Comments
 (0)