function r = reseni_sym(f)
%reseni_sym - reseni nelinearni rovnice pomoci symbolickeho toolboxu
%f...symbolicky vyraz (chceme f(x)=0)
%r...symbolicke reseni
%priklady volani:
%r=reseni_sym(t^2-2*t)
%r=reseni_sym(sin(t^2)-3+t)

if ~isa(f,'sym')
    error('Zadejte symbolicky vyraz')
end

r=solve(f);