Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 9 Online
OpenStudy (anonymous):

for ps2 problem 2, isn't the derivation of a function only 0.0 if len(poly) < 1? since derivation of len(poly) = 1 equals the coefficient

OpenStudy (turingtest):

If len(poly)=1 then the only term represented is the x to the zero power.\[Cx^0=C\]The derivative of a constant is zero, so the derivative of a length one list is 0.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!