The equation for the sinusoidal function described is given as follows:

<h3>What is a sinusoidal function?</h3>
We want a function with a y-intercept at it's maximum value, hence we use the cosine equation, given by:

In which:
- 2A is the amplitude, which is the difference between the largest and smallest value.
- C is the vertical shift, considering that the standard cosine function has range between -A and A.
The amplitude is of 8, hence 2A = 8 -> A = 4. This would represent a function between -4 and 4, but we want between -2 and 6, hence the vertical shift is of C = 2.
As for the period, we have that:

Then, the equation is given by:

More can be learned about sinusoidal functions at brainly.com/question/26315885
#SPJ1