1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
natali 33 [55]
3 years ago
15

2. Due to a technology glitch, an airline has overbooked the number of passengers in economy class on a flight from

Mathematics
1 answer:
Travka [436]3 years ago
3 0

Answer:

a) Let r be a random number generated in the interval (0, 1). If we multiply r by n we will obtain a random number in the interval (0, n). We take the integer part of r*n+1 to generate a random integer between 1 and n.

Suppose that the tickets are numered and we order them ascendently. We generate a random integer K from 1 to 150 and we take the Kth ticket in the ordered list of tickets to design the first passanger to go to first class. We put the remaining tickets in order and pick another one by selecting, this time, a number from 1 to 149 (because we removed one ticket). Then we do this a third time to pick a passanger to the business class by picking a number from 1 to 148 and selecting the respective ticket.

After we select the 3 affortunate passangers, we select other 6 more using this same method to rebook them to a later flight.

b) You may move randomly two passangers from business class to first class and then move 3 passangers from economy class to business class, thus, a passanger that pay for a more economic ticket wont be in a more expensive site. Also, if the tickets are numered in order of purchase, then you can, instead of making a random selection, move only passangers with the lowest numbers.

You might be interested in
Tina and her friend are picking apples at Newberry Orchard. The apples cost $1.40 per pound. If they pick 2.5 pounds of apples,
sp2606 [1]

Answer:

$3.50

Step-by-step explanation:

the apples cost $1.40 per pound, so if we have 2.5 pounds, we would need to do this:

1.40 × 2.5

3.5

I hope this helps!

8 0
3 years ago
Does anyone know the answer?
Alex787 [66]

Answer:

£0.60

Step-by-step explanation:

If each pack costs £1.59 and Nadia orders 15 packs,

then the total order before discount = 1.59 x 15 = £23.85

From the table given, we can see that for an order of £23.85 a 2.5% discount will be applied.

Divide £23.85 by 100 to get 1%:  £23.85 ÷ 100 = £0.2385

Now multiply by 2.5 to get 2.5%:  £0.2385 × 2.5 = £0.59625 = £0.60

Alternatively, the calculation in one expression is:

(1.59 × 15) × 0.025 = 0.59625

7 0
2 years ago
A certain drug is made from only two ingredients: compound a and compound
Sedaia [141]
In total there will be 688 milliliters of compound used 258 from compound B and 430 milliliters of compound A so 688 in total.
7 0
4 years ago
Read 2 more answers
9* – 5( 3*+1) + 54= 0
Kobotan [32]

Answer:

43=0

this should be the answer :)

6 0
4 years ago
The scale drawing of a flower bed has the dimensions of 3 inches by 7 inches. The dimensions of the actual flower bed are 36 inc
Paladinen [302]
I believe it is 12*12
7 0
3 years ago
Other questions:
  • How to solve this? Please help!
    6·1 answer
  • M+2m+ 3 for m=12 need help​
    10·1 answer
  • 100 POINTS!!!!!!!!!!!<br><br><br><br>The bottom one is &lt; 1 and &lt; 3
    8·2 answers
  • The distance, y, in miles, traveled by a car for a certain amount of time, x, in hours, is shown in the graph below:
    8·1 answer
  • Hey can someone help me with this question I don't know what to do!
    12·1 answer
  • A science fair poster is very rectangular 3 feet long and 2 feet wide what is the area of the poster in square inches
    7·1 answer
  • Check if the point (-3, -5) lies on the line y= 2x -1 <br><br><br> Plzzzzz hurry
    6·1 answer
  • ABCD is a quadrilateral.
    12·1 answer
  • Subtract -5x^2+7x+1 from 8x^2+x-10<br>I will give brainleist
    15·1 answer
  • Define a polynomial that is a difference of squares. How do you know that it is the difference of squares? How is it factored?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!