Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/203.
Please join the discussion to help us identify duplicate kata and retire them.
This comment is hidden because it contains spoiler information about the solution
About the description...
It's "expression", not "equation", or just call a polynomial a polynomial. A polynomial can be called other things, too, like "function" or "vector", but it's never an equation.
COBOL translation + description unified.
In solution set ups (currently in all available languages), the first argument would better be named polynomial than equation, like in the description. Those are not equations.
This comment is hidden because it contains spoiler information about the solution
What is meant by 'a point to evaluate the equation as an integer'? Thanks!
Nice Kata, but I think it can be improved by adding an explanation on how to differentiate a polynomial. This will make this kata more accessible for those who are not familiar with Differential calculus.
It would be nice to re-iterate what we are trying to calculate - I was stuck for a long time calculating f(x) whereas I needed to calculate the first derivative f'(x).
Consider rephrasing this line: "Your function will receive 2 arguments: a polynomial as a string, and a point to evaluate the equation as an integer." as
"Your function will receive 2 arguments: a polynomial as a string, and a value of 'x' as an integer. It should return the first derivative of the polynomial at the given point x".
I hope this isn't a spoiler.
C# Translation added.Please review and approve~