I am using c++ to create a calculus engine. However, if you were to take the derivative of a function, the output is another function. So how can I make that function output