simulate_duffing: Simulator for the Duffing dynamical system

View source: R/system_ode.R

simulate_duffingR Documentation

Simulator for the Duffing dynamical system

Description

Describes certain damped and driven oscillators. Coded from http://paulbourke.net/fractals/duffing/.

Usage

simulate_duffing(
  parameters,
  start_coords = c(x = 0, y = 0),
  t_max = 10,
  t_step = 1/100
)

Arguments

parameters

a,b,c describe the amount of damping, the amplitude of the periodic driving force, and the angular frequency of the periodic driving force.

start_coords

initial conditions (numeric vector)

t_max, t_step

end time and step of the simulation (numeric).

Value

a dataframe with time, x, and y columns


picasa/generate documentation built on Feb. 28, 2025, 6:51 a.m.