I have the following exercise:
We want to integrate the function $w=x+y^2$ and we have a path that begins from $A(0,0)$ and reaches at $B(1,1)$.
$$$$
Could you give me some hint what I am supposed to do?
Do I have to use the following formula? $$\int_C w ds= \int_a^b w(x(t), y(t), z(t)) \sqrt{x'^2(t)+y'^2(t)+z'^2(t)}dt$$
But how??
Yes! That's the formula to use, which integrates a function along a curve.
You're supposed to think up a formula for a (presumably straight) path $(x(t), y(t), z(t))$ that starts at A and ends at B. When you have it, you're supposed to substitute it in the formula and evaluate.