(I wasn't sure what to put for the title, so feel free to improve it if you can think of a better one.)
How do I evaluate an integral that contains an unknown function of the integration variable such as the following in Mathematica?
$$\int_{x_1}^{x_2} \frac{dy}{dx} dx$$
It should obviously give me back $y(x_2) - y(x_1)$.
continuousgiven (may be M should be able to do this also).int(diff(y(z),z),z=x1..x2,continuous)gives-y(x1)+y(x2)– Nasser Dec 10 '14 at 04:42