Ad
  • Custom User Avatar

    Incidentally, I've started programming haskell for the same reason :D
    Now I'm in love with it!

  • Custom User Avatar

    I suggest you to read junit documentation.

  • Custom User Avatar

    Thanks! nice points!

  • Custom User Avatar
    1. You shold now when and how evaluate the poly in order to find the root. This is all about the task essentially.
    2. The mention of epsilon is implicit in the description when it sais: "[...]the point x such that evaluatePoly(x) is close to zero. [...]"
      Anyway I Will add something more precise to the description about it. thanks!
  • Custom User Avatar

    Im gonna check it tomorrow. Busy times sorry :( In which language are you trying to submit?

  • Custom User Avatar

    I m gonna Add a test case fOr it.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Good point.
    I will fix it

  • Custom User Avatar

    Numerical precision could be an issue. BigDecimal should be used as dataType, but the aim of this kata is not to stress on the precision, but on the algothmics of finding a root.

    Just round your solution ^^

  • Custom User Avatar

    There already is a link on wilipedia if someone does not know what "eval" means for polynomials.

  • Custom User Avatar

    Please stop commenting this way.
    You should be able to complete the kata without worrying of precision issues and using plain double variables.

    By the way, try it yourself to calculate (1-0.8)/2 using double variables and show yourself this big deviation.

  • Custom User Avatar
    1. wrong or right poly? what do you mean exactly with a poly like this pass the test? (polynomial guess???)
      2)This kata is not meant to be a full academic work on numerical analysis, so normal floating number are enough and errors are taken in consideration in user/final test cases, so there should be no problems in submitting the solution and you should ALWAYS get the green screen.
      This kata is not focused on precision of the solution that you are able to provide.
    2. given that, provide me an example of code that does not work with my test cases and i'll fix it immediately.

    Thanks for the contribution.

  • Custom User Avatar

    It is Already explicitely explained in the subsequent line.

  • Loading more items...