function verticalRegion(f, g, a, b)
%VERTICALREGION   Plots a vertically simple region
%   VERTICALREGION(f, g, a, b) plots the region between x = a
%   and x = b, bounded by the graphs y=f(x) and y=g(x).
fplot(f, [a, b]), hold on
fplot(g, [a, b], 'Linewidth', 2)
xcoord = linspace(a, b, 20);
ycoord = [f(xcoord); g(xcoord)];
plot([xcoord;xcoord], ycoord), hold off
end