Evaluate the line integral $$\int_C \ x^2 dx+(x+y)dy \ $$ where $C$ is the path of the right triangle with vertices $(0,0), (4,0)$ and $(0,10)$ starts from the origin and goes to $(4,0)$ then to $(0,10)$ then back to the origin.
I did this problem but the answer is incorrect. First I looked at it from $(0,0)$ to $(4,0)$ THe magnitude of $r'(t)$ was $4$. $r(t) = \langle 4t,0 \rangle$ for $0 \le t \le 1$. Using this information I got $40/3$ as my answer after evaluating the integral.
Then I looked at the point from $(4,0)$ to $(0,10)$ $r(t)=\langle 4-4t,10t \rangle$ for $0 \le t \le 1$ The magnitude of $r'(t)$ is $2 \sqrt{29}$ Using this information I got $\frac{74}{3}\sqrt{29}$ as my answer after evaluating the integral.
Then I looked at the point from $(0,10)$ to $(0,0)$ $r(t) = \langle 0,-10t \rangle$ for $-1 \le t \le 0$ The magnitude of $r'(t)$ is $10$ Evaluating the integral I got the answer of $50$
Adding all three my final answer was $196.1673986$ but lon capa says this is incorrect. Can someone tell me where I am making a mistake?