How to solve equations in Visual Basic
<p>I am creating a program that calculates the temperature distribution of a slab based on some boundary conditions using Visual Basic. During the development, I need to solve equations like this one:</p>

<pre><code>tan(x*L) = x * (H1 + H2) / (x^2 - H1*H2)
</code></pre>

<p>The variable in this case is x, and the constants L, H1 and H2 are given. I don't believe Visual Basic has a native solver so I need help in this one.</p>

<p>Thanks in advance,</p>

<p>Pedro Guaraldi</p>