She has 24 students and her muffin recipe only makes 6 muffins so she needs to bake 24/6 = <<24/6=4>>4 batches of muffins
She brings muffins on the 1st of the month for 9 months and it takes 4 batches to feed all of her students so she bakes 9*4 = 36 batches of muffins
#### 36