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
MrRissso [65]
3 years ago
13

There are 22 gloves in a drawer: 5 pairs of red gloves, 4 pairs of yellow, and 2 pairs of green. You select the gloves in the da

rk and can check them only after a selection has been made. What is the smallest number of gloves you need to select to have at least one matching pair in the best case?
Engineering
1 answer:
antiseptic1488 [7]3 years ago
3 0

Answer:

Best case = 2 gloves

Given Information:

Red gloves = 5 pairs

Yellow gloves = 4 pairs

Green gloves = 2 pairs

smallest number of gloves you need to select to have at least one matching pair in the best case = ?

Explanation:

How many gloves do you need to make one matching pair?

2

Yes, you are right. 2 gloves makes a matching pair and it is the smallest number of gloves you need to select to have at least one matching pair.

But what about worst case?

lets say

you tried all 5 red gloves either all of them were left or right

then you tried 4 yellow gloves either all of them were left or right

then you tried 2 green gloves either all of them were left or right

Now all the left or right gloves are tried (5 + 4 + 2 = 11) and the 12th one will definitely be either matching red, yellow or green.

Therefore, in the worst case scenario, the smallest number of gloves you need to select to have at least one matching pair is 12.

You might be interested in
What phenomenon allows water to reach the top of a building?
Artemon [7]

Answer:

Option C: water pressure.

Explanation:

Water pressure allows water to reach the top of a building.

6 0
3 years ago
Witch truck company is better.<br><br> Ram <br> Ford <br> Toyoda<br> GMC
arlik [135]
Ram is the better truck company
7 0
3 years ago
Read 2 more answers
Select the creative imaging fields that require knowledge of programming.
denis23 [38]
Video game designer for sure
8 0
3 years ago
Implement a function called myFilter that does the following: Takes a sequence of integers with values from 0 to 100 Remove all
goldenfox [79]

Answer:

using System;

using System.Collections.Generic;

using System.Linq;

public class Problem1 {

public static IEnumerable < int > myFilter(IEnumerable < int > input) {

return input.Where((val, index) => {

//First remove all multiples of 6 less than 42

return !(val % 6 == 0 && val < 42);

}).Select((val, index) => {

//Then square each number

return val * val;

}).Where((val, index) => {

// Finally, remove any resulting integer that is odd

return !(val % 1 == 0);

});

}

public static void Main(string[] args) {

Random rnd = new Random(5);

//Takes a sequence of integers with values from 0 to 100

var listForProblem = Enumerable.Range(1, 100).Select(i => rnd.Next() % 101);

var answer = Problem1.myFilter(listForProblem);

foreach(int i in answer) {

Console.WriteLine(i);

}

}

}

Explanation:

The Problem 1 solution is explanatory enough.

Your problem 2 question is lacking details. However, i have written a code that sorts it.

6 0
3 years ago
A body is moving with simple harmonic motion. It's velocity is recorded as being 3.5m/s when it is at 150mm from the mid-positio
natima [27]

Answer:

1) A=282.6 mm

2)a_{max}=60.35\ m/s^2

3)T=0.42 sec

4)f= 2.24 Hz

Explanation:

Given that

V=3.5 m/s at x=150 mm     ------------1

V=2.5 m/s at x=225 mm   ------------2

Where x measured  from mid position.

We know that velocity in simple harmonic given as

V=\omega \sqrt{A^2-x^2}

Where A is the amplitude and ω is the natural frequency of simple harmonic motion.

From equation 1 and 2

3.5=\omega \sqrt{A^2-0.15^2}    ------3

2.5=\omega \sqrt{A^2-0.225^2}   --------4

Now by dividing equation 3 by 4

\dfrac{3.5}{2.5}=\dfrac {\sqrt{A^2-0.15^2}}{\sqrt{A^2-0.225^2}}

1.96=\dfrac {{A^2-0.15^2}}{{A^2-0.225^2}}

So    A=0.2826 m

A=282.6 mm

Now by putting the values of A in the equation 3

3.5=\omega \sqrt{A^2-0.15^2}

3.5=\omega \sqrt{0.2826^2-0.15^2}

ω=14.609 rad/s

Frequency

ω= 2πf

14.609= 2 x π x f

f= 2.24 Hz

Maximum acceleration

a_{max}=\omega ^2A

a_{max}=14.61 ^2\times 0.2826\ m/s^2

a_{max}=60.35\ m/s^2

Time period T

T=\dfrac{2\pi}{\omega}

T=\dfrac{2\pi}{14.609}

T=0.42 sec

8 0
3 years ago
Other questions:
  • Magnesium sulfate has a number of uses, some of which are related to the ability of the anhydrate form to remove water from air
    15·1 answer
  • The device whose operation closely matches the way the clamp-on ammeter works is
    8·1 answer
  • A fuel cell vehicle draws 50 kW of power at 70 mph and is 40% efficient at rated power. You are asked to size the fuel cell syst
    15·1 answer
  • Does the Diesel engine have engine knock or detonation problem? Why?
    6·1 answer
  • A 350 m^3 retention pond that holds rainwater from a shopping mall is empty at the beginning of a rainstorm. The flow rate out o
    7·1 answer
  • What are the inputs, outputs and side effects of a PSP?
    7·1 answer
  • I'm so confused to this question <br>What is the difference between Science and Engineering? ​
    7·2 answers
  • Describe two other safe driver skills a driver should use when driving in this road condition
    7·1 answer
  • 16 . You are turning onto a two-lane road divided by a broken yellow line. You know immediately that:
    5·1 answer
  • What is the resistance of a resistor if the current flowing through it is 3mA and the voltage across it is 5.3V?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!