# How is the MESA sine wave calculated?

I've found many, many sites which describe what the MESA sine wave looks like and how to interpret it. But I have yet to find any site that describes the actual formula used to calculate the sine wave. (The lead wave I assume is simply the sine wave phase-shifted 45 degrees.)

-