INGENIA

ODE-23

Heun / RK2

Explicit two-stage RK.

Reading speed
GoverningHeun / RK2

Governing equation

y+=(k1+k2)h/2y+= (k_1+k_2)h/2

where

y
y ()
h
h ()
k1
k1 ()
k2
k2 ()
yn
Heun / RK2 ()

Lecture brief

Historical brief

Exponential decay, the harmonic oscillator, SIR epidemics, Lotka–Volterra and Bessel are the first solvable ODEs of nature and populations. The lab is rate, period and phase portrait in closed form. This sheet (ODE-23 — Heun / RK2) is the form associated with Heun / RK2. Working symbols: yy, hh, k1k1, k2k2 \rightarrow ynyn. Explicit two-stage RK. Pedagogical SI sheet with a live model and a swept parameter.

Purpose

Purpose: compute ynyn from yy, hh, k1k1, k2k2 in Differential equations via y+=(k1+k2)h/2y+= (k_1+k_2)h/2 Explicit two-stage RK. Use it when a real differential equations question must be answered in SI before a code check.

Live realistic example

In symbols

Live case. Given y=1.000y = 1.000\,\mathrm{—}, h=0.200h = 0.200\,\mathrm{—}, k1=0.500k1 = 0.500\,\mathrm{—}, k2=0.400k2 = 0.400\,\mathrm{—}, the governing relation y+=(k1+k2)h/2y+= (k_1+k_2)h/2 yields yn=1.090yn = 1.090\,\mathrm{—}. One governing identity, SI units, a single sweep on the sheet. Move a slider: the numbers are this situation, not a canned story.

Calculator

Inputs

Outputs

  • Heun / RK2 yn1.090
Reading speed

Watch on YouTube

Free library

Full library

Free PDF / open book

YouTube channels

ODE-23 · curve
00:0 / 00:08

Narration of this film

One governing identity, SI units, a single sweep on the sheet.

Explicit two-stage RK. Pedagogical SI sheet with a live model and a swept parameter.

Reading speed

Watch on YouTube