clear; close; clc;

GDP0=1;
g=0.01;
GDP(1) = GDP0;
for t = 2:10
    GDP(t) = GDP(t-1) * (1+g);
end

g = 100 * (GDP(2:end)./GDP(1:end-1) - 1);  % percent growth
lab = strings(size(g));
if g > 0 && g < 5
    lab = "Moderate expansion";
end