Difference between revisions of "Manuals/calci/IMSQRT"

From ZCubes Wiki
Jump to navigation Jump to search
Line 16: Line 16:
 
==Examples==
 
==Examples==
  
=IMSQRT("2+3i")=1.67414922803554+0.895977476129838i
+
#=IMSQRT("2+3i")=1.67414922803554+0.895977476129838i
=IMSQRT("-4-5i")=1.09615788950152-2.2806933416653i
+
#=IMSQRT("-4-5i")=1.09615788950152-2.2806933416653i
=IMSQRT("7")=2.64575131106459                   
+
#=IMSQRT("7")=2.64575131106459                   
=IMSQRT("8i")=2+2i
+
#=IMSQRT("8i")=2+2i
</div></div>
 
----
 
<div id="8SpaceContent" align="left"><div class="ZEditBox" align="justify">'''<font face="Times New Roman">''''''''''''<font size="6"> </font>''' '''''''''</font>'''</div></div>
 
----
 
<div id="11SpaceContent" align="left"><div class="ZEditBox mceEditable" align="justify">
 
 
 
<font size="5">Description</font>
 
 
 
</div></div>
 
----
 
<div id="5SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"> 
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">This function calculates the square root of a complex number in a + bi or a + bj text format.</font></font></font>
 
 
 
</div></div>
 
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"><font size="6"> '''<font face="Arial">IMSQRT</font>'''</font></div></div>
 
----
 
<div id="1SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"> 
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">The square root of a complex number is: </font></font></font>
 
 
 
<font color="#484848"></font>
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2"></font></font></font>
 
 
 
<font color="#484848"></font>
 
 
 
</div></div>
 
----
 
<div id="6SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"> 
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">'''IMSQRT'''</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">(</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">'''IN'''</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">)</font></font></font>
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">where IN</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">   is the complex number </font></font></font>
 
 
 
</div></div>
 
----
 
<div id="7SpaceContent" class="zcontent" align="left">
 
 
 
{| id="TABLE3" class="SpreadSheet blue"
 
|- class="even"
 
| class=" " |
 
| Column1
 
| Column2
 
| Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class="sshl_f" | 1.455346690225355+0.34356074972251243i
 
| class="                                                    " |
 
|
 
|
 
|- class="even"
 
| class="  " | Row2
 
| class="f52543                                                                                                      " |
 
| class="SelectTD" |
 
|
 
|
 
|- class="odd"
 
| Row3
 
|
 
|
 
|
 
|
 
|- class="even"
 
| Row4
 
|
 
|
 
|
 
|
 
|- class="odd"
 
| class=" " | Row5
 
|
 
|
 
|
 
|
 
|- class="even"
 
| Row6
 
|
 
|
 
|
 
|
 
|}
 
 
 
<div align="left">[[Image:calci1.gif]]</div></div>
 
----
 
<div id="9SpaceContent" class="zcontent" align="left"><font size="2" face="Arial">  </font>
 
 
 
<font size="2" color="#484848"><font size="2" face="Arial">Let's see an example</font></font>
 
 
 
<font size="2" color="#484848"><font size="2" face="Arial">I.e =IMSQRT(“2+i”) is 1.4553+0.34356i</font></font>
 
 
 
</div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div>[[Image:equation%202sqrt.jpg|100%px|http://store.zcubes.com/33975CA25A304262905E768B19753F5D/Uploaded/equation%202sqrt.jpg]]</div></div>
 
----
 

Revision as of 22:24, 18 December 2013

IMSQRT(z)


  • is the complex number is of the form


Description

  • This function gives square root of a complex number.
  • IMSQRT(z), Where z is the complex number is in the form of "x+iy".
  • where x&y are the real numbers.'i' imaginary unit ..
  • The square root of a complex number is defined by Failed to parse (syntax error): {\displaystyle \sqrt{z}=\sqrt{x+iy}=\sqrt{r.e^iθ}=\sqrt{r}(cos(θ/2)+isin(θ/2)}
  • where r is the modulus of z.
  • And θ is the argument of z. Failed to parse (syntax error): {\displaystyle θ=tan^{-1}(y/x)} also θ∈(-Pi(),Pi()].
  • We can use COMPLEX function to convert real and imaginary number in to a complex number.


Examples

  1. =IMSQRT("2+3i")=1.67414922803554+0.895977476129838i
  2. =IMSQRT("-4-5i")=1.09615788950152-2.2806933416653i
  3. =IMSQRT("7")=2.64575131106459
  4. =IMSQRT("8i")=2+2i