• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Career
  • Opportunities
    Find your next career challenge – powered by Qualified Jobs
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Log In
  • Sign Up
samhstn Avatar
Name:Sam Houston
Clan:Founders & Coders
Member Since:Nov 2015
Last Seen:May 2022
Profiles:
Following:173
Followers:170
Allies:161
View Profile Badges
Ad
Promoted
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (138)
  • Replies
  • Authored
  • Needs Resolution
  • Default User Avatar
    • WheelReinventor
    • commented on "Differentiate a polynomial" kata

    Narrowly passed ;) Big numbers sure are cool!

  • Default User Avatar
    • mehmetatif
    • commented on "Differentiate a polynomial" kata

    Some results of random tests exceed BigInteger's max value on Java.

  • Custom User Avatar
    • shoplucaaa
    • commented on "Differentiate a polynomial" kata

    This problem is nice and all, but Java BigInteger is too much, just it's existence should be increasing this problem difficulty by one or two level

  • Default User Avatar
    • gilfoy
    • commented on "Differentiate a polynomial" kata

    Thanks for your help, @samhstn : D

  • Custom User Avatar
    • samhstn
    • resolved a question on "Differentiate a polynomial" kata

    Because you differentiate "12x + 2" to give you "12"

  • Default User Avatar
    • gilfoy
    • created a question for "Differentiate a polynomial" kata

    Hi,
    I do not understand this kata --> why ("12x + 2", 3) should return 12 ???
    12 * 3 + 2 == 38
    I think I had to miss something :)
    Thanks for your help!

  • Custom User Avatar
    • akar-0
    • created a suggestion for "Differentiate a polynomial" kata

    COBOL translation + description unified.

  • Custom User Avatar
    • akar-0
    • created a suggestion for "Differentiate a polynomial" kata

    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.

  • Custom User Avatar
    • akar-0
    • resolved an issue on "Differentiate a polynomial" kata

    Not a kata issue. => https://docs.codewars.com/training/troubleshooting/

  • Default User Avatar
    • Kayden99
    • commented on "Differentiate a polynomial" kata

    I looked up how to do this since I haven't taken calc yet in highschool and I still have no idea how to do this...

  • Custom User Avatar
    • Jayerson
    • commented on "Differentiate a polynomial" kata

    In many countries, and in higher mathematics, this is standard terminology.
    It is missing a comma, at worst:
    'and a point to evaluate the equation_,_ as an integer.'

    Go check out wolfram math world.

  • Custom User Avatar
    • Jayerson
    • commented on "Differentiate a polynomial" kata

    Which IDE? (Which language?)

    • Are you using libraries that you might not have access to here, or that you might need to declare when not using your IDE?
      Have you googled to check which package the method is called from?
    • Can you please name the OS you're running on, in case it's a different kind of bug?
    • Can you please (mark as spoilers) specify which method calls you're using, so that the issue can be verified?

    I probably can't solve your issue myself, but without more information, nobody can.
    Many people have been able to solve this problem both before and since, which means a slightly modified approach may work.

  • Default User Avatar
    • sadat_saim
    • commented on "Differentiate a polynomial" kata

    No regex used but I've used eval. I know it's not good to use eval but I wasted my day finding the solution and I am happy with my solution.
    Suggest me some resources to improve my regex skill.

  • Custom User Avatar
    • kippspan
    • commented on "Differentiate a polynomial" kata

    I keep running into errors with the random tests because numpy.polynomial.Polynomial cannot handle the large numbers due to float64 limitations. I submitted a ticket to the Numpy team but they just confirmed it's a limitation for floating point. Probably best for others to avoid this Numpy library for this solution unless the Kata is updated to not generate such large results.

  • Custom User Avatar
    • jeanibarz
    • commented on "Differentiate a polynomial" kata

    I believe it means you have to replace x by the provided value (the "point") so that you can evaluate the equation, transforming it into a scalar. For example, evaluating (without derivation) the expression "x^2-7" at the point x=3 gives 3^2-7 = 9-7 = 2, a scalar.

  • Loading more items...
  • © 2022 Codewars
  • About
  • API
  • Announcements
  • Privacy
  • Terms
  • Contact
  • powered by

Confirm

  • Cancel
  • Confirm

Collect: kata

Loading collection data...

Add To My Collections
    • View
      Remove Add
    You have not created any collections yet.

    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.

    You must wait until you have earned at least 20 honor before you can create new collections.

Set the name for your new collection. Remember, this is going to be visible by everyone so think of something that others will understand.

Create & Add New Collection