TypeError: ufunc 'multiply' did not contain a loop with signature matching types dtype('S32') dtype('S32') dtype('S32') : <p>I am new to coding but I am trying to create a really simple program that will basically plot a line. The user will input values for v and a then v and a and x  will determine y. I attempted to do this with this:</p>

<pre><code>x = np.linspace(0., 9., 10)
a = raw_input('Acceleration =')
v = raw_input('Velocity = ')
y=v*x-0.5*a*x**2.
</code></pre>

<p>basically this will represent a parabola where v is velocity, a is acceleration and x is time. But, I keep getting this error:</p>

<pre><code>TypeError: ufunc 'multiply' did not contain a loop with signature matching types dtype('S32'
) dtype('S32') dtype('S32')
</code></pre>
