A particle has two energy states having energies $E_0$ and $E_1$ with degeneracies $g_0$ and $g_1$. The respective probabilities are $p_1$ and $p_2$. What is the entropy in terms of $p_1$, $p_2$, $g_1$ and $g_2$ ?
closed as off-topic by Nathaniel, Emilio Pisanty, Qmechanic♦ Sep 13 '13 at 14:39
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Homework-like questions should ask about a specific physics concept and show some effort to work through the problem. We want our questions to be useful to the broader community, and to future users. See our meta site for more guidance on how to edit your question to make it better" – Nathaniel, Emilio Pisanty, Qmechanic
In most problems like this, the data $g_1$, $g_2$, $E_0$ and $E_1$ would let you calculate the state occupancy probabilities $p_1$ and $p_2$, through the Boltzmann Distribution. To do this calculation, you would also need the thermodynamic temperature (see the first equations on the Wiki page).
But here $p_1$ and $p_2$ are given to you, as though someone has already done this calculation for you.
So, ask yourself do you really need to know the $E_0$ and $E_1$?