I am getting a warning <RuntimeWarning: invalid value encountered in sqrt>
<p>I am trying to run a quadratic equation in python. However, it keeps on giving me a warning</p>

<pre><code>RuntimeWarning: invalid value encountered in sqrt
</code></pre>

<p>Here's my code:</p>

<pre><code>import numpy as np


a = 0.75 + (1.25 - 0.75)*np.random.randn(10000)
print(a)
b = 8 + (12 - 8)*np.random.randn(10000)
print(b)
c = -12 + 2*np.random.randn(10000)
print(c)
x0 = (-b - np.sqrt(b**2 - (4*a*c)))/(2 * a)
print(x0)
</code></pre>