It a local fitness center, members pay a S14 membership fee and S5 for each aerobics class. Nonmembers pay $6 for each aerobics class. For what number of aerobics lasses will the cost for members and nonmembers be the same?

Let's represent the number of aerobics classes as x.

For members:
Cost for membership = $14
Cost per aerobics class = $5
Total cost for members = 14 + 5x

For nonmembers:
Cost per aerobics class = $6
Total cost for nonmembers = 6x

To find the number of aerobics classes where the cost is the same for members and nonmembers, we set the two equations equal to each other and solve for x:

14 + 5x = 6x

Simplifying the equation:
14 = x

Therefore, when the number of aerobics classes is 14, the cost for members and nonmembers will be the same.