Krista is saving money to visit her relatives in Florida. It costs 1,250$ for the plane ticket and $250 per night for the hotel. Using the function that represents the cost c based on the number of nights n Krista spends in Florida, how many nights can Krista stay in Florida if she saves $3,500?

1 answer

To find how many nights Krista can stay in Florida based on her savings, we can set up an equation based on the total cost \( c \).

The total cost consists of:

  • The fixed cost of the plane ticket: $1,250
  • The variable cost of the hotel: $250 per night

Thus, the cost function \( c \) based on the number of nights \( n \) is:

\[ c(n) = 1250 + 250n \]

Krista has saved $3,500, so we can set this equal to the cost function:

\[ 3500 = 1250 + 250n \]

To find \( n \), we first subtract the fixed cost of the plane ticket from her total savings:

\[ 3500 - 1250 = 250n \]

This simplifies to:

\[ 2250 = 250n \]

Next, we divide both sides by 250 to find \( n \):

\[ n = \frac{2250}{250} = 9 \]

Therefore, Krista can stay in Florida for 9 nights.