package wip

This commit is contained in:
2026-01-23 16:47:56 +11:00
parent f6bfa6b8fd
commit 904ef85f54
18 changed files with 259 additions and 6 deletions

14
math/docs/trig/cos.md Normal file
View File

@@ -0,0 +1,14 @@
# math_Cos
Get the cosine of a certain amount of radians.
## Arguments
- x (double): Number (in radians)
## Returns
result (double): The cosine of the number in radians
## Example
```python
call !math_Cos 3.14159 &result
println $result # -1
```

View File

@@ -0,0 +1,14 @@
# math_DegreesToRadians
Convert degrees to radians.
## Arguments
- x (double): Number of degrees
## Returns
result (double): x degrees in radians
## Example
```python
call !math_DegreesToRadians 180.0 &result
println $result # 3.14159
```

View File

@@ -0,0 +1,14 @@
# math_RadiansToDegrees
Convert radians to degrees.
## Arguments
- x (double): Number of radians
## Returns
result (double): x radians in degrees
## Example
```python
call !math_RadiansToDegrees 3.14159 &result
println $result # 180.0
```

14
math/docs/trig/sin.md Normal file
View File

@@ -0,0 +1,14 @@
# math_Sin
Get the sine of a certain amount of radians.
## Arguments
- x (double): Number (in radians)
## Returns
result (double): The sine of the number in radians
## Example
```python
call !math_Sin 3.14159 &result
println $result # 0
```

14
math/docs/trig/tan.md Normal file
View File

@@ -0,0 +1,14 @@
# math_Tan
Get the tangent of a certain amount of radians.
## Arguments
- x (double): Number (in radians)
## Returns
result (double): The tangent of the number in radians
## Example
```python
call !math_Tan 3.14159 &result
println $result # 0
```