Sec Graph with transformations
Author: P.Collins

General Equation is 

position of the dots on the sliders below

Adjust A, n, E and B values by moving the

 y = A sin n(x - E) + B

π/3

π/6

2π/3

5π/6

-π/6

-π/3

-2π/3

-5π/6

7π/6

-7π/6

4π/3

-4π/3

Basic Equation y = sin(x)

5π/3

11π/6

A = 1 (slider from -12 to 12, step 0.25)
B = 0 (slider from -12 to 12, step 0.2)
E = 0 (slider from -6.283185307179586 to 6.283185307179586, step 0.2617993877991494)
n = 1 (slider from -5 to 5, step 0.1)
a: y = B
b: x = E
p(x) = sin(x)
text1: "y= " + A + " sin  " + n + "(x - " + E + ") + " + B + ""
f(x) = (A * sin((n * (x - E)))) + B