Skip to content

Commit 601219a

Browse files
added hyperchaotic lu and pang (#17)
1 parent 3161588 commit 601219a

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed

src/continuous_famous_systems.jl

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2076,4 +2076,86 @@ end
20762076
du3 = -d*z + y^2
20772077
du4 = -e*x
20782078
return SVector{4}(du1, du2, du3, du4)
2079+
end
2080+
2081+
"""
2082+
```julia
2083+
function hyper_lu(u0 = [5.0, 8.0, 12.0, 21.0];
2084+
a = 36,
2085+
b = 3.0,
2086+
c = 20.0,
2087+
d = 1.3)
2088+
```
2089+
```math
2090+
\\begin{aligned}
2091+
\\dot{x} &= a*(y - x) + w\\\\
2092+
\\dot{y} &= c*y - x*z\\\\
2093+
\\dot{z} &= x*y - b*z\\\\
2094+
\\dot{w} &= d*w + x*z
2095+
\\end{aligned}
2096+
```
2097+
A system showchasing hyperchaos obtained from the Lu system[^Chen2006].
2098+
2099+
[^Chen2006]:
2100+
Chen, A., Lu, J., Lü, J., & Yu, S. (2006).
2101+
Generating hyperchaotic Lü attractor via state feedback control.
2102+
Physica A: Statistical Mechanics and its Applications, 364, 103-110.
2103+
"""
2104+
function hyper_lu(u0 = [5.0, 8.0, 12.0, 21.0];
2105+
a = 36,
2106+
b = 3.0,
2107+
c = 20.0,
2108+
d = 1.3)
2109+
return CoupledODEs(hyper_lu_rule, u0, [a, b, c, d])
2110+
end
2111+
2112+
@inbounds function hyper_lu_rule(u, p, t)
2113+
x, y, z, w = u
2114+
a, b, c, d = p
2115+
du1 = a*(y - x) + w
2116+
du2 = c*y - x*z
2117+
du3 = x*y - b*z
2118+
du4 = d*w + x*z
2119+
return SVector{4}(du1, du2, du3, du4)
2120+
end
2121+
2122+
"""
2123+
```julia
2124+
function hyper_lu(u0 = [5.0, 8.0, 12.0, 21.0];
2125+
a = 36,
2126+
b = 3.0,
2127+
c = 20.0,
2128+
d = 1.3)
2129+
```
2130+
```math
2131+
\\begin{aligned}
2132+
\\dot{x} &= a*(y - x)\\\\
2133+
\\dot{y} &= -x*z + c*y + w\\\\
2134+
\\dot{z} &= x*y - b*z\\\\
2135+
\\dot{w} &= -d*x - d*y
2136+
\\end{aligned}
2137+
```
2138+
A system showchasing hyperchaos obtained from the Lu system[^Pang2011].
2139+
2140+
[^Pang2011]:
2141+
Pang, S., & Liu, Y. (2011).
2142+
A new hyperchaotic system from the Lü system and its control.
2143+
Journal of Computational and Applied Mathematics, 235(8), 2775-2789.
2144+
"""
2145+
function hyper_pang(u0 = [1.0, 1.0, 10.0, 1.0];
2146+
a = 36,
2147+
b = 3.0,
2148+
c = 20.0,
2149+
d = 2.0)
2150+
return CoupledODEs(hyper_pang_rule, u0, [a, b, c, d])
2151+
end
2152+
2153+
@inbounds function hyper_pang_rule(u, p, t)
2154+
x, y, z, w = u
2155+
a, b, c, d = p
2156+
du1 = a*(y - x)
2157+
du2 = -x*z + c*y + w
2158+
du3 = x*y - b*z
2159+
du4 = -d*x - d*y
2160+
return SVector{4}(du1, du2, du3, du4)
20792161
end

0 commit comments

Comments
 (0)