Math Methods:

object.nameOfTheMethod(argument);

Call methods on the object Math:

  1. Static Methods: arithmetical functions
  2. Perform actions on a single unit:

    Math.floor(1.9);

    Math.ceil(1.1);

    Math.round(1.5);

    Math.trunc(1.6);

    Math.sqrt(9);

    Math.cbrt(27);

    Math.abs(-4); Math.abs(4);

    Math.sign(-9); Math.sign(9);

    Math.random();

  3. Static Methods: trigonometrical functions
  4. Math.sin(90);

    Math.asin(90);

    Math.sinh(90);

    Math.asinh(90);

    Math.cos(90);

    Math.acos(90);

    Math.cosh(90);

    Math.acosh(90);

    Math.tan(90);

    Math.atan(90);

    Math.tanh(90);

    Math.atanh(90);

  5. Static Methods: "binary" functions
  6. Math.pow(x, y);

    Math.max(x, y...);

    Math.min(x, y...);

    Math.hypot(x, y...);

  7. Algorithmic Methods

Challenges: