Since the numbers are in a ratio 2 : 3 : 4, let the number be 2x, 3x and 4x
According to the question,
(2x)2+(3x)2+(4x)2=2349
⇒4x2+9x2+16x2=2349
⇒ 29x2=2349
⇒x2=81
⇒ x = 9
∴ The numbers are 18, 27 and 36