## Built-in solutions ### [APL(Dyalog Unicode)][1], <sup><s></s></sup>1 bytes <sup>[SBCS][2]</sup> ``` ○ ``` [Try it on APLgolf!](https://razetime.github.io/APLgolf/?h=AwA&c=ezS9GwA&f=q3jUNsFAwVDh0HpDBQM9IyA2AWIzIN9AzxRMmisYKZgqGAIVmSoYAUkDA65HvZ0a6hXqCuqJxZl5GhWaIFZyfjGUVZIIFtPUedS7CogOrdB41NVUoakDsuLQeiMgNlZIO7RCASQKAA&i=AwA&r=tryapl&l=apl-dyalog&m=dfn&n=f) [1]: https://dyalog.com [2]: https://github.com/abrudz/SBCS Left argument chooses function: ``` ¯1○⍵ ⍝ asin ¯2○⍵ ⍝ acos ¯3○⍵ ⍝ atan ``` ### C, 17 Bytes ````C #include <math.h> // asin, acos, atan ```` ### C++, 16 Bytes ````C++ #include <cmath> // std::asin, std::acos, std::atan ```` ### [Go](https://go.dev) #### 13 bytes (reals only) ```go import."math" // Asin // Acos // Atan ``` [Attempt This Online!](https://ato.pxeger.com/run?1=RU5BasMwELzrFUIQkGBtZBOnpaCDf5B7W8oiqtSkloK8CYbgl_RiCr31A31Kf9NtUtPDzs4suzvz9r5L89cB_R53z7LHLoquP6RMpQo9qY8jheL22yyzHulFiRNmLQbXDrztXevTIMi1hFGYv4PPcIz-8k4beRYhZfkEo7xzMmNko_vH8JqQNuuzhQqKCmxZc625NlDYsvmFG6ihgYo3GqgZrZ34l5Tb3EUKWiH761UwbhUeCDnFv-Asi4gK5Ahy0KO5EL8QYmLEJKZr5nm-9h8) #### 19 bytes (includes complex numbers) ```go import."math/cmplx" // Asin // Acos // Atan ``` [Attempt This Online!](https://ato.pxeger.com/run?1=RU5BasMwELzrFUIQkGDtyKZOQ0AH_6D3phQhosSkkoysBEHwS3IxhZ577lP6m26Tmh52dnbZmZ3r-z5MX702R73fUac7TzrXh5hKZl1iH6dki_X3ct45nQ5L4_q3zMhZR04G1Q6oMao1YSBJtUl7Iv5kn_bkzc2UC3ohNkT6CpluFI3a47vnFxPQa5eren2RUEFRgSxrrAesFRSybH7hEWpooMKLBmpEKUe0o_Qpdj5ZzjRG4Asr1MJuk8Yg_wPGmQfPgGagA8_iRsxMEhJBRjLeY0_Tvf8A) ### JavaScript, 29 bytes ```javascript Math.asin Math.acos Math.atan ``` [Attempt This Online!](https://ato.pxeger.com/run?1=bVC7TgMxEBStv8Jy5RV31h0KEAmFAol00FDyUIzPASOfffiBwrfQpIC_gA-Br4nvHAUCFGvNjsazs_vyamwjl583whofsDJdDHiCnXyMyklK5p4Ac5I3U6XlxbMRtCowiWE-TrzvtAqUXJmEW97R89jeSgdHKJs56aMOPtnN3tKPcvxxxsM9414ZlJGwfo0CN1nztXMyY8Gplv71n0cj8OQ4pxwY-cT1QAOsx1otmbZ3lCwI63hzaho6BryLST-WLmDD1lWmU4b_6BToFw1b_tvdetV0qSYKSSkXosAiOujjIoxTP-SlWhlZYDXwPU6zkuxSXbNgp2ohGzqCrZnFj21N_8tslDV8bwjAHmxacDgW5FMu3ytUo7JGFdtLNUp1gMqK7ffPYdasAA) ### Pascal, 0 bytes Pascal is standardized by ISO standards 7185 (“Standard Pascal”) and 10206 (“Extended Pascal”). Both make the trigonometric functions `sin`, `cos` and `arctan` part of the language. There is no need (or option) to “import” these identifiers, hence 0 bytes. Unfortunately, there is no built-in function to _inverse_ the operations of `sin` and `cos`. See the [Pascal submission](/a/264796) for a full implementation of the task. ### [Python](https://www.python.org), 17 bytes ```python from math import* # asin, acos,atan ``` [Attempt This Online!](https://ato.pxeger.com/run?1=m72soLIkIz9vwYKlpSVpuhY31dKK8nMVchNLMhQycwvyi0q0uIptE4sz87iSbROT84u5SmwTSxLzoKrvpuUXKVQoZOYpRBvoGOroGuoY6BkBsQkQm-noGuiZggjzWCsuBYWCosy8Eo00JZBhGtUVVia1mrbVxRoVmlZ6pmm1MSUg0-HiyUjiQOvg4iUwcSVNLoTdRjqmOoZAB5jqGAFJAwOc9tnHlKBaBBHAYQPEk7CgAQA) ### [Python](https://www.python.org), 18 bytes (supports all real values) ```python from cmath import* #asin,acos,atan ``` [Attempt This Online!](https://ato.pxeger.com/run?1=m72soLIkIz9vwYKlpSVpuhY31dOK8nMVknMTSzIUMnML8otKtLiKbROLM_O4km0Tk_OLuUpsE0sS86DKe9LyixQqFDLzFKINdAx1dA11DPSMgNgEiM10dA30TEGEuY6RjqmOIVCFqY4RkDQwiLXiUlAoKMrMK9FIUwKZrlFdYWVaq2lbXaxRoWmlZ5pWG1MCsg4unowkDrQfLl4CE1fShLgJ5hUA) ### Rust ``` f64::asin f64::acos f64::atan ``` ### [sclin](https://github.com/molarmanful/sclin), 14 bytes ``` sin_ cos_ tan_ ``` [Try it on scline!](https://scline.fly.dev/##H4sIALRD8WQCA4s2UDBUMIxX0DNS0DNR0DNT0DMFcszjFWL1uKIVYooz8.IVYpLzi4FkSSKQHasQqGCi52eXolCUm1gAADMLI8g.AAAA) ### [Thunno 2](https://github.com/Thunno/Thunno2), 2 [bytes](https://github.com/Thunno/Thunno2/blob/main/docs/codepage.md) each ``` Æs # arcsin Æc # arccos Æt # arctan ``` [Try it online!](https://Not-Thonnu.github.io/run#aGVhZGVyPSU1QiZjb2RlPSVDMyU4NnMlMEElM0IlMEElQzMlODZjJTBBJTNCJTBBJUMzJTg2dCZmb290ZXI9JmlucHV0PS0wLjUmZmxhZ3M9) ### [Vyxal](https://github.com/Vyxal/Vyxal), 2 bytes each ``` ∆S # Arcsine ∆C # Arccosine ∆T # Arctangent ``` [Try it Online!](https://vyxal.pythonanywhere.com/?v=2#WyIiLCIiLCLiiIZTXG7iiIZDXG7iiIZUIiwiIiwiIl0=) ### [PHP], 0 bytes `asin`, `acos` and `atan` are already available under these names <!-- language-all: lang-php --> <pre><code></code></pre> [Try it online!][TIO-lm0ddqgk] [PHP]: https://php.net/ [TIO-lm0ddqgk]: https://tio.run/##bZDBagMhEIbvPoUsPaQha2Z0HFda6IO0PciSsoWSXbohl9Jn36okrg0ZcBz//xscnYZpeX6ZYl4@xu9D6IfNK@wk7mQbFyidEqXEUQJlc3bvMszy4Ry@Hn@EjHHohzGfpZJNEppYhPnzuMnQP7Uf5zvqKVTs27F5Er9C7LcC5DXWKgcq66C7ekLifeemL87eWRJtodsb2igk5It3odM/lH4NSNVVhj0VD73L9KoQoq1otN4Uz3RgE81FYTK2GtVrt9KWIM4d9zKb1YYLrRV4ouIRG060W1/iLFW0IdbFYwQntvvlDw "PHP – Try It Online"