
Nitin P. answered 06/24/20
Machine Learning Engineer - UC Berkeley CS+Math Grad
The formula for the line integral is:
∫f(r)ds = ∫f(r(t))Tr'(t)dt
So, we need to take the derivative of the curve, and take the dot product of f(r(t)) and r'(t). We have:
r'(t) = [-sin t, cos t]
f(r(t)) = [2 tan t, 1 + cot2t] = [2 tan t, csc2t]
Therefore, we have:
∫f(r(t))Tr'(t)dt = ∫π/43π/4 (-2tan(t)sin(t) + csc2(t)cos(t))dt
I will leave the integral calculation up to you.