clear all
close all
[tee yee]=expeuler_sajat(@de,0,3,0.1,30);
[tie yie]=impeuler_sajat(@de,0,3,0.1,30);
[tref yref]=expeuler_sajat(@de,0,3,0.001,3000);
subplot(2,1,1)
plot(tee,yee,':',tref,yref,'r')
legend('EE','Referenciamegoldás')
xlabel('t')
ylabel('y')
subplot(2,1,2)
plot(tie,yie,':',tref,yref,'r')
legend('IE','Referenciamegoldás')
xlabel('t')
ylabel('y')