Sie sind auf Seite 1von 1

Jaramillo Fernanda

ANEXO

CÓDIGO:

x1=linspace(20,40,100);
x2=linspace(40,60,100);
F1=((1/400)*d1)-(1/20);
F2=((-1/400)*d2)+(3/20);
figure(1)
plot(d1,F1,d2,F2)
xlabel('D [MW]')
ylabel('f(d) f densidad')
title('F densidad vs D')
x3=linspace(20,40,100);
x4=linspace(40,60,100);
F3=((1/800)*x3.*x3)-(x3/20)+(1/2);
F4=((-1/800)*x4.*x4)+(3*x4/20)-3.5;
figure(2)
plot(x3,F3,x4,F4)
xlabel('D [MW]')
ylabel('F(d) F Acumulada')
title('F Acumulada vs D')

GRÁFICA:

Das könnte Ihnen auch gefallen