3.5.1.4.13 ImLog10

Description

Calculate the base 10 logarithm of a complex.

ImLog10 \left( x+iy \right ) = \frac{ImLn(x+iy)}{ImLn(10)}

where ImLn computes the natural logarithm of the complex, and i=\sqrt{-1}.

Syntax

complex ImLog10(complex cX)

Parameters

cX

The complex number.

Return

Return the base 10 logarithm of the specified complex.

Example

imLog10(3+4i) = ;  // 0.69897000433602+0.40271919627337i
 
complex c1 = 1+1i;
complex c2;
c2 = imLog10(c1);
c2 = ;  // 0.15051499783199+0.34109408846046i

See Also

ImExp, ImLn, ImLog2