A local gym offers a membership plan that consists of a one-time initiation fee of $150 and a monthly fee of $40 for unlimited access to all facilities.
Let the function $C(m)$ represent the total cost of the membership after $m$ months. Based on this information, what is the formula for the function $C(m)$?