[
next
] [
prev
] [
prev-tail
] [
tail
] [
up
]
4.6.6
problem 89
(a)
Since
E
(
N
C
)
=
115
p
C
,
Var
(
N
C
)
=
∑
115
k
=
0
k
2
p
k
C
−
(
115
p
C
)
2
.
(b)
Let
I
j
be the indicator random variable that CATCAT starts at position
j
. Then, the expected number of CATCAT is
E
(
X
)
=
110
(
p
C
p
A
p
T
)
2
.
(c)
In a sequence of length
6
, the desired options are CATxxx, xxxCAT. Thus,
P
(
at least one CAT
)
=
2
(
p
C
p
A
p
T
(
1
−
p
C
p
A
p
T
)
)
+
(
p
C
p
A
p
T
)
2
.
[
next
] [
prev
] [
prev-tail
] [
front
] [
up
]