Please, before closing this question as off-topic, consider that this is completely a calculus problem, no chemistry involved
Dieterci's real gas equation is $$p = {RTe^{-a/(RTV)}\over V - b}$$
I need to find critical constants of this equation.
To do that I need to equation first second derivative of this equation to 0. and find the expression for $V$ and $T$ from them in terms of $a, b$. And then put those values in real equation to obtain a expression for $p$ in terms of $a, b$.
So differentiating the formula with respect to V,
$$p^\prime = RT\left[(e^{-a/(RTV)})^\prime (V -b)^{-1} + (-1)(1)(V -b)^{-2}e^{-a/(RTV)} \right] \tag{1}$$ $$p^\prime = -RTe^{-a/(RTV)}\left[ {a\over RT}(V^{-2})(V -b)^{-1} + (V - b)^{-2} \right] \tag{2}$$ $$p^\prime = -RTe^{-a/(RTV)}(V -b)^{-1}\left[ {a\over RT}(V^{-2}) + (V - b)^{-1} \right] \tag{3}$$ $$\bbox[5px,Border:2px solid black]{p^\prime = -p\left[ {a\over RT}(V^{-2}) + (V - b)^{-1} \right]} \tag{4}$$
And differentiating it again w.r.t to V
$$\bbox[5px,Border:2px solid black]{p^{\prime\prime} = p^\prime\left({a\over RT}(V^{-2} - (V - b)^{-1})\right) + \left[ {a \over RT}(-2)V^{-3} + (V- b)^{-2} \right]p} \tag {5}$$
Now equating $(5)$ and $(4)$ to zero I get,
For $(4)$ $$p^\prime = -p\left[ {a\over RT}(V^{-2}) + (V - b)^{-1} \right] = 0$$ $$\left[ {a\over RT}(V^{-2}) + (V - b)^{-1} \right] = 0$$ $$RTV^2 - aV + ab = 0 \tag{6}$$
For $(5)$ Since we know $p^\prime = 0$
$$0 = \left[ {a \over RT}(-2)V^{-3} + (V- b)^{-2} \right]p$$ $${a\over RTV^3} = \frac1{V^2 + b^2 -2Vb}$$ $${ RTV^3\over a} = {V^2 + b^2 -2Vb} \tag {7}$$
Now to get the critical constants I need to solve for $V$ and $T$ in equations $(6)$ and $(7)$. I tried it but I ended up in a mess.
I need help as to how to solve these equations conviently. Thanks.