Differentiate the following functions from first principles using the gradient function 

1. f(x) = 2x2

2. f(x) = 4x + 5

3. f(x) = 3x2 + 5x

4. f(x) = x2 + 3x + 2

5. f(x) = x3