Devil’s Staircase
The ‘Devils Staircase’ is a famous function in mathematics. It is a non-constant function that has derivative almost everywhere. Further it is continuous but not absolutely continuous. Constructing the devils staircase is easy, and is done recursively. We start with the function where . Now suppose we have defined we define by letting it be on the interval , then we take a copy of the full function and “squash” it into the box with vertices : , then again we take a copy of and we “squash” it into the box with...