Sine Wave using script with changing amplitude

hello guys … i got a problem in creation of sine wave. i want to show ripple water effect using sine wave. That’s why i require sine wave with decreasing amplitude… so… plz do help me…