AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: isOdd

isOdd(x) returns True if x is odd, and False otherwise. x is any integer.

Examples: isOdd(5) = True
          isOdd(10) = False

isOdd(expr, var, domain) returns True if the expression expr in the single variable var restricted to the domain domain is an odd function, and False otherwise.

Examples: isOdd("sin(x)", "x", [0, 10, 0.1]) = True
          isOdd("x⋅sin(x)", "x", [0, 10, 0.1]) = False