Recall that the general shape of a sine function is of the form
![A\sin (Bx-C)+D](https://img.qammunity.org/2023/formulas/mathematics/college/690soqu4i5ojon350d2la4ink38w35fcuz.png)
where A is the amplitude of the function, D is the midline, the number C/B is the phase shift and the number is 2*pi/B is the period of the function.
In our case, we are told that A=4 and D=3. Since we are told a value of the period, but nothing about the phase shift, we will assume that the phase shift is 0. Then, we have the following equations
![(C)/(B)=0](https://img.qammunity.org/2023/formulas/mathematics/college/yo5mysd0rkhnix3tgqx95gr9o22wfck62f.png)
and
![(2\cdot\pi)/(B)=(8)/(5)](https://img.qammunity.org/2023/formulas/mathematics/college/oisetec8kwsr6fdhfzxuthjj9ewukeijwp.png)
Form the first equation, we can determine that C=0.
From the last equation, we can multiply both sides by 5*B, so we get
![8\cdot B=5\cdot2\cdot\pi=10\cdot\pi](https://img.qammunity.org/2023/formulas/mathematics/college/romtgw9a1t5w658m59owyfi7gdfznlhye9.png)
Finally, we divide both sides by 8, so we get
![B=(10\cdot\pi)/(8)=(5\cdot\pi)/(4)](https://img.qammunity.org/2023/formulas/mathematics/college/ettndlti1ld1osws4or80n7p4tu67c1bkz.png)
So, we end up with the following formula
![4\cdot\sin ((5\cdot\pi)/(4)x)+3](https://img.qammunity.org/2023/formulas/mathematics/college/tzee0j6hvffjdgp5gwg8mxqhstrdz2cwox.png)