title: Python: TypeError: 'exp' object is not callable
body: <p>while writing programm finding solutions of the equation I get following TypeError: 'exp' object is not callable. I don't understand what my mistake is...</p>
  
  <p>code below:</p>
  
  <pre><code>from scipy import *
  from numpy.linalg import *
  from sympy import *
  import sys
  import numpy
  import cmath
  import math
  from scipy import optimize
  
  from sympy.solvers import solve
  
  file=open('solve1.txt','w')
  print 'Start'
  
  y=Symbol('y')
  
  equat1=exp(-1.0j*(36.96*y**0.5+1.367*(-1.25*y+2.33)**0.5+30.996*(1.25*y-0.675)**0.5))
  
  Solution1 = optimize.brenth(equat1, 0.11, 0.14)
  
  print 'Solution first:'
  print Solution1
  file.write(str(Solution1))
  
  file.close()
  </code></pre>