System A consisting of 10^23 oscillators for which hw=10^-20 J, is in thermal contact with system B, consisting of 2x10^23 similar oscillators. The joint system has internal energy 3x10^3 J. Calculate the number of quanta in A and B, and the temperature, when A and B are in thermal equilibrium.
The Attempt at a Solution
So i have this: W(N,Q) = (N+Q-1)!/[(N-1)!Q!] N is number of oscillators and Q is number of quanta.
For a generic system and W(total) for the system A and B = [tex]\Sigma[/tex]W1(E1)W2(U-E1)
Where W is the number of microstates.
How do i find the number of quanta in A and B?