Lofted surface from damped sine wave formula?

maybe this helps