Difference between revisions of "Manuals/calci/IMSUB"

From ZCubes Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<div style="font-size:30px">'''IMSUB(z1,z2)'''</div><br/>
+
<div style="font-size:30px">'''IMSUB(Complexnumber1,Complexnumber2)'''</div><br/>
* <math> z1, z2</math> are the complex numbers is of the form <math>a+ib</math>  
+
* <math>Complexnumbers</math> are of the form <math>z=a+ib</math>  
  
 
==Description==
 
==Description==
  
 
*This function gives the difference of the two complex numbers.
 
*This function gives the difference of the two complex numbers.
*IMSUB(z1,z2), where <math> z1,z2</math> are  the complex number is of the form  <math>a+ib</math>.
+
*In <math>IMSUB(Complexnumber1,Complexnumber2)</math>, where Complexnumbers are  of the form  <math>z=a+ib</math>.
 
*<math> a </math>& <math>b</math> are the real numbers. <math>i</math> imaginary unit .<math>i=\sqrt{-1}</math>.
 
*<math> a </math>& <math>b</math> are the real numbers. <math>i</math> imaginary unit .<math>i=\sqrt{-1}</math>.
* Let <math>z1=a+ib</math> and <math>z2=c+id</math>.
+
*Let <math>z1=a+ib</math> and <math>z2=c+id</math>.
 
*The difference of two complex number is:<math>(a+ib)-(c+id)=(a-c)+(b-d)i </math> where <math>a,b,c</math> and <math>d</math> are real numbers.
 
*The difference of two complex number is:<math>(a+ib)-(c+id)=(a-c)+(b-d)i </math> where <math>a,b,c</math> and <math>d</math> are real numbers.
*We can use COMPLEX function to convert real and imaginary number in to a complex number.
+
*We can use [[Manuals/calci/COMPLEX| COMPLEX]]  function to convert real and imaginary number in to a complex number.
 +
 
 +
==ZOS Section==
 +
*The syntax is to calculate the difference of the complex numbers in ZOS is <math>IMSUB(Complexnumber1,Complexnumber2)</math>.
 +
** <math>Complexnumbers</math> are of the form <math>z=a+ib</math>
 +
*For e.g.,IMSUB("4+5i","9-3i")
  
 
==Examples==
 
==Examples==

Revision as of 22:53, 26 June 2014

IMSUB(Complexnumber1,Complexnumber2)


  • are of the form

Description

  • This function gives the difference of the two complex numbers.
  • In , where Complexnumbers are of the form .
  • & are the real numbers. imaginary unit ..
  • Let and .
  • The difference of two complex number is: where and are real numbers.
  • We can use COMPLEX function to convert real and imaginary number in to a complex number.

ZOS Section

  • The syntax is to calculate the difference of the complex numbers in ZOS is .
    • are of the form
  • For e.g.,IMSUB("4+5i","9-3i")

Examples

  1. IMSUB("6+4i","5+3i")=1+1i
  2. IMSUB("3+4i","6+7i")=-3-3i
  3. IMSUB("8","9+10i")=-1-10i
  4. IMSUB("5+7i","3")=2+7i

See Also

References

Complex number