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
Average Earnings of Workers The average earnings of year-round full-time workers 25–34 years old with a bachelor’s degree or hig
beks73 [17]

Answer:

a. 68% of the workers will earn between $47300 and $69700.

b. 2.5% of workers will earn above $89000

c. Approximately 0

Step-by-step explanation:

The standard normal distribution curve in the attached graph is used to solve this question.

a. The value $47300 is a standard deviation below the mean i.e. 58500-11200=47300. While $69700 is a standard deviation above the mean. I.e. 58500+12000=69700.

Between the first deviation below and above the mean, you have 34%+34%=68% of the salary earners within this range. So we have 68%of staffs earning within this range

b. The second standard deviation above the mean is $80900. i.e. 58500+11200+11200=$80900

We have 50%+13.5%+2.5%= 97.5% earning below $80900. Therefore, 100-97.5= 2.5% of the workers earn above this amount.

c. From the Standard Deviation Rule, the probability is only about (1 -0 .997) / 2 = 0.0015 that a normal value would be more than 3 standard deviations away from its mean in one direction or the other. The probability is only 0.0002 that a normal variable would be more than 3.5 standard deviations above its mean. Any more standard deviations than that, and we generally say the probability is approximately zero.

3 0
2 years ago
kinsey earns $54,625 a year. she purchases a snowmobile for $12,005. how much of kinsey's yearly earnings does she have left?
pickupchik [31]
The answer would be $42,620. All you have to do is subtract.
8 0
1 year ago
Read 2 more answers
(03.02 MC)
Rudik [331]

Answer: see photo

Step-by-step explanation:

5 0
2 years ago
Joey is buying plants for his garden. He wants to have at least twice as many flowering plants as nonflowering plants and a mini
vodomira [7]
(24, 12) and (36, 0).  The least amount of flowering plants occurs when x=2y, and the largest amount occurs when y=0.  These two points satisfy both conditions and both sum to 36.
7 0
2 years ago
Read 2 more answers
The point (1, 4) lies on a circle that is centered at (1, 1). Which statements are correct? Check all that apply.
Semenov [28]

the circle's radius is 3 units

the point (- 2, 1 ) lies on the circle

the equation of a circle in standard form is

(x - a)² + (y - b)² = r²

where (a, b) are the coordinates of the centre and r is the radius

the radius is the distance from the centre to the point (1, 4 ) on the circle

using (1, 4) and (1,1) in the distance formula, then

r = √(1 - 1 )² + (1 - 4)² = √(0 + 9) =√9 = 3 ⇒ r² = 9

(x - 1 )² + (y - 1 )² = 9 ← equation of circle

substitute the given points into the equation and if equation is true then they lie on the circle

(- 2, 1 ) : (- 2 - 1 )² + (1 - 1 )² = 9 + 0 = 9 ← true

Hence (- 2, 1 ) lies on the circle

(3, 3 ) : (3 - 1 )² + (3 - 1 )² = 4 + 4 = 8 ≠ 9

(3, 3 ) does not lie on the circle



6 0
2 years ago
Read 2 more answers
Other questions:
  • Yolanda is making a banner for a school pep rally. She cuts fabric in the shape of a parallelogram. The angle at the bottom left
    9·2 answers
  • In triangle ABC m A=45 m B=65 and c=20 find b. Round to the nearest tenth.
    8·2 answers
  • Use green's theorem to compute the area inside the ellipse x252+y2172=1. use the fact that the area can be written as ∬ddxdy=12∫
    14·1 answer
  • 5x−4≥12 OR 12x+5≤−4 please answer asap and right and explain like im 5 how to solve OR problems ill give brainliest and a lot of
    12·1 answer
  • Antonio has just graduated from four years of college. For the last two years, he took out a Stafford loan to pay for his tuitio
    9·2 answers
  • The geometric sequence a i a i ​ a, start subscript, i, end subscript is defined by the formula: a 1 = 8 a 1 ​ =8a, start subscr
    11·1 answer
  • The table shows the number of calories in four meals and the cost of each meal. A 2-column table with 4 rows. The first column i
    6·2 answers
  • Which expression is equivalent to StartFraction StartRoot 2 EndRoot Over RootIndex 3 StartRoot 2 EndRoot EndFraction? One-fourth
    10·2 answers
  • 9c + 1 = 10 what is the answer the algebra way?
    6·2 answers
  • Find the missing side.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!