Traditional Culture Encyclopedia - Travel guide - Application question: A tour group of 50 people stayed at a travel agency. The hotel has three types of guest rooms: triple rooms, double rooms, and single rooms.

Each person staying in a triple roo

Application question: A tour group of 50 people stayed at a travel agency. The hotel has three types of guest rooms: triple rooms, double rooms, and single rooms.

Each person staying in a triple roo

Application question: A tour group of 50 people stayed at a travel agency. The hotel has three types of guest rooms: triple rooms, double rooms, and single rooms.

Each person staying in a triple room per night

1. Suppose there is a room x for 3 people and a room y for 2 people

3x+2y+(20-x-y)=50 x+y is less than or equal to 20

Simple solution: 2x+y=30 x=10 y=10 x=11 y=8 x=12 y=6 x=13 y=4 x=14 y=2 x=15 y=0

Minimum consumption: 15x3x25x50=1150 (the last situation)

2. There are 30 single people and 4 children. After removing them, there are 16 people left, 8 couples, and 8 double rooms are needed

p>

17 males 17/3=5...2 people

13 females 13/3=4...1 person If the patients are 2 males*** 8+5+ is required 2+5=20 rooms

The patient is 2 females*** needs 8+6+4+2=20 rooms The patient is 1 female and 1 male*** needs 8+5+2+5 =20 rooms