Question: How can I integrate int((T(x) - a ) * diff(T(x),x ) ,x=0..L) ??

I have the following equation I need to integrate

R=int((T(x) - a ) * diff(T(x) ,x ) ,x=0..L)

T(0)=To

T(L)=a

 

Anyone know how to solve this???

Please Wait...