Add a functional derivative example