Step 1
Given;
![\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}](https://img.qammunity.org/2023/formulas/mathematics/college/doz15qfstpbgx5akb7o5zqbenev4aft92e.png)
Step 2
Write an equation for the cost C in terms if other variables. ( we are ignoring taxes in this scenario)
![C=N[(H)(E)+P(E)]](https://img.qammunity.org/2023/formulas/mathematics/college/wp31h7my9qx82qxd8uyx5gzizylii1eskt.png)
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?
![\begin{gathered} C=5000 \\ H=145 \\ P=30 \\ N=6 \\ 5000=6[145E+30E] \\ (5000)/(6)=175E \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/92t48aecsn5ncy3ks5es9ocvr7sb1ro6w8.png)
![\begin{gathered} 5000=1050E \\ E=4.76 \\ Hence\text{ only 4 employees can attend} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/ilk3r0vs30fmr5fdgaiughn72ojbz16slu.png)