| Line 1: |
Line 1: |
| − | <div style="font-size:30px">'''IMLOG2(z)'''</div><br/> | + | <div style="font-size:30px">'''IMLOG2(Complexnumber)'''</div><br/> |
| − | *<math>z</math> is the complex number is of the form <math>x+iy</math> | + | *<math>Complexnumber</math> is of the form <math>z=x+iy</math> |
| | | | |
| | ==Description== | | ==Description== |
| | *This function gives the binary logarithm of a complex number. | | *This function gives the binary logarithm of a complex number. |
| − | *<math>IMLOG2(z)</math>, where <math>z</math> is the complex number in the form of <math>x+iy</math>. i.e. <math>x</math> & <math>y</math> are the real numbers. | + | *<math>IMLOG2(Complexnumber)</math>, where Complexnumber is in the form of <math>z=x+iy</math>. i.e. <math>x</math> & <math>y</math> are the real numbers. |
| − | *<math>I</math> imaginary unit .<math>i=\sqrt{-1}</math>. | + | *And <math>I</math> is the imaginary unit .<math>i=\sqrt{-1}</math>. |
| | *Binary logarithm is the inverse function of <math>n ↦ 2n</math>. | | *Binary logarithm is the inverse function of <math>n ↦ 2n</math>. |
| | *Log base 2 is called Binary logarithm. | | *Log base 2 is called Binary logarithm. |
| Line 11: |
Line 11: |
| | *So <math>log2(x+iy)=(log_2 e)ln(x+iy)</math>. | | *So <math>log2(x+iy)=(log_2 e)ln(x+iy)</math>. |
| | *We can use COMPLEX function to convert real and imaginary number in to a complex number. | | *We can use COMPLEX function to convert real and imaginary number in to a complex number. |
| | + | |
| | + | ==ZOS Section== |
| | + | *The syntax is to calculate Binary logarithm of a complex number is <math>IMLOG2(Complexnumber)</math>. |
| | + | **<math>Complexnumber</math> is of the form <math>z=x+iy</math>. |
| | + | *For e.g imlog2("2.1-3.5i") |
| | | | |
| | ==Examples== | | ==Examples== |