Answer:
3 days in Orlando and 4 days in Tampa
Step-by-step explanation:
Represent Tampa with T and Orlando with L
Given
[tex]Cost\ in\ T = 275[/tex]
[tex]Cost\ in\ L = 400[/tex]
[tex]Total = 2300[/tex]
[tex]Days = 7[/tex]
Required
Solve for T and L
We start by representing the given data, algebraically;
In terms of days:
[tex]T + L = 7[/tex]
In terms of cost:
[tex]275T + 400L = 2300[/tex]
Make T the subject in (1)
[tex]T = 7 - L[/tex]
Substitute in (2)
[tex]275(7 - L) + 400L = 2300[/tex]
[tex]1925 - 275L + 400L = 2300[/tex]
Collect Like Terms
[tex]- 275L + 400L = 2300 - 1925[/tex]
[tex]125L = 375[/tex]
Divide through by 125
[tex]L = 375/125[/tex]
[tex]L = 3[/tex]
Recall that
[tex]T = 7 - L[/tex]
[tex]T = 7 - 3[/tex]
[tex]T = 4[/tex]
This implies 3 days in Orlando and 4 in Tampa