---
schema_version: "1"
id: e517c93d10d1db3fe9e50043826b830f497d11b3c664b98c44dc814f1074d4d5
title: sin
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.7/dw-math-functions-sin.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.7/dw-math-functions-sin
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 75259f42a663adf9ee5e2ee435d4331a9446bb4c618852e88df87a3075c9df2c
description: MuleSoft Documentation Site
release: "2.7"
latest: false
---
# sin

## [](#sin1)sin(angle: Number): Number

ラジアンの特定の数値から角度の三角法の正弦を返します。

_DataWeave バージョン 2.4.0 で導入されました。_

### [](#パラメーター)パラメーター

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>angle</code></p></td>
<td class="tableblock halign-left valign-top"><div class="content"><div class="paragraph">
<p>角度のラジアンの数値。</p>
</div></div></td>
</tr>
</tbody>
</table>

### [](#例)例

次の例では、さまざまな入力での ​`sin`​ の動作を示します。

#### [](#ソース)ソース

```DataWeave
%dw 2.0
import * from dw::util::Math
output application/json
---
{
  "sin0": sin(0),
  "sin13": sin(0.13),
  "sin-1": sin(-1)
}
```

#### [](#出力)出力

```Json
{
  "sin0": 0.0,
  "sin13": 0.12963414261969486,
  "sin-1": -0.8414709848078965
}
```