Generate two random numbers that have a sum of 22. The sum of their squares is 172.
My Set Up:
Let x and y be the two numbers.
x + y = 22
x^2 + y^2 = 172
Is this the correct system of equations?
Yes. However "generate two random numbers" is confusing
and should be simply: "find 2 numbers".
Also, the example you're providing has no real solution:
leads to the quadratic x^2 - 22x + 156 = 0
which has a negative discriminant.
EDIT: holy Toledo...3 answers in 6 minutes...
we're tripping all over ourselves !!!