Ad
  • Custom User Avatar

    Hint: Are you using float values in your formulae ?
    Instead of writing 1 or 2 for constants, try using 1.0 or 2.0 (python infers the value as float with no need to do float(x); I do not know which language you are using)