Question

If you flip a coin 9 times, you get a sequence of Heads (H) and tails (T). Solve each question (a) How many different sequences of heads and tails are possible? (b)How many different sequences of heads and tails have exactly fiveheads? c) How many different sequences have at most 2 heads?

Sequences
ANSWERED
asked 2021-06-09
If you flip a coin 9 times, you get a sequence of Heads (H) and tails (T).
Solve each question
(a) How many different sequences of heads and tails are possible?
(b)How many different sequences of heads and tails have exactly fiveheads?
c) How many different sequences have at most 2 heads?

Answers (1)

2021-06-10

a)
Since each flip has two possible outcome, {H,T}.
Then, using product rule, the total number of different sequences of heads and tails can be calculated as,
\(S=2^{n}\)
\(=2^{9}\)
\(=512\)
Hence, the number of different sequences of heads and tails is 512.
b) The number of different sequences of heads and tails having exactly five heads can be calculated as
\(C^n_r=\frac{n!}{(n-r)!r!}\)
Here, the value of r is number of exactly five heads
\(C^9_5=\frac{9!}{(9-5)!5!}\)
\(=\frac{9\times8\times7\times6\times5!}{4!5!}\)
\(=\frac{9\times8\times7\times6\times5}{4\times3\times2\times1\times5!}\)
\(=9\times2\times7\)
\(=126\) Hence, the number of different sequences of heads and tails have exactly five heads is 126
c)
The number of different sequences having at most 2 heads means the number of heads is not more than or equal to 1.
The value of r can be represented as, \(r\leq1\)
\(C^9_0+C^9_1=\frac{9!}{(9-0)!0!}+\frac{9!}{(9-1)!0!}+\frac{9!}{(9-1)!1!}\)
\(=\frac{9!}{9!}+\frac{9\times8!}{8!}\)
\(=1+9=10\)
Hence, the number of different sequences having at most 2 heads is 10

0
 
Best answer

expert advice

Need a better answer?

Relevant Questions

asked 2021-05-08
How many ordered sequences are possible that contain five objects chosen from eleven?
asked 2021-05-26
Give the first six terms of the following sequences. You can assume that the sequences start with an index of 1.
1) An arithmetic sequence in which the first value is 2 and the common difference is 3.
2) A geometric sequence in which the first value is 27 and the common ratio is \(\frac{1}{3}\)
asked 2021-02-25
We will now add support for register-memory ALU operations to the classic five-stage RISC pipeline. To offset this increase in complexity, all memory addressing will be restricted to register indirect (i.e., all addresses are simply a value held in a register; no offset or displacement may be added to the register value). For example, the register-memory instruction add x4, x5, (x1) means add the contents of register x5 to the contents of the memory location with address equal to the value in register x1 and put the sum in register x4. Register-register ALU operations are unchanged. The following items apply to the integer RISC pipeline:
a. List a rearranged order of the five traditional stages of the RISC pipeline that will support register-memory operations implemented exclusively by register indirect addressing.
b. Describe what new forwarding paths are needed for the rearranged pipeline by stating the source, destination, and information transferred on each needed new path.
c. For the reordered stages of the RISC pipeline, what new data hazards are created by this addressing mode? Give an instruction sequence illustrating each new hazard.
d. List all of the ways that the RISC pipeline with register-memory ALU operations can have a different instruction count for a given program than the original RISC pipeline. Give a pair of specific instruction sequences, one for the original pipeline and one for the rearranged pipeline, to illustrate each way.
Hint for (d): Give a pair of instruction sequences where the RISC pipeline has “more” instructions than the reg-mem architecture. Also give a pair of instruction sequences where the RISC pipeline has “fewer” instructions than the reg-mem architecture.
asked 2021-06-10
Substitute n=1, 2, 3, 4, 5 and find the first five sequences in sequence
\(\left\{\frac{1}{2}+\frac{1}{4}+\frac{1}{8}+\dotsm+\frac{1}{2^{n}}\right\}\)
asked 2021-05-09
Substitute n=1, 2, 3, 4, 5 to find the first five sequences in the given sequence
\(\left\{\frac{(-1)^{n-1}}{2\cdot4\cdot6\dotsm2n}\right\}\)
asked 2021-05-18
At a clothing store, 3 shirts and 8 hats cost $65. The cost for 2 shirts and 2 hats is $30. How much does each shirt and hat cost?
asked 2021-06-22
Sophia starts a job at a restaurant. She deposits $40 from each paycheck into her savings account. There was no money in the account prior to her first deposit. Represent the amount of money in the savings account after Sophia receives each of her first 6 paychecks with a numeric sequence.
asked 2021-05-05
If John, Trey, and Miles want to know how’ | many two-letter secret codes there are that don't have a repeated letter. For example, they want to : count BA and AB, but they don't want to count“ doubles such as ZZ or XX. Jobn says there are 26 + 25 because you don’t want to use the same letter twice; that’s why the second number is 25.
‘Trey says he thinks it should be times, not plus: 26-25, Miles says the number is 26-26 ~ 26 because you need to take away the double letters. Discuss the boys’ ideas, Which answers are correct, which are not, and why? Explain your answers clearly and thoroughly, drawing ‘on this section’s definition of multiptication.. -
asked 2021-05-18
Lightning produces a maximum air temperature on the order of \(\displaystyle{9.3}\times{10}^{{{3}}}{K}\), whereas a nuclear explosion produces a temperature on the order of \(\displaystyle{9.2}\times{10}^{{{6}}}{K}\). Use Wien's displacement law to calculate the wavelength of the thermally-produced photons radiated with greatest intensity by each of these sources. Select the part of the electromagnetic spectrum where you would expect each to radiate most strongly.
(a) lightning
\(\displaystyle\lambda_{{\max}}\approx{n}{m}\)
b) nuclear explosion
\(\displaystyle\lambda_{{\max}}\approx\pm\)
asked 2021-04-13
As depicted in the applet, Albertine finds herself in a very odd contraption. She sits in a reclining chair, in front of a large, compressed spring. The spring is compressed 5.00 m from its equilibrium position, and a glass sits 19.8m from her outstretched foot.
a)Assuming that Albertine's mass is 60.0kg , what is \(\displaystyle\mu_{{k}}\), the coefficient of kinetic friction between the chair and the waxed floor? Use \(\displaystyle{g}={9.80}\frac{{m}}{{s}^{{2}}}\) for the magnitude of the acceleration due to gravity. Assume that the value of k found in Part A has three significant figures. Note that if you did not assume that k has three significant figures, it would be impossible to get three significant figures for \(\displaystyle\mu_{{k}}\), since the length scale along the bottom of the applet does not allow you to measure distances to that accuracy with different values of k.
...