2024-09-23 17:51:45 +00:00
|
|
|
![A graph of sine and cosine](./assets/graphsincos.png)
|
|
|
|
|
|
|
|
Given the above graph:
|
|
|
|
- At the origin, $sin(x) = 0$ and $cos(x) = 1$
|
|
|
|
- A full wavelength takes $2\pi$
|
|
|
|
|
|
|
|
# Manipulation
|
2024-09-23 18:01:19 +00:00
|
|
|
| Formula | Movement |
|
|
|
|
| ---------------- | ---------------------------------- |
|
|
|
|
| $y = cos(x) - 1$ | Vertical shift down by 1 |
|
|
|
|
| $y = 2cos(x)$ | Vertical stretch by a factor of 2 |
|
|
|
|
| $y = -cos(x)$ | Flip over x axis |
|
|
|
|
| $y = cos(2x)$ | Horizontal shrink by a factor of 2 |
|
|
|
|
# Periodic Functions
|
|
|
|
A function is considered periodic if it repeats itself at even intervals, where each interval is a complete cycle, referred to as a *period*.
|
|
|
|
|
|
|
|
|
2024-09-26 14:27:06 +00:00
|
|
|
# Sinusoidal Functions
|
|
|
|
A function that has the same shape as a sine or cosine wave is known as a sinusoidal function.
|
|
|
|
|
2024-09-26 14:33:33 +00:00
|
|
|
There are 4 general functions:
|
2024-09-26 14:38:33 +00:00
|
|
|
|
|
|
|
| $$A * sin(B*x - C) + D$$ | $a$ |
|
|
|
|
| ------------------------ | --- |
|
|
|
|
|
2024-09-26 14:27:06 +00:00
|
|
|
|
|
|
|
| Variable | Meaning |
|
|
|
|
| -------- | --------------------------------------------------------------------------------------------- |
|
|
|
|
| $A$ | The amplitude of a function can be found by taking $\|A\|$. The sign flips it over the x axis |
|
|
|
|
| $B$ | Horizontal, or phase |
|
|
|
|
|
|
|
|
|
|
|
|
$$ y = A * \sin(B(x-\frac{C}{B})) $$
|