Continuous yet nowhere differentiable function

This is the graph of a function constructed as follows. Let on and continue g to the real axis by making it 2-periodic. For we now define . Finally define by . This function is continuous on the real axis but nowhere differentiable. Below you can se the graph of . Change to get more summands.