%% Product of Functions
% Create a symbolic expression F that is the integral of a product of functions.

syms u(x) v(x)
F = int(u*diff(v))

% Apply integration by parts to F.

g = integrateByParts(F,diff(u))

%
% Copyright 2019 The MathWorks, Inc.