Deriving maximum and minimum phase RGB from sine wave grating

How can I find the RGB values of magenta-cyan grating’s RGB values from the sine wave’s pixel values?

You provide no context, nor even an intelligible question, please try again

I explained it more clearly under this topic: [Deriving maximum and minimum RGB values from sine wave grating] (Deriving maximum and minimum RGB values from sine wave grating)