function y = p(x)

n = 100;
% x = input(' Give the value for which you want to evaluate the polynomial ');
poly1 = 1;
for j = 1:n
    poly1 = poly1 + x^j;
end
y = poly1;
