clear
close all
syms y(t);
whos

syms f(t);
f=cos(t);
izvod=diff(f,t)

odj1 = diff(y,t )==1 + y ^2
ySol(t)=dsolve(odj1)

p0 =y(0) == 0
ySol(t)=dsolve(odj1,p0 )

fplot(ySol)

figure
fplot (ySol,[-1.5,1.5])



% Crtanje
figure;
fplot(f);


% Legenda
legend( 'location', 'northeast');




