In a certain code language, `EARTH' is written as `JFWYM'. How is `WORLD' written in that code?
BTWQI
To solve the problem, we need to find the pattern used to convert the word "EARTH" into "JFWYM" and then apply the same pattern to the word "WORLD".
- Original word: E A R T H
- Coded word: J F W Y M
Let's find the shift in letters from the original word to the coded word by comparing their positions in the alphabet:
Letter | E | A | R | T | H |
---|---|---|---|---|---|
Position | 5 | 1 | 18 | 20 | 8 |
Coded | J | F | W | Y | M |
Position | 10 | 6 | 23 | 25 | 13 |
Shift | +5 | +5 | +5 | +5 | +5 |
Each letter in "EARTH" is shifted forward by 5 positions to get the coded letter.
Find the position of each letter and add 5 (if the position exceeds 26, wrap around by subtracting 26):
Letter | W | O | R | L | D |
---|---|---|---|---|---|
Position | 23 | 15 | 18 | 12 | 4 |
Shifted (+5) | 28 | 20 | 23 | 17 | 9 |
After wrapping | 28 - 26 = 2 (B) | 20 (T) | 23 (W) | 17 (Q) | 9 (I) |
The coded word is: BTWQI
"WORLD" is written as "BTWQI" in that code.