Skip to content

Commit 6b0b1f8

Browse files
RamonAraujofifthist
authored andcommitted
Fix solution to exercise 15 of chapter 3
1 parent 3dcbd04 commit 6b0b1f8

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

  • src/chapters/3/sections/named_distributions/problems
Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1-
$$F(X = k) = P(X \leq k) = \sum_{i=1}^{k}P(X = i) = \sum_{i=1}^{k} \frac{1}{n} =
2-
\frac{k}{n}.$$
1+
\[ F_X(x) = P(X \le x) = \begin{cases}
2+
0 &, \text{ if } x < 1\\
3+
\frac{\lfloor x \rfloor}{n} &, \text{ if } 1 \le x \le n\\
4+
1 &, \text{ if } x > n
5+
\end{cases}
6+
\]
7+
8+
where $\lfloor x \rfloor$ equals the largest integer that is less than or equal to $x$ .

0 commit comments

Comments
 (0)