To find the total number of loaves bagged (b) when the factory is open for 9 hours (h = 9), we can follow these steps:
- Determine the total number of loaves produced in 9 hours.
- Subtract the number of loaves picked for quality testing from the total number of loaves produced.
Step 1: Calculate the total number of loaves produced: The factory produces 59 loaves of bread each hour. If h = 9 hours, then the total number of loaves produced is:
\[ \text{Total loaves produced} = 59 \text{ loaves/hour} \times 9 \text{ hours} = 531 \text{ loaves} \]
Step 2: Subtract the number of loaves for quality testing: The manager picks out 12 loaves for quality testing. Therefore, the number of loaves bagged (b) is:
\[ b = \text{Total loaves produced} - \text{Loaves for quality testing} \] \[ b = 531 \text{ loaves} - 12 \text{ loaves} = 519 \text{ loaves} \]
Thus, when \( h = 9 \), the value of \( b \) is:
\[ \boxed{519} \]