# Does, S = k ln W == W = e^s/k? [closed]

"Boltzmann's equation relates the entropy S of an ideal gas to the number W of microstates corresponding to a given macrostate, via the equation

S = k ln W

where k is the so-called Boltzmann constant. Rearrange this formula to make W the subject"

S = k ln W
S/k = ln W
W = e^S/k

Is this correct? Thanks!

p.s how do i get the exponent to format without the ^ ? And can i write a log, eg. log 5, with the base 5 (or whatever number, e, etc) formatted correctly? I'm new around here..

• $W=e^{S/k}$ $\log_5(x)$ etc. Where is your mathematical question?
– Did
Commented May 9, 2016 at 10:58
• Did you go through the tour of the session. Commented May 9, 2016 at 11:06
• meta.math.stackexchange.com/questions/5020/… Check this out... Commented May 9, 2016 at 11:15
• "Rearrange this formula to make W the subject" I'm asking if the formula has be rearranged correctly to make W the subject. Commented May 9, 2016 at 11:16
• On the Help page, click on "How do I format mathematics here"? ....and on subsequent links.... Your Answer is correct, provided that $k \ne 0.$ In physics, zero entropy would require a universe with at most 1 particle or a universe of age 0. Commented May 9, 2016 at 13:26

$$W=e^\frac{S}{k}$$
$W=e^\frac{S}{k}$