ID EN
#Engineering

IMLOG2

Excel Functions 🇮🇩 Bahasa Indonesia

Dapatkan log basis 2 dari bilangan kompleks.

Syntax

EXCEL
=IMLOG2(complex_num)

Arguments

Parameter Deskripsi
complex_num The complex number in the form "x+yi".

Return Value

Logaritma bilangan kompleks.

Details

Fungsi Excel IMLOG2 mengembalikan logaritma basis 2 dari bilangan kompleks. Misalnya, dengan masukan "-4i", fungsi akan mengembalikan "2-2.2661800709136i" sebagai keluaran. Bagian riil dari keluaran sama dengan logaritma (basis 2) besaran bilangan kompleks. Bagian imajiner dari keluarannya sama dengan sudut bilangan kompleks dibagi logaritma natural 2. Dalam matematika, logaritma kompleks dari basis apa pun dapat dijelaskan dalam logaritma natural menggunakan rumus perubahan basis. Di Excel, kita bisa mendefinisikan logaritma basis 2 kompleks menggunakan rumus berikut.

Contoh

Example 1

The Excel IMLOG2 function returns the base-2 logarithm of a complex number. For example, given the "-4i" input, the function returns "2-2.266180070913

EXCEL
=IMLOG2("0-4i") // returns 2 - 2.2661800709136i
Example 2

The real part of the output is equal to the logarithm (base 2) of the complex number's magnitude.

EXCEL
=LOG(IMABS("-4i"), 2) // returns 2
Example 3

The imaginary part of the output is equal to the angle of the complex number divided by the natural logarithm of 2.

EXCEL
=IMARGUMENT("-4i")/LN(2) // returns -2.266180071
Explanation

In Excel, we can define the complex base-2 logarithm using the following formula.

EXCEL
=IMDIV(IMLN("x+yi"),IMLN("2"))

See Also

IMLN IMLOG10 LOG