Given the real coefficients ~a~ and ~b~ ~(-1\,000 \le a, b \le 1\,000)~, solve for ~x~ in the following equation.
$$\displaystyle ax + b = 0$$
Be sure to output "indeterminate" and "undefined" whenever appropriate. Remember ~\dfrac 0 0~ is indeterminate, and something like ~\dfrac 4 0~ is undefined.
Output the value of ~x~ rounded to two decimal places.
The input consists of two real numbers, ~a~ and ~b~. ~a~ and ~b~ will be on separate lines, with ~a~ first, and ~b~ second.
Output the value of ~x~ according to the given values and equation. Be
sure to output
undefined whenever appropriate.
Sample Input 1
Sample Output 1
Sample Input 2
Sample Output 2
Sample Input 3
Sample Output 3
Sample Input 4
Sample Output 4