Let's analyze the given code: 'BOOK' is coded as 172, and 'PAGES' is coded as 240. We need to find a pattern.
Let's assign numerical values to the alphabets: A=1, B=2, C=3... Z=26.
For 'BOOK': B=2, O=15, O=15, K=11. If we sum these values: 2 + 15 + 15 + 11 = 43. This doesn't directly give us 172.
Let's try another approach. Let's consider the position of each letter in the alphabet. We might consider the position of each letter multiplied by its position in the word.
For 'BOOK': B (2nd letter) x 1 + O (15th letter) x 2 + O (15th letter) x 3 + K (11th letter) x 4 = 2 + 30 + 45 + 44 = 121. This is not giving us 172 either.
Let's try assigning numerical values based on the alphabet position and multiplying it by a constant factor. Let's test if a simple addition of numerical values will work. Let's assume that the code is generated by assigning alphabetical values and performing some operation.
Let's try a different approach. Let's assume there's a pattern involving the position of the letters in the alphabet and some operation. Through trial and error, we find that multiplying the position of each letter in the alphabet by its position in the word and summing the results works.
Let's test it on 'BOOK': (2 x 1) + (15 x 2) + (15 x 3) + (11 x 4) = 2 + 30 + 45 + 44 = 121. This doesn't directly lead to 172. However, observing that 172 = 121 + 51, a pattern begins to form.
Let's try it on 'PAGES'. P=16, A=1, G=7, E=5, S=19. Using the same method: (16x1) + (1x2) + (7x3) + (5x4) + (19x5) = 16 + 2 + 21 + 20 + 95 = 154. And 240 - 154 = 86. This suggests there's a further calculation.
After further testing different approaches it is observed that there seems to be no simple arithmetic relationship between the word's letters and the code.
Therefore, additional information or a clearer pattern is needed to solve this problem accurately. The provided answer of 595 is not obtainable via any consistent method applied to the examples given. The question may be flawed.
In a certain code language, 'SCENARIO' is written as '383514118915'. How will 'MONUMENT' be written in that code langauge?
In a certain code language, “STORM” is written as “170” and “FRAIL” is written as “92” . How is “STROLL” written in that code language?