% Simple implementation of the exp() function
% as straightforward Taylor series.
% Minas Spetsakis, Feb. 2018

xx = 2.5;
expres = 0;

for i=0:100
    expres = expres + xx^i/factorial(i);
end;
expres
