Solving Delay differential equation with variable delay

Hi everyone,
I am very new to Julia and I want to wrote a code for solving a delay differential equation with variable delay of the form :
x’(t) = 1 + y(t)
y’(t) = y(t - tau(t)) + y0
with initial conditions xi = 0 and yi = y0.
where tau is the delay and can be of the form :
tau(t) = 1 + arcsin(sin(t)).

basically I don’t really know where to start …

Thanks for the Help

1 Like

See:

1 Like