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.
Hey, so I wanna ask how I need to create a method who will remove word if in that word is 2 same chars. Example: "Potato" in this word there is a 2 "o" chars so this word will need to be removed. "Forum" in this word there is no ...
Hi I'm having a problem implementing a mini shopping cart drop down in the header to show the user all the products they have in their shopping cart. It seems the only solution for this is Ajax, and I've looked all over and can't find anything that I could possibly ...