# Two inputs channel capacity

Assume that we have an AWGN channel with two inputs (A,B) and the o/p is written as Y = A + g B + Z where Z is an independent Gaussian noise with zero mean and unit variance and g is a constant channel gain. Also, the input energy is constrained as $$E_A^2 + E_B^2 = P$$.

what is the channel capacity in case A, B independent, dependent?