0

I can not for the life of me figure out how to solve for a cubic equation using visual basic. I have tried multiple codes found on the internet, but they do not work or there is code I do not understand (such as root.root).

Here is the equation I am trying to solve. Van der Waals equation

I am in a bind, this project is due Friday. Fortunately I have everything else done just need this peice.

Your help will be much appreciated.