answer.
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
VashaNatasha [74]
2 years ago
5

A computer program contains one error. In order to find the error, we split the program into 6 blocks and test two of them, sele

cted at random. Let X be the number of errors in these blocks. Compute E(X).
Mathematics
1 answer:
Aleksandr-060686 [28]2 years ago
7 0
There are \dbinom62 ways of selecting two of the six blocks at random. The probability that one of them contains an error is

\dfrac{\dbinom11\dbinom51}{\dbinom62}=\dfrac5{15}=\dfrac13

So X has probability mass function

f_X(x)=\begin{cases}\dfrac13&\text{for }x=1\\\\\dfrac23&\text{for }x=0\end{cases}

These are the only two cases since there is only one error known to exist in the code; any two blocks of code chosen at random must either contain the error or not.

The expected value of finding an error is then

\displaystyle\sum_{x=0}^1xf_X(x)=0\times\dfrac23+1\times\dfrac13=\dfrac13
You might be interested in
(1 Convert the integral below to polar coordinates and evaluate the integral. ∫4/2√0∫16−y2√yxydxdy∫04/2∫y16−y2xydxdy Instruction
Tanzania [10]

Answer:

A = 0

B = π/4

C = 0

D = 4

Volume = 16

Step-by-step explanation:

∫BA∫DC∫AB∫CD is shown in the picture attached

4 0
2 years ago
If a function f(m) models the number of hours it take to hike m miles through the jungle, which describes the appropriate domain
IrinaK [193]

the correct answer is d

3 0
2 years ago
Read 2 more answers
In a regional spelling bee, the 8 finalists consist of 3 boys and 5 girls. Find the number of sample points in the sample space
posledela

Answer: a.) 40320

b.) 336

Step-by-step explanation:

since we have 8 possible positions, with 8 different candidates, then there are 8 possible ways of arranging the first position, 7 possible ways of arranging the Second position, 6 ways of arranging the 3rd position, 5 possible ways od arranging the 4th position, 4 possible ways of arranging the 5th position, 3 possible ways of arranging the 6th position, 2 possible ways of arranging the 7th position and just one way of arranging the 8th position since we have only one person left.

Hence, the Number of possible sample space for different 8 positions is by multiplying all the number of ways we have in our sample space which becomes:

8*7*6*5*4*3*2*1 = 40320.

b.) By the sample space we have, since we've been asked ti arrange for only the firat 3 positions, then we multiply just for the first 3ways of choosing the positions, this becomes:

8*7*6 = 336

5 0
1 year ago
In a group of 100 students, 25 own a laptop, 40 own a mobile phone, and 35 own either a
Talja [164]

Answer:

My best answer is that the probability is 35/100 that the student chosen at random owns neither a laptop nor a mobile phone.

Step-by-step explanation:

If you go back and read the introductory passage, you will notice it says, "In a group of 100 students... 35 own either a laptop or a mobile phone, but not both." And I think the other numbers, I.E. 25 and 40, were just meant to throw us off. Therefore, I think 35/100 is the probability.

8 0
2 years ago
On Sunday Sheldon bought 3 and 1/2kg of plant food. He used 1 and 2/3kg on his strawberry plants and used 1/4kg for his tomato p
notsponge [240]

The remaining plant food is: 1 7/12 kg

Step-by-step explanation:

Given

Total Plant food = 3 1/2 kg

Plant food used on Strawberry Plants = 1 2/3 kg

Plant food used on tomato Plants = 1/4 kg

We will first calculate the total food plant used and then subtract the used plant food from the total plant food.

So,

Total\ Plant\ Food\ used=1\frac{2}{3}+\frac{1}{4}\\=\frac{5}{3}+\frac{1}{4}\\=\frac{20+3}{12}\\=\frac{23}{12}

Now,

Left\ Food\ Plant=3\frac{1}{2}-\frac{23}{12}\\=\frac{7}{2}-\frac{23}{12}\\=\frac{42-23}{12}\\=\frac{19}{12}\\=1\frac{7}{12}

The remaining plant food is: 1 7/12 kg

Keywords: Division, Fractions

Learn more about fractions at:

  • brainly.com/question/3126500
  • brainly.com/question/3306327

#LearnwithBrainly

7 0
2 years ago
Other questions:
  • Which equation can pair with x + 2y = 5 to create an inconsistent system?
    14·2 answers
  • What is the correct letter name for D1 below
    6·2 answers
  • Three highways connect the centers of three towns and form a triangle. A cell phone company wants to place a new cell tower so t
    12·2 answers
  • Complete the synthetic division problem below. What is the quotient in polynomial form?
    5·2 answers
  • Whole numbers are written on cards and then placed in a bag. Pilar selects a single card, writes down the number, and then place
    15·2 answers
  • Victoria has 1.90 worth of nickels and dimes. She has two more nickels than dimes. Write a system of equation that could be used
    13·1 answer
  • Ayesha works as a real estate agent. Her annual gross salary is $28,000. From this, she must pay 20% income tax on anything earn
    5·1 answer
  • If m∠ABC = 45° and m∠ECD = 45°, which statement explains whether the AA similarity postulate can be used to determine whether ΔB
    10·1 answer
  • The percent of a​ country's households with broadband Internet access can be modeled by the function f left parenthesis x right
    14·1 answer
  • At cycle and sport customers can rent bikes, electric scooters, kayaks, canoes, or paddleboards by the hour. Ari is renting a bi
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!