REAL
Real(X) returns the real part of a complex variable X. Representing X as X_r + i*X_i, this function returns X_r.
Example: Y=Real(X)
The above example will set the real part of Y (Y_r) to the real part of X and the imaginary part of Y to zero.
Note that the Real function is used to extract the real part of a complex number variable or expression. It cannot be used for assigning the real part of a complex number. For example, the equation Real(X)=4 will produce an error. Instead you should just enter X=4 which will set X to 4 + i*0. If you wish to only set the real part of variable X, you can enter
X_r=4
See also: Imag, Magnitude, Angle, CIS, Complex Numbers, Mathematical Functions