Exercise 5

Example 4 of [23] solves the equation
y(t) = y(t-1)
on [0,1] with history y(t) = (-1)[- 5t ] for t 0. For s > 0, the function [s] is floor(s) in MATLAB. The history has jump discontinuities prior to t = 0 that must be set in 'Jumps'. With a delay of 1, only jumps that occur at t -1 can have an effect in [0,1].

Reference

[23]
D.R. Willé and C.T.H. Baker, DELSOL - a numerical code for the solution of systems of delay-differential equations, Appl. Numer. Math., 9 (1992) 223-234.