Difference between revisions of "Manuals/calci/GETREALORCOMPLEX"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="font-size:30px">'''GETREALORCOMPLEX (x,y)'''</div><br/> | <div style="font-size:30px">'''GETREALORCOMPLEX (x,y)'''</div><br/> | ||
+ | where | ||
+ | *<math>x</math> and <math>y</math> are any real numbers. | ||
+ | **GETREALORCOMPLEX() converts the real and imaginary numbers into a complex number. | ||
− | + | ==Description== | |
− | |||
− | |||
− | |||
*A complex number is a combination of a real and an imaginary number. | *A complex number is a combination of a real and an imaginary number. | ||
*A number which is positive or negative, rational or irrational or decimals are called real numbers. | *A number which is positive or negative, rational or irrational or decimals are called real numbers. | ||
Line 11: | Line 11: | ||
*For e.g. <math>{-4}^2</math> =16. Because a negative times a negative is positive. | *For e.g. <math>{-4}^2</math> =16. Because a negative times a negative is positive. | ||
*A complex number is a number is in the form <math>z = a + bi</math>, where <math>a</math> and <math>b</math> are real numbers and <math>i</math> is the imaginary unit. Where <math>i=\sqrt{-1}</math>. | *A complex number is a number is in the form <math>z = a + bi</math>, where <math>a</math> and <math>b</math> are real numbers and <math>i</math> is the imaginary unit. Where <math>i=\sqrt{-1}</math>. | ||
− | + | GETREALORCOMPLEX (x,y) | |
− | *Here suffix value is considered as <math> | + | *<math>x</math> is the real part of the complex number, <math>y</math> is the imaginary part of the complex number. |
+ | *Here suffix value is considered as <math>i</math>. | ||
*This function returns the error value, when real and imaginary are non-numeric. | *This function returns the error value, when real and imaginary are non-numeric. | ||
*A Complex number whose real part is zero is said to be purely imaginary. | *A Complex number whose real part is zero is said to be purely imaginary. | ||
Line 23: | Line 24: | ||
# GETREALORCOMPLEX(5.2,-3.1) = 5.2-ⅈ3.1 | # GETREALORCOMPLEX(5.2,-3.1) = 5.2-ⅈ3.1 | ||
# GETREALORCOMPLEX(-11,-12) = -11-ⅈ12 | # GETREALORCOMPLEX(-11,-12) = -11-ⅈ12 | ||
+ | |||
+ | ==Related Videos== | ||
+ | |||
+ | {{#ev:youtube|v=1Eu66E_MoQ8|280|center|Complex}} | ||
==See Also== | ==See Also== |
Latest revision as of 14:19, 18 March 2019
GETREALORCOMPLEX (x,y)
where
- and are any real numbers.
- GETREALORCOMPLEX() converts the real and imaginary numbers into a complex number.
Description
- A complex number is a combination of a real and an imaginary number.
- A number which is positive or negative, rational or irrational or decimals are called real numbers.
- An Imaginary number is a number that when squaring it gives a negative result.
- For e.g. =16. Because a negative times a negative is positive.
- A complex number is a number is in the form , where and are real numbers and is the imaginary unit. Where .
GETREALORCOMPLEX (x,y)
- is the real part of the complex number, is the imaginary part of the complex number.
- Here suffix value is considered as .
- This function returns the error value, when real and imaginary are non-numeric.
- A Complex number whose real part is zero is said to be purely imaginary.
- A Complex number whose imaginary part is zero is a real number.
- In that cases we have to assign '0' for that part.
Examples
- GETREALORCOMPLEX(9,3) = 9+ⅈ3
- GETREALORCOMPLEX(12,-90) = 12-ⅈ90
- GETREALORCOMPLEX(5.2,-3.1) = 5.2-ⅈ3.1
- GETREALORCOMPLEX(-11,-12) = -11-ⅈ12
Related Videos
See Also
References