%DGL 1.Ordnung Beispiel

function f = DGL_Bsp (x,t);
DGL_Bsp = t/x;
end

y_0 = 2;
t = linspace (0,20, 100);
y = lsode ("f", y_0, t);
plot (t,y)

title ('DGL Beispiel');
xlabel ('t');
ylabel ('x(t)');
replot
grid on
replot