Problem: a square is drawn inside a right - angled triangle with the two perpendicular sides as 12 cm and 8 cm . what is the side of the largest possible square that can be drawn ?
Rationale: area of triangle is 1 / 2 * 12 * 8 = 48 side of square = x the entire triangle split into two right angled triangle and one square with dimensions as follows i ) square with side x ii ) right angled triangle with perpendicular sides x and 12 - x iii ) right angled triangle with perpendicular sides 8 - x and x sum of area of all three = 48 = x 2 + 1 / 2 * x * ( 12 - x ) + 1 / 2 * x * ( 8 - x ) = 48 = x = 4.8 cm answer : a
annotated_formula: divide(divide(multiply(12, 8), const_2), const_10)