function [x ,dx,d2x] = exter(y)
if y<=0.5
x=0.02*y;
dx=0.02;
d2x=0;
elseif y>0.5
x=0.5*0.02+0.1*(y-0.5);
dx=0.1;
d2x=0;
end
end
