# Regarding continuous random variable

1. ### semc

334
Here's the qn random variable X follows uniform distribution [-a,a] and random variable Y is defined as Y=e^x find E(Y)

i figure that E(Y)=E(e^x) but somehow cant carry on from there can anyone help?

The expectation of a continuous random variable Y is defined by $$\int_{-\infty}^{+\infty}xf(x)dx$$, where f(x) is the probability density function of the random variable Y. Follow the definition.