Beginner programmer here looking to write a function that can simply derive a mathematical function.
The function should run like this:
f(x) = x ** 2 + 2 * x <--- user input
f'(x) = 2 * x + 2
I know there's Wolfram and Maple, but I want to write my own actual derivative program. I would like to know if this is possible.