Hugh bought some magazines that cost $3.95 each and some books that cost $8.95 each. He spent a total of $47.65. Let m represent the number of magazines and b represent the number of books. Which equation models the situation?

3.95m + 8.95b = 47.65