I'd like to calculate $E(X-EX)\cdot (Y- EY)$, where $X$ is continuous with some continuous density $f$ on $[0,1]$ interval and $Y$ is a Bernoulli random variable with $P(Y=1) = 0.95$ and $P(Y=0) = 0.05$. The condition is that, they are not independent.
I feel I'm having a complete 'mind eclipse'. I go like this:
$$E(X-EX)\cdot (Y-EY)=E[(X-EX)\cdot (-0.95)\cdot 1_{0 and the question is it really all what can be done?