function y=F2(x,h,c) if abs(x) < h; y = 1.0; else y = 0.0; end