Problem: the ratio of 2 numbers is 2 : 8 and their h . c . f . is 40 . their l . c . m . is ?
Rationale: "let the numbers be 2 x and 8 x their h . c . f . = 40 so the numbers are 2 * 40 , 8 * 40 = 80 , 320 l . c . m . = 320 answer is d"
annotated_formula: sqrt(divide(40, add(power(8, 2), add(power(2, 2), power(2, 2)))))