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
VashaNatasha [74]
3 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]3 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
​= <br> The solution set is <br> ​ 1/2(10x+16)-13=-3/5(15x-35)
-BARSIC- [3]

Answer: 13/7 or as a decimal 1.857142857

How did i get the answer:

Step 1: Simplify both sides of the equation.

so 1/2 of 10 is 5, 1/2 of 16 is 8

-3/5 of 15 is -9 and -3/5 of -35 is POSITIVE 21

all together should look like 5x+8+−13=−9x+21

(now we have to combine like terms)

8+ -13= -5

5x -5 = -9x+21

Step 2: Add 9x to both sides

5x + 9x= 14x

14x -5 = 21

Step 3: Add 5 to both sides.

21+5= 26

14x=26

Step 4: Divide both sides by 14.

26/14= 1.85714286 or 13/7

8 0
2 years ago
Read 2 more answers
Real world linear equation
Andru [333]

Answer: 3 toys

Step-by-step explanation:

Equation: 60-5t=45

Solving: 5t=60-45

5t=15

t=3

3 0
3 years ago
Cos inverse(3/5 cos x+4/5 sin x)
Vesnalui [34]
3cos (x) / 5 + 4sin (x)/ 5 

this is simplified
6 0
3 years ago
Determine points of a function that have horizontal or vertical tangent lines f(x)= (2x^3+3)/((x-1)
yan [13]
Answer:

as x tends to infinity y=infinity

as x tends to 1 y=infinity

x=1 vertical asymptote
6 0
3 years ago
Solve this quadratic equation using the quadratic formula.<br> (3 - y)(y + 4) = 3y - 5
Alchen [17]
Y= -2 - (the square root of) 21 and Y= -2+ (the square root of) 21
7 0
2 years ago
Other questions:
  • Multiplication Properties of Exponents? 45, 48, and 51 please
    6·1 answer
  • Heeellllllpppp mmmmeeeee ppplllzzz
    8·2 answers
  • What time is it when the hour hand is a little past the 3 and the minite hand is pointing to the 3?
    5·2 answers
  • At 7:30 a.m., a bus left Town P for Town Q at a speed of 60 kilometers per hour. 15 minutes later, a car left Town Q and headed
    5·1 answer
  • Which numbers belong to the range of the revolution {(4,-1),(-7,2),(1,2),(2,1)}
    7·1 answer
  • Please help me with this long division problem. Thank you :)
    5·2 answers
  • What is the area of a sector with a central angle of 255 and a radius of 18.4 m?
    8·1 answer
  • У= 6x - 11<br> Solve for y
    9·1 answer
  • HELP ASAP IM STUPIDDDDD <br><br><br> Write the power as a product of factors: 9^7
    5·2 answers
  • Help with math work
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!