%disesp.m
%distribuzione esponenziale

figure(1);
clear;
lambda=1.2;
n=6;
x=[0:0.1:n];
y=lambda*exp(-lambda*x);
plot(x,y)
axis([0 6 0 1.3]);
xlabel('x')
ylabel('\rho(x)')
text(4.5,1,'\lambda=1.2')
