To specify the topic: I am trying to create a program that can evaluate the derivative of at least polynomial and rational functions (trig/etc. functions would be interesting as well) at a specific point. The answer should be the equation of the tangent line at that specific point. I cannot think of any way to do this other than by using the definition of the derivative.
I am a beginner in Ruby and I am trying to make a neat little program to calculate some derivatives. Do any of you know how to do something like this? All I really want it to do is evaluate derivatives of polynomial and rational functions. I appreciate any and all help.
It seems as if I was too vague. I literally do not know where to start and have no code to show. If that is a problem (suspected cheating, etc.), then I will continue practicing Ruby and eventually figure it out. This was more of a post to receive new code than to receive edited code.