Well, if I have a gradient field, then if I try to compute this line integral, I know it will be the value of the function at the endpoint minus the value at the starting point.
如果有一个梯度场,然后想计算线积分,我知道积分值是,起点的函数值减去终点的函数值。
2
Then use the lineTo API to draw a line from the start point to the end point passed in to the lineTo call.
然后使用lineTo API来从这个起始点到传递到这个lineTo调用中的端点之间绘制一条直线。
3
P1 If we have a curve c, from a point p0 to a point p1 then the line integral for work depends only on the end points and not on the actual path we chose.