Create the OSCILLATEBOUND function.


 function oscillateBound(x,amplitude);
       if amplitude le 0 then amp=1; else amp=amplitude;
       y=constant("e")**(-amp*x); 
       return (y);
  endsub;
 run;