%prob2 intensity = 0.1; for n=1:5 figure(n) function2; end;