% Find the limit of a function f
% Make sure the file f.m is contained in the same folder as this file

% Input: x = value at which you want to find the limit
%        delta = how close do you want to get to the value x

% Output: LL = limit from the left side
%         RL = limit from the right side

function [LL,RL] = limit(delta,x)

% Left limit
LL = f(x-delta);

% Right limit
RL = f(x+delta);
