Simply put, all you'd need to do is add the two different parts of it together. The first part would be your sine function, and the second part your exponential curve. For the sine curve to repeat every 8 points, all you'd need is x={0,1,2,3....}, y=x*sin(2*pi/8).