title: Beginner programmer trying to graph an equation in python
body: <p><img src="https://i.stack.imgur.com/6udRl.png" alt="enter image description here"></p>
  
  <p>Given this equation for deflection of a beam, I'm asked to plot it but I keep getting this error message:</p>
  
  <p>Here is my code:</p>
  
  <pre><code>import math
  import matplotlib.pyplot as plt
  import scipy.constants
  import numpy as np
  
  p_l = 2.5
  E = 50000
  I = 30000
  L = 600
  
  fsy = 6
  fsx = scipy.constants.golden
  
  dx = 0.01
  x_max = 100
  x = np.arange(0.0, x_max + dx, dx)
  
  v_x = ((p_l)/(E*I*L))*((-x**5)+(2(600**2)*(x**3))-(600**4)*x)
  
  fig = plt.figure(figsize = (fsx, fsy))
  
  plt.plot(x, v_x, color = 'k', linestyle = '-', linewidth = 2.0, marker = '.')
  
  plt.title("Plot of v(x)", fontsize=15)
  plt.xlabel(" ($s$)")
  plt.ylabel("$y$ ($m$)")
  plt.ylim(-105, 105)
  plt.legend()
  plt.show()
  </code></pre>
  
  <p>and here is the error message i keep getting:</p>
  
  <pre><code>TypeError                                 Traceback (most recent call last)
  &lt;ipython-input-37-4d6b17714a72&gt; in &lt;module&gt;
       18 x = np.arange(0.0, x_max + dx, dx)
       19 
  ---&gt; 20 v = ((p_l)/(E*I*L))*((-x**5)+(2(600**2)*(x**3))-(600**4)*x)
       21 
       22 fig = plt.figure(figsize = (fsx, fsy))
  
  TypeError: 'int' object is not callable
  </code></pre>
  
  <p>Please help if you can! Much appreciated</p>