English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
This method returns the arctangent value of the specified value.
atan(X)
X-Specify a value for the arctangent function.
The return value is a floating-point value representing the arctangent value.
-module(helloworld). -import(math,[atan/1] -export([start/). start() -> Atan = atan(0.7071, io:fwrite("~p~n",[Atan]).
When we run the above program, we will get the following results.
0.6154751878649041