Elixir: Module: Import Math Module
import :math, only: [sqrt: 1]
imports only the sqrt
function from the math
module. Followed by sqrt(2 * 9.8 * distance)
which then uses the sqrt
function.
import :math, only: [sqrt: 1]
imports only the sqrt
function from the math
module. Followed by sqrt(2 * 9.8 * distance)
which then uses the sqrt
function.