2024-03-13 14:22:22 -07:00
|
|
|
---
|
|
|
|
title: "legAngX"
|
2024-08-06 20:27:26 -04:00
|
|
|
excerpt: "Compute the angle of the given leg for x."
|
2024-03-13 14:22:22 -07:00
|
|
|
layout: manual
|
|
|
|
---
|
|
|
|
|
2024-08-06 20:27:26 -04:00
|
|
|
Compute the angle of the given leg for x.
|
2024-03-13 14:22:22 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
2024-03-13 15:43:42 -07:00
|
|
|
```js
|
2024-03-13 14:22:22 -07:00
|
|
|
legAngX(hypotenuse: number, leg: number) -> number
|
|
|
|
```
|
|
|
|
|
2024-03-26 21:28:50 -07:00
|
|
|
### Tags
|
|
|
|
|
|
|
|
* `utilities`
|
|
|
|
|
2024-03-13 14:22:22 -07:00
|
|
|
### Examples
|
|
|
|
|
2024-03-13 15:43:42 -07:00
|
|
|
```js
|
2024-03-13 14:22:22 -07:00
|
|
|
legAngX(5, 3)
|
|
|
|
```
|
|
|
|
|
|
|
|
### Arguments
|
|
|
|
|
|
|
|
* `hypotenuse`: `number` (REQUIRED)
|
|
|
|
* `leg`: `number` (REQUIRED)
|
|
|
|
|
|
|
|
### Returns
|
|
|
|
|
|
|
|
`number`
|
|
|
|
|
|
|
|
|
|
|
|
|