The sum of the sqaures of the 2 larger interagers is 12 less than 4 times the square of the smaller number.
This is definitely not a Java problem but a word problem. Though, I will help you out a bit this time. Break the question down into parts.
1)sum of squares of the 2 larger integers
2)4 times the square of the smaller number
So there should be 2 integers (unknown variables) in this equation. The 12 less means that the total value from #1 is 12 less than the totale value of #2; therefore, you could rewrite #2 as
2)(4 times the square of the smaller number) + 12
OK, you should have gotten what you want now. If you cannot do word problems, you may need to retake whatever math class you are taking...
Eh? What are you talking about James? :) You got the equation correctly, but why you are talking about another number? The question is asking for 2 integers that will balance the equations given by the problem. You already gave one correct set of answer (4 and 6). Therefore, why do you need another integer for? :)
PS: There are more than 1 set of integer to answer the problem. The problem is asking for an equation which could be used to find an answer. I am not going to write out the equation, but some answers are (4 & 6), (14 & 24), (2704, 8100), etc.
It's just an ambiguity in the text - why refer to the "two largest numbers" if there are only two numbers in the equation? Surely you would only say that if there were >2 numbers?
Anyway, I was just chipping in in case it helped.