How do I find the expected value and median of a probability density function?

2 replies · 2K views · last reply
khansen9
Messages
1
Reaction score
0
TL;DR
TL;Integral
Hey everyone, I have been struggling to find the expected value and median of f(x) = 1/2e^-x/2, for x greater than 0. I am just wondering how I do so? Thank you.
 
If f(x) is supposed to be a probability density, then it has to be normalized so its integral = 1.