The functions

f(x)= (sqrt(x^2+1) - 1) /x^2 and g(x) = 1/ (sqrt(x^2+1) +1)

1)Using MATLAB compute the limit as x approaches to 0 by looking at the values x=1/2^i for i=1:30

2) What happens if you set r=sqrt(ulp) and evaluate f(r) and g(r)?

anything would help.