---
updatedAt: 2025-12-05T18:41:41.000Z
agentTools:
  projectIndex: https://docs.observeinc.com/llms.txt
---

# sin_deg

```
sin_deg(angle: float64) -> float64
```

Computes the sine of the input and returns a float64. The input should be expressed in degrees.

Arguments

1. angle (required)
   Angle in degrees, a float64

# Domain

This is a scalar function (calculates a single output value for a single input row).

# Categories

* [Numeric](function#numeric-functions)

# Examples

<OpalCodeBlock code={
`make_col sin:sin_deg(angle)
`}/>

Create a column 'sin' with the result of the sine of column 'angle'\
The resulting column will be in degrees.

Given the below column `angle`, `sin_deg` produces the below column `sin`

| angle | sin  |
| ----- | ---- |
| 0     | 0    |
| 45    | √2/2 |
| 60    | √3/2 |
| 90    | 1    |
| 180   | 0    |
| 270   | -1   |
| 360   | 0    |