Percentage error = ((12.7/11.5)-100%)x 100% = 10.4% (3 s.f.)
Since the measured yield exceeds the theoretical one, this means the error is in excess. Divide the measured yield by the theoretical yield and subtract 100% to find the difference, then multiply by 100% to find the percentage.