I am stuck on the following problem:
Evaluate $\int_c xdx + ydy +zdz$ where $C$ is the line segment from $(4,1,1)$ to $(7,-2,4).$
I found the line equations (I believe that's what they're called) for $x, y,$ and $z$, getting $$x(t)=3t+4$$ $$y(t)=-3t+1$$ $$z(t)=3t+1$$ Then the derivatives equal $$x'(t)=z'(t)=3$$$$y'(t)=-3$$ And plugging it into $\int_c xdx + ydy +zdz$ gives: $$\int_c (3t+4)(3)dt$$ $$\int_c (-3t+1)(-3)dt$$ $$\int_c (3t+1)(3)dt$$ I got this question wrong so I'm probably way off the mark by now so I'll leave my thought process at that. I would appreciate if anyone can help, and also explain what the limits of the integral become (what to replace $C$ with).