B(1)=5000;

for i=[1:10]
    B(i+1)=B(i)+B(i)*0.20;
end

B
