This commit is contained in:
Miloslav Ciz 2025-05-03 16:21:08 +02:00
parent 46a27e1930
commit 783a41a7cf
18 changed files with 2157 additions and 2060 deletions

32
sin.md
View file

@ -48,17 +48,29 @@ Some additional facts and properties regarding the sine functions are:
- Sine and [cosine](cos.md) functions are used to draw [circles](circle.md). If you plot points with *x* coordinate equal to *sin(t)* and *y* coordinate equal to *cos(t)* for *t* going from 0 to *2 * pi*, you'll get a unit circle.
- *sin(x)^2 + cos(x)^2 = 1*
Some values of the sine function are:
Some values of the sine (and cosine) function are:
| x (rad) | x (deg) | sin(x) |
|----------|----------|--------------------|
| 0 | 0 | 0 |
| pi / 12 | 15 | ~0.259 |
| pi / 6 | 30 | 0.5 |
| pi / 4 | 45 | sqrt(2)/2 ~= 0.707 |
| pi / 3 | 60 | sqrt(3)/2 ~= 0.866 |
| pi / 2 | 90 | 1 |
| 2 pi | 360 | 0 |
| x (rad) | x (deg) | sin(x) | cos(x) |
|-----------|----------|--------------------|----------------------|
| -2 * pi | -360 | 0 | 1 |
| -pi * 3/2 | -270 | 1 | 0 |
| -pi | -180 | 0 | -1 |
| -pi / 2 | -90 | -1 | 0 |
| 0 | 0 | 0 | 1 |
| pi / 12 | 15 | ~0.258 | ~0.965 |
| pi / 6 | 30 | 0.5 | sqrt(3)/2 ~= 0.866 |
| pi / 4 | 45 | 1/sqrt(2) ~= 0.707 | 1/sqrt(2) ~= 0.707 |
| pi / 3 | 60 | sqrt(3)/2 ~= 0.866 | 0.5 |
| pi * 5/12 | 75 | ~0.965 | ~0.258 |
| pi / 2 | 90 | 1 | 0 |
| pi * 7/12 | 105 | ~0.965 | ~-0.258 |
| pi * 2/3 | 120 | sqrt(3)/2 ~= 0.866 | -0.5 |
| pi * 3/4 | 135 | 1/sqrt(2) ~= 0.707 | -1/sqrt(2) ~= -0.707 |
| pi * 5/6 | 150 | 0.5 | -sqrt(3)/2 ~= -0.866 |
| pi * 11/12| 165 | ~0.258 | ~-0.965 |
| pi | 180 | 0 | -1 |
| pi * 3/2 | 270 | -1 | 0 |
| 2 * pi | 360 | 0 | 1 |
## Programming