function is differentiable code example
Example: what functions are differentiable
Generally the most common forms of non-differentiable behavior involve a function going to infinity at x, or having a jump or cusp at x.
https://ocw.mit.edu/ans7870/18/18.013a/textbook/HTML/chapter06/section03.html