---------------------------------------------------------------------------
KeyboardInterrupt Traceback (most recent call last)
<ipython-input-17-c0e7f4a49bc9> in <module>()
23 I = tplquad(lambda x,y,z:
24 Ga(x,y,z)*Gb(x,y,z)/sqrt((x-C[0])**2 + (y-C[1])**2 + (z-C[2])**2),
---> 25 upL, lowL, lambda y: upL, lambda y: lowL, lambda x,y: upL, lambda x,y: lowL)
26
27
/usr/lib/python2.7/dist-packages/scipy/integrate/quadpack.pyc in tplquad(func, a, b, gfun, hfun, qfun, rfun, args, epsabs, epsrel)
485
486 """
--> 487 return dblquad(_infunc2,a,b,gfun,hfun,(func,qfun,rfun,args),epsabs=epsabs,epsrel=epsrel)
/usr/lib/python2.7/dist-packages/scipy/integrate/quadpack.pyc in dblquad(func, a, b, gfun, hfun, args, epsabs, epsrel)
423
424 """
--> 425 return quad(_infunc,a,b,(func,gfun,hfun,args),epsabs=epsabs,epsrel=epsrel)
426
427 def _infunc2(y,x,func,qfun,rfun,more_args):
/usr/lib/python2.7/dist-packages/scipy/integrate/quadpack.pyc in quad(func, a, b, args, full_output, epsabs, epsrel, limit, points, weight, wvar, wopts, maxp1, limlst)
245 if type(args) != type(()): args = (args,)
246 if (weight is None):
--> 247 retval = _quad(func,a,b,args,full_output,epsabs,epsrel,limit,points)
248 else:
249 retval = _quad_weight(func,a,b,args,full_output,epsabs,epsrel,limlst,limit,maxp1,weight,wvar,wopts)
/usr/lib/python2.7/dist-packages/scipy/integrate/quadpack.pyc in _quad(func, a, b, args, full_output, epsabs, epsrel, limit, points)
310 if points is None:
311 if infbounds == 0:
--> 312 return _quadpack._qagse(func,a,b,args,full_output,epsabs,epsrel,limit)
313 else:
314 return _quadpack._qagie(func,bound,infbounds,args,full_output,epsabs,epsrel,limit)
/usr/lib/python2.7/dist-packages/scipy/integrate/quadpack.pyc in _infunc(x, func, gfun, hfun, more_args)
373 b = hfun(x)
374 myargs = (x,) + more_args
--> 375 return quad(func,a,b,args=myargs)[0]
376
377 def dblquad(func, a, b, gfun, hfun, args=(), epsabs=1.49e-8, epsrel=1.49e-8):
/usr/lib/python2.7/dist-packages/scipy/integrate/quadpack.pyc in quad(func, a, b, args, full_output, epsabs, epsrel, limit, points, weight, wvar, wopts, maxp1, limlst)
245 if type(args) != type(()): args = (args,)
246 if (weight is None):
--> 247 retval = _quad(func,a,b,args,full_output,epsabs,epsrel,limit,points)
248 else:
249 retval = _quad_weight(func,a,b,args,full_output,epsabs,epsrel,limlst,limit,maxp1,weight,wvar,wopts)
/usr/lib/python2.7/dist-packages/scipy/integrate/quadpack.pyc in _quad(func, a, b, args, full_output, epsabs, epsrel, limit, points)
310 if points is None:
311 if infbounds == 0:
--> 312 return _quadpack._qagse(func,a,b,args,full_output,epsabs,epsrel,limit)
313 else:
314 return _quadpack._qagie(func,bound,infbounds,args,full_output,epsabs,epsrel,limit)
/usr/lib/python2.7/dist-packages/scipy/integrate/quadpack.pyc in _infunc2(y, x, func, qfun, rfun, more_args)
429 b2 = rfun(x,y)
430 myargs = (y,x) + more_args
--> 431 return quad(func,a2,b2,args=myargs)[0]
432
433 def tplquad(func, a, b, gfun, hfun, qfun, rfun, args=(), epsabs=1.49e-8,
/usr/lib/python2.7/dist-packages/scipy/integrate/quadpack.pyc in quad(func, a, b, args, full_output, epsabs, epsrel, limit, points, weight, wvar, wopts, maxp1, limlst)
245 if type(args) != type(()): args = (args,)
246 if (weight is None):
--> 247 retval = _quad(func,a,b,args,full_output,epsabs,epsrel,limit,points)
248 else:
249 retval = _quad_weight(func,a,b,args,full_output,epsabs,epsrel,limlst,limit,maxp1,weight,wvar,wopts)
/usr/lib/python2.7/dist-packages/scipy/integrate/quadpack.pyc in _quad(func, a, b, args, full_output, epsabs, epsrel, limit, points)
310 if points is None:
311 if infbounds == 0:
--> 312 return _quadpack._qagse(func,a,b,args,full_output,epsabs,epsrel,limit)
313 else:
314 return _quadpack._qagie(func,bound,infbounds,args,full_output,epsabs,epsrel,limit)
<ipython-input-17-c0e7f4a49bc9> in <lambda>(x, y, z)
22
23 I = tplquad(lambda x,y,z:
---> 24 Ga(x,y,z)*Gb(x,y,z)/sqrt((x-C[0])**2 + (y-C[1])**2 + (z-C[2])**2),
25 upL, lowL, lambda y: upL, lambda y: lowL, lambda x,y: upL, lambda x,y: lowL)
26
/usr/lib/python2.7/dist-packages/sympy/functions/elementary/miscellaneous.pyc in sqrt(arg)
103 """
104 # arg = sympify(arg) is handled by Pow
--> 105 return C.Pow(arg, S.Half)
106
107
/usr/lib/python2.7/dist-packages/sympy/core/cache.pyc in wrapper(*args, **kw_args)
83 k = tuple(k)
84 try:
---> 85 return func_cache_it_cache[k]
86 except KeyError:
87 pass
/usr/lib/python2.7/dist-packages/sympy/core/numbers.pyc in __hash__(self)
1229
1230 def __hash__(self):
-> 1231 return super(Rational, self).__hash__()
1232
1233 def factors(self, limit=None, use_trial=True,
KeyboardInterrupt: