This commit is contained in:
2026-01-11 13:07:35 +03:00
parent 36be46e88c
commit 71d1d2b37a
20 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
f = @(t,y) y.^2 - t;
y0 = 1;
tspan = [0 1.05]; % tspan = [0 1.5];
opts = odeset('RelTol',1e-12,'AbsTol',1e-14);
[t1,y1] = ode45(f,tspan,y0,opts);
plot(t1,y1)
print -dpng "plot.png"

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB