To calculate the efficiency of the farmer's task using the formula for efficiency:
\[ \text{Efficiency} = \left( \frac{\text{Useful Work Output}}{\text{Total Energy Input}} \right) \times 100 \]
In this case, the useful work output is 8,000 joules (the work done on the bales of hay), and the total energy input is 10,000 joules (the energy she uses).
Substituting the values into the formula:
\[ \text{Efficiency} = \left( \frac{8,000 , \text{joules}}{10,000 , \text{joules}} \right) \times 100 = 0.8 \times 100 = 80% \]
So, the efficiency of the task is 80%.