Erlang – tan
In this guide, we will discuss Erlang tan. This method returns the tangent of the specified value. Syntax tan(X) Parameters X - A value is specified for the tangent function.…
In this guide, we will discuss Erlang tan. This method returns the tangent of the specified value. Syntax tan(X) Parameters X - A value is specified for the tangent function.…
In this guide, we will discuss Erlang cos. This method returns the cosine of the specified value. Syntax cos(X) Parameters X - A value is specified for the cosine function.…
In this guide, we will discuss Erlang Sin. This method returns the sine of the specified value. Syntax sin(X) Parameters X - A value is specified for the sine function.…
In this guide, we will discuss Numbers in Erlang. In Erlang there are 2 types of numeric literals which are integers and floats. Following are some examples which show how…
In this guide, we will discuss Recursion in Erlang. Recursion is an important part of Erlang. First let’s see how we can implement simple recursion by implementing the factorial program.…
In this guide, we will discuss Modules in Erlang. Modules are a bunch of functions regrouped in a single file, under a single name. Additionally, all functions in Erlang must…
In this guide, we will discuss Functions in Erlang. Erlang is known as a functional programming language, hence you would expect to see a lot of emphasis on how functions…
In this guide, we will discuss Case Statements in Erlang. Erlang offers the case statement, which can be used to execute expressions based on the output of the case statement.…
In this guide, we will discuss Nested if Statements in Erlang. Sometimes, there is a requirement to have multiple if statements embedded inside of each other, as is possible in other programming…
The if expression also allows for multiple expressions to be evaluated at once. The general form of this statement in Erlang is shown in the following program − Syntax if condition1 ->…