I'm sure most people here know how to take derivatives but for those who don't heres a quick explanation:
An example equation could be 3x2+5X+8 and its derivative would be 6X+5. you get that by multiplying each coefficient by the exponent then reducing the exponent by 1
An actual program that does this would not be very helpful because its pretty simple math easily done in your head but my friend challenged me to make one anyway and i'm really not sure the best way to go about it. My current approach is to ask for the coefficients and exponents of each term but he wants to just enter the equation and have it give you the derivative. I'm really not sure how to do that other than with a string… in which case i would have no idea how to perform the operations on it.