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
Roosevelt High School is known for their marching band's attention to detail. Each band member makes sure that every step is exa
almond37 [142]
Each member takes 40 yards marches finish
4 0
2 years ago
Use properties to rewrite the given equation. Which equations have the same solution as x + + x = – x plus StartFraction 2 Over
Contact [7]

Answer:

The answer is A  B and D

A. 8/5x + 2/3 = 1/2 – 1/5x

B. 18x + 20 + 30x = 15 – 6x

C. 18x + 20 + x = 15 – 6x

D. 24x + 30x = –5

E. 12x + 30x = –5

Step-by-step explanation:

6 0
2 years ago
Read 2 more answers
Z=25/5 what is the next step in the equation solving sequence.
lbvjy [14]

Answer:

5

Step-by-step explanation:

Z = 25/5

in simplest form........

25/5 = 5/1

so the answer is 5.

3 0
1 year ago
I see that the amount i owe has been reduced from $90.00 to $75.00."
NikAS [45]
Then your amount was reduced to $15 less
4 0
2 years ago
Read 2 more answers
For the upcoming holiday season, Dorothy wants to mold 20 bars of chocolate into tiny pyramids. Each bar of chocolate contains 6
lorasvet [3.4K]

Answer:

A. 180

Step-by-step explanation:

20*6=120\ in^{3}\ of\ chocolate \\\\\frac{1*1*2}{3} =\frac{2}{3}\ in^{3}\ per\ pyramid\\\\\frac{120}{\frac{2}{3} }\ cubes\\\\\frac{120*3}{2}\ cubes\\\\\frac{360}{2}\ cubes\\\\180\ cubes

7 0
2 years ago
Other questions:
  • The average score on a biology test was 72.1 (1 repeats). write the average score using a fraction.
    14·1 answer
  • there are two pizzas. conor ate 1⁄4 of a pizza, brandon 2⁄8, tyler 3⁄4, and audrey 4⁄8. who ate the most of the two pizzas? a. a
    11·2 answers
  • In the diagram below, Bonnie claims that ΔMLV ≅ ΔRLT.
    9·1 answer
  • A bus traveling from Philadelphia to Boston travels at an average speed of 55 miles per hour. The bus stops for 1 hour halfway b
    8·1 answer
  • Divide $3,300 into three parts whose ratio is 1:3:7.
    10·1 answer
  • The average sunflower has 34 petals. What is the best estimate of the total number of petals on 57 sunflowers?
    14·1 answer
  • The box which measures 70cm X 36cm X 12cm is to be covered by a canvas. How many meters of canvas of width 80cm would be require
    5·1 answer
  • Joseph’s lunch at a restaurant costs $13.00, without tac. He leaves the waiter a tip of 17% of the cost of the lunch, without ta
    6·2 answers
  • Xian and his cousin Kai both collect stamps. Xian has 56 stamps, and Kai has 80 stamps. The boys recently joined different stamp
    7·1 answer
  • The students in Marly’s math class recorded the dimensions of their bedrooms in a frequency table.
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!