To find how much a consultant charges based on the number of hours she works, you can set up the equation for the total cost \( C \) in terms of the number of hours \( h \) worked.
The consultant charges $45 for each hour worked and has a flat consulting fee of $30.
The equation can be expressed as:
\[ C = 45h + 30 \]
Where:
- \( C \) is the total cost,
- \( h \) is the number of hours worked.
If you want to find how many hours she worked for a specific total cost, you can rearrange this equation to solve for \( h \):
\[ h = \frac{C - 30}{45} \]
You can use this equation to determine the number of hours worked based on the total consultation cost.