function F = f3(x,r)
% composition of functions
F = f(f(f(x,r),r),r);