Math calculators in JavaScript

Write a script that will find the roots of a quadratic equation. To do this, make 3 inputs into which the equation coefficients will be entered.

Given 3 inputs. Numbers are entered into them. Check that these numbers are a Pythagorean triple: the square of the largest number must be equal to the sum of the squares of the other two.

Given an input and a button. A number is entered into the input. By clicking on the button, display a list of divisors of this number.

Given 2 inputs and a button. Numbers are entered into the inputs. By clicking on the button, display a list of common divisors of these two numbers.

Given 2 inputs and a button. Numbers are entered into the inputs. By pressing the button print the greatest common divisor of these two numbers.

Given 2 inputs and a button. Numbers are entered into the inputs. By pressing the button, print the smallest number that is divisible by both the first and second of the entered numbers.

enru