Get reference code

Sine wave

Construction of a sine wave with the user's parameters
Timur2015-12-02 16:18:53

Quite recently user named Anton asked about the calculator .
The request was pretty straight: sin(3 pi:2+2t)

After the appearance of a new graphs on our site, I thought - why not?
And made a calculator that builds parametric sinusoid in range from 0 to 2\pi
Why parametric? Because the graph is represented by the following formula

y(x)=sin(kx+a), and the coefficients k and a can be set by user.

Some words about the form in which the user can set the coefficients.
There are three possible:

  1. Radian
    The number put in the box is interpreted as radians, for example, 2 radians

  2. Degrees
    The number put in the box is interpreted as degrees, for example, 60 degrees

  3. Pi radian
    The number put in the box is interpreted as a factor in front of the number \pi, for example, 2\pi radian.

By default, k = 1, a = 0, that gives us a classic graph y(x)=sin(x)

P.S. It is clear that when k is very large, the graph looks shitty, but what can you do - its linear approximation after all

Sine waveCreative Commons Attribution/Share-Alike License 3.0 (Unported)
Sine wave:

Request a calculator
View all calculators
(477 calculators in total. )