Write a sine function that has a midline of y, equals, 4, commay=4, an amplitude of 3 and a period of piπ.
A sine function with a midline of y = 4, an amplitude of 3, and a period of π can be written as:
f(x) = 3sin(x) + 4
In this equation, the 3 before the sine function represents the amplitude (the maximum distance the graph reaches from the midline, which is 4), and the 4 after the sine function represents the midline itself. The period of π means that the graph completes one cycle from 0 to π and back again to 0.