I am too rusty in algebra.
I have as input in a program numbers
I am trying to find them using the bellow relation:
a + b = X;
a * b = Y;
Y are known numbers in my program.
I can't remember how to derive
I get something like
a^2 - aX + Y = 0 but cant't remember how to make it so that it is something like
a = ....; an b=....; in my program.
Any help please?