Skip to content

Commit 01255e8

Browse files
authored
Update 1.md
1 parent 1e1a8d0 commit 01255e8

File tree

1 file changed

+4
-1
lines changed
  • _problems/unit-03/B-expectation-of-a-continuous-random-variable

1 file changed

+4
-1
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
---
22
index: 1
33
statement:
4-
$$X(x) = \begin{cases} 1, &x \le 2\\\\ 2, &otherwise\end{cases}$$:
4+
Pdf of X is defined as the following
5+
$$f(x) = \begin{cases} x for x \le x \e 1, &1-x \le 1 x le 2, &otherwise\end{cases}$$:
56
---
7+
8+
$E[X] = \int_0^1x \cdot x dx + \int_1^2 x(2-x)dx = \frac{1}{3} + \frac{2}{3} = 1$

0 commit comments

Comments
 (0)