I have a N particle system for which I know the entropy as a function of temperature T and the quasistatic work as a function of V. From this I should compute the
a)Helmholtz free energy b)and then out of this the pressure c)And last the work done under any temperature
The work done under quasistatic expansion from $V_{0}$ to $V$ ($V_{0}<V$) at fixed temperature $T_{0}$: $$ \Delta W = Nk_{b}T_{0}ln\left( \frac{V}{V_{0}} \right) $$ And the entropy is given by:
$$ S=Nk_{b}\frac{V_{0}}{V}\left ( \frac{T}{T_{0}} \right )^{a} $$
with $a=const$,$V_{0}=const$ and $T_{0}=const$ for the entropy equation.
To start with I would use $$ S=-\frac{\partial F}{\partial T} $$
by integration I obtain:
$$ F(T,V,N)=-\frac{Nk_{b}V_{0}}{(a+1)VT_{0}^{a}}T^{a+1}+f(V) $$
Since I know the work done I can just insert the given work function for f(V) $$ F(T,V,N)=-\frac{Nk_{b}V_{0}}{(a+1)VT_{0}^{a}}T^{a+1}+Nk_{b}T_{0}ln\left( \frac{V}{V_{0}} \right) $$
The pressure is given by the derivative of F with respect to V
$$ P(V,T,N)=-\frac{\partial F}{\partial V}=-\frac{Nk_{b}V_{0}}{(a+1)V^{2}T_{0}^{a}}-\frac{Nk_{b}T_{0}}{V} $$
This would result in a negative pressure what does not make any sense but i can't find my error