Skip to content

Commit

Permalink
Update 1.md
Browse files Browse the repository at this point in the history
  • Loading branch information
koohong authored Jan 5, 2024
1 parent 1e1a8d0 commit 01255e8
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
---
index: 1
statement:
$$X(x) = \begin{cases} 1, &x \le 2\\\\ 2, &otherwise\end{cases}$$:
Pdf of X is defined as the following
$$f(x) = \begin{cases} x for x \le x \e 1, &1-x \le 1 x le 2, &otherwise\end{cases}$$:
---

$E[X] = \int_0^1x \cdot x dx + \int_1^2 x(2-x)dx = \frac{1}{3} + \frac{2}{3} = 1$

0 comments on commit 01255e8

Please sign in to comment.