Answer :
Step 1
Given;
[tex]\begin{gathered} The\text{ cost of each room = \$H} \\ Each\text{ employee gets \$P} \\ Number\text{ of employees is E} \\ N\text{ is the number of night} \\ C\text{ is the cost to the company} \end{gathered}[/tex]Step 2
Write an equation for the cost C in terms if other variables. ( we are ignoring taxes in this scenario)
[tex]C=N[(H)(E)+P(E)][/tex]Step 3
If the company has $5000 to spend, the hotel cost $145 per night, you are giving a $30 per diem, and the conference requires a 6 nights stay how many employees will be able to attend?
[tex]\begin{gathered} C=5000 \\ H=145 \\ P=30 \\ N=6 \\ 5000=6[145E+30E] \\ \frac{5000}{6}=175E \end{gathered}[/tex][tex]\begin{gathered} 5000=1050E \\ E=4.76 \\ Hence\text{ only 4 employees can attend} \end{gathered}[/tex]