Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

DifferentialEquationSolver

Guides

  • Guide to ZigangPan`DifferentialEquationSolver`

Symbols

  • flow
  • flowV
  • HDRungeKutta
  • nflow
  • nflowV
  • RungeKutta45
  • RungeKutta45V
ZigangPan`DifferentialEquationSolver`
HDRungeKutta (Experimental)
​
HDRungeKutta
[f,
t
0
,
x
0
,tf,m]
computes the numerical solution to the system of ordinary differential equations:
x'[t]=f[x1[t],x2[t],...,xn[t]];x[t0]=x0
using the
m
th-order Runge Kutta method (
m
≥ 4). The solution is a pure function x[t_].
​
Details and Options

Examples  
(1)
Basic Examples  
(1)
In[1]:=
f[x1_,x2_]:={-x1,x1^2-x2};t0=0;xc0={2,1};tf=10;m=8;
In[2]:=
sol=
HDRungeKutta
[f,t0,xc0,tf,m,MaxStepSize1];
10% completed.
20% completed.
30% completed.
40% completed.
50% completed.
60% completed.
70% completed.
80% completed.
90% completed.
100% completed.
In[3]:=
Plot[sol[t],{t,t0,tf},PlotRangeAll]
Out[3]=
SeeAlso
RungeKutta45
 
▪
RungeKutta45V
 
▪
nflow
 
▪
flow
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com