thrillseeker
New member
- Joined
- Apr 11, 2007
- Messages
- 2
The question I am having difficulties with go like this:
Given a pdf:
f(x) = y/2*{exp(-yx)+bexp(-byx)}
find E(X) and E(X^2)
Now with E(X), this equals the intregral of x*f(x). I tried solving this using integration by parts and got -1/(2y)+1/(yb), which I don't think is right.
Also with E(X^2), i tried solving the intregral of x^2*f(x) but I get stuck trying to do the calculations.
I think I am on the right track with what I am doing but I just can't seem to do the calculations right.
Given a pdf:
f(x) = y/2*{exp(-yx)+bexp(-byx)}
find E(X) and E(X^2)
Now with E(X), this equals the intregral of x*f(x). I tried solving this using integration by parts and got -1/(2y)+1/(yb), which I don't think is right.
Also with E(X^2), i tried solving the intregral of x^2*f(x) but I get stuck trying to do the calculations.
I think I am on the right track with what I am doing but I just can't seem to do the calculations right.