Line integral doesn't compute

Viewed 26

I'm asked to compute a line integral where

import sympy as sp 
import sympy.vector as sv 

C = sv.CoordSys3D("")
x, y, z = C.base_scalars()
i, j, k = C.base_vectors()

Ffield = sp.atan(x*y)*i + sp.acos(y*z)*j + sp.asin(x*z)*k
Gfield = x*y*z*i + sp.sqrt(x*y*z)*j
Afield = sv.gradient(Ffield.dot(Gfield))
Tpath = sv.ParametricRegion( (t,sp.exp(t),sp.ln(t)), (t,1,5) )

Now sv.vector_integrate(Afield,Tpath) never ends and I'm not sure why. The integrand looks complicated, but I think this is the method I should use.

0 Answers
Related