Math Lab

y = A sin(ωx + φ)

Trigonometry · Class XI

Tune amplitude, angular frequency and phase and see the sine wave change shape.

1
type a value
05
1
type a value
0.16
0
type a value
-3.143.14
Live values
  • Period6.2832
  • Frequency0.1592
  • Max value1
xy
  • y = A sin(ωx + φ)

Formulas in this lab

  • Period
    T=2πωT = \dfrac{2\pi}{\omega}
  • Frequency
    f=ω2πf = \dfrac{\omega}{2\pi}
  • Max value
    ymax=Ay_{\max} = A
Tip: Set A = 1, ω = 1, φ = 0 to recover plain sin(x).

Frequently asked questions

What does the sine wave $y = A\sin(\omega x + \phi)$ mean?

$A$ is the amplitude (peak height), $\omega$ is the angular frequency (radians per unit $x$) and $\phi$ is the phase shift. The period is $T = 2\pi/\omega$ and the wave repeats forever. This is the prototype for every periodic phenomenon in physics.

How do I use the sine wave lab?

Slide $A$, $\omega$ and $\phi$ independently and watch the wave stretch vertically, squeeze horizontally and slide left or right. Try $A = 2$, $\omega = 2$, $\phi = \pi/2$ — you get a cosine. The lab shows the period $T$ live so the algebra-to-graph link clicks.

Why does my JEE Physics SHM question use $y = A\sin(\omega t + \phi)$ too?

Simple harmonic motion has identical algebra, just with $t$ instead of $x$. So a spring-mass system bobbing 5 cm with period 2 s gives $A = 5$ cm and $\omega = \pi$ rad/s. Mastering this lab speeds up oscillation problems in both Physics and Maths.

Phase shift $\phi$ versus horizontal shift: how are they related?

Writing $A\sin(\omega(x - x_0))$ shows the curve is shifted by $x_0 = -\phi/\omega$. So $\phi = \pi/2$ with $\omega = 1$ pushes the graph left by $\pi/2$. Students often confuse the sign — the lab flips the wave so you see whether you went left or right.