Contents
Menu
Expand
Light mode
Dark mode
Auto light/dark mode
Hide navigation sidebar
Hide table of contents sidebar
Toggle site navigation sidebar
Numerics for Solitons
Toggle Light / Dark / Auto color theme
Toggle table of contents sidebar
Toggle Light / Dark / Auto color theme
Toggle table of contents sidebar
Calculate the kink energy, in Julia
#
kink
=
tanh
(
x
)
energy
=
dkink
^
2
+
V
(
kink
)