# Line integral, Error in my textbook?.

1. Dec 5, 2011

### armolinasf

1. The problem statement, all variables and given/known data

Evaluate the line integral:

int(ydx+xdy) where the path C is y=sinx from (0,0) to (pi/2,0)

2. Relevant equations

3. The attempt at a solution

(pi/2,0) is not a solution to y=sinx. I could use the fundamental theorem but for my potential function I get F(x,y)=xy which would give me zero with those endpoints...answer in the book gives pi/2. Is this an error? Thanks

2. Dec 5, 2011

### Dick

No, I don't think the answer pi/2 is an error. But I think the problem statement is an error. I think meant to say x from 0 to pi/2. Which makes the endpoints (0,0) and (pi/2,1).