Updated 23 Feb 2019
%% Divergence Theorem to Measure the Flow in a Control Volume (Rectangular Prism)
% Example Proof: flow = volume integral of the divergence of f (flux density*dV) = surface integral of the magnitude of f normal to the surface (f dot n) (flux*dS)
% by Prof. Roche C. de Guzman
Roche de Guzman (2019). Divergence Theorem (Gauss’, Ostrogradsky’s) to Measure Flow (https://www.mathworks.com/matlabcentral/fileexchange/70371-divergence-theorem-gauss-ostrogradsky-s-to-measure-flow), MATLAB Central File Exchange. Retrieved .
Create scripts with code, output, and formatted text in a single executable document.