We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab0aa73 commit 75bba6fCopy full SHA for 75bba6f
1 file changed
_build/reference/694-math-diffeqn.markdown
@@ -4,12 +4,15 @@
4
5
Solving first-order differential equations using Runge-Kutta method.
6
7
-dy/dx = f(y,x) with start condition: y(x = x0) = y0
+- `expr` : f(y,x) = dy/dx with start condition: y(x = x0) = y0
8
+- `x0`, `y0` : initial x, y
9
+- `xf` : final x
10
+- `yf` : result
11
+- `maxseq` : equivalent to precision
12
+- `maxerr` : maximum allowed error
13
+- `errcode` : 0 for success; otherwise calculation error
14
-x0,y0 = initial x,y
-xf = final x
-errcode = 0 for success; otherwise calculation error
-yf = result
15
+### Example 1
16
17
```
18
' Solving dy/dx = 7*y^2 * x^3 with start condition y(2) = 3
@@ -38,6 +41,8 @@ if(errcode != 0) then
38
41
endif
39
42
40
43
44
+### Example 2
45
+
46
47
' Defining the differential equation for a stiffness system
48
0 commit comments