Difference between revisions of "Manuals/calci/IMPOWER"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify"> Syntax </div></div> ---- <div id="4SpaceContent" align="left"><div class="ZEditBox" align=...")
 
 
(23 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify">
+
<div style="font-size:30px">'''IMPOWER(Complexnumber,n)'''</div><br/>
 +
*<math>Complexnumber</math>  is of the form <math>z=x+iy</math>
 +
*<math>n</math> is the power value.
 +
**IMPOWER(), returns a complex number raised to an integer power.
  
Syntax
+
==Description==
 +
*This function gives the value of powers of complex number.
 +
*DeMoivre's Theorem is a generalized formula to compute powers of a complex number in it's polar form.
 +
*<math>i</math> is the imaginary unit, <math>i=\sqrt{-1}</math>
 +
*Then the power of a complex number is defined by
 +
:<math>(z)^n=(x+iy)^n=r^n*e^{in\theta}=r^n(cosn\theta+isinn\theta)</math>
 +
where <math>r=\sqrt{x^2+y^2}</math> and  <math>\theta=tan^{-1}(\frac{y}{x})</math>, <math>\theta \isin (-\pi,\pi]</math>.
 +
*This formula is called DeMoivre's theorem of complex numbers.
 +
*We can use [[Manuals/calci/COMPLEX| COMPLEX]] function to convert real and imaginary number in to a complex number.
 +
*In IMPOWER(Complexnumber,n), <math>n</math> can be integer, fractional or negative.
 +
*If <math>n</math> is non-numeric, function will return error value.
  
</div></div>
+
==ZOS==
----
+
*The syntax is to calculate powers of Complex number in ZOS is <math>IMPOWER(Complexnumber,n)</math>.
<div id="4SpaceContent" align="left"><div class="ZEditBox" align="justify">
+
**<math>Complexnumber</math>  is of the form <math>z=x+iy</math>  
 +
**<math>n</math> is the power value.
 +
*For e.g.,IMPOWER("7-8i",6)
 +
{{#ev:youtube|QRkmmsadQhA|280|center|Impower}}
  
Remarks
+
==Examples==
  
</div></div>
+
#=IMPOWER("4+5i",3) = -235.99999+115i
----
+
#=IMPOWER("9-7i",4) = -14852-8063.999999i
<div id="2SpaceContent" align="left"><div class="ZEditBox" align="justify">
+
#=IMPOWER("6",9) = 10077696+0i
 +
#=IMPOWER("i",10) = -1+0i
  
Examples
+
==Related Videos==
  
</div></div>
+
{{#ev:youtube|dl_9NC_J6yo|280|center|IMPOWER}}
----
 
<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>
+
==See Also==
  
</div></div>
+
*[[Manuals/calci/IMREAL  | IMREAL ]]
----
+
*[[Manuals/calci/IMSUM  | IMSUM ]]
<div id="5SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"> 
+
*[[Manuals/calci/IMAGINARY  | IMAGINARY ]]
 +
*[[Manuals/calci/COMPLEX  | COMPLEX ]]
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">This function calculates a complex number in a + bi or a + bj text format raised to a power.</font></font></font>
+
==References==
 +
[http://en.wikipedia.org/wiki/De_Moivre's_formula  De Moivre's formula]
  
</div></div>
 
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"><font size="6">'''<font face="Arial">IMPOWER</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">num can be an integer, fractional, or negative. </font></font></font>
 
* <font color="#484848"><font face="Arial, sans-serif"><font size="2">A complex number raised to a power is calculated as follows: </font></font></font>
 
  
<font color="#484848"></font>
+
*[[Z_API_Functions | List of Main Z Functions]]
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2"></font></font></font>
+
*[[ Z3 |   Z3 home ]]
 
 
<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">'''IMPOWER'''</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">'''N'''</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 a complex number and N is the power that raise the complex number.</font></font></font>
 
 
 
</div></div>
 
----
 
<div id="12SpaceContent" class="zcontent" align="left">
 
 
 
{| id="TABLE1" class="SpreadSheet blue"
 
|- class="even"
 
| class=" " |
 
| Column1
 
| Column2
 
| Column3
 
| Column4
 
|- class="odd"
 
| class=" " | Row1
 
| class="sshl_f" | (-6.999999999999999)+(24.000000000000003)i
 
| class="                      " |
 
|
 
|
 
|- class="even"
 
| class="  " | Row2
 
| class="f52543                                                                                                                                                      " |
 
| class="sshl_f SelectTD" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|- class="odd"
 
| Row3
 
|
 
|
 
|
 
|
 
|- class="even"
 
| Row4
 
|
 
|
 
|
 
|
 
|- class="odd"
 
| class=" " | Row5
 
|
 
|
 
|
 
|
 
|- class="even"
 
| Row6
 
|
 
|
 
|
 
|
 
|}
 
 
 
<div align="left">[[Image:calci1.gif]]</div></div>
 
----
 
<div id="7SpaceContent" class="zcontent" align="left"> 
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">Let's see an example.</font></font></font>
 
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">I.e.=IMPOWER(“i+2i”,4) is -6.999+24i</font></font></font>
 
 
 
</div>
 
----
 
<div id="9SpaceContent" class="zcontent" align="left"><div>[[Image:equation%202.gif|100%px|http://store.zcubes.com/33975CA25A304262905E768B19753F5D/Uploaded/equation%202.gif]]</div></div>
 
----
 

Latest revision as of 05:02, 2 November 2020

IMPOWER(Complexnumber,n)


  • is of the form
  • is the power value.
    • IMPOWER(), returns a complex number raised to an integer power.

Description

  • This function gives the value of powers of complex number.
  • DeMoivre's Theorem is a generalized formula to compute powers of a complex number in it's polar form.
  • is the imaginary unit,
  • Then the power of a complex number is defined by

where and , .

  • This formula is called DeMoivre's theorem of complex numbers.
  • We can use COMPLEX function to convert real and imaginary number in to a complex number.
  • In IMPOWER(Complexnumber,n), can be integer, fractional or negative.
  • If is non-numeric, function will return error value.

ZOS

  • The syntax is to calculate powers of Complex number in ZOS is .
    • is of the form
    • is the power value.
  • For e.g.,IMPOWER("7-8i",6)
Impower

Examples

  1. =IMPOWER("4+5i",3) = -235.99999+115i
  2. =IMPOWER("9-7i",4) = -14852-8063.999999i
  3. =IMPOWER("6",9) = 10077696+0i
  4. =IMPOWER("i",10) = -1+0i

Related Videos

IMPOWER

See Also

References

De Moivre's formula