Exemplo n.º 1
0
        public ComplexNumber Divide(ComplexNumber num)
        {
            ComplexNumber result = new ComplexNumber();

            result.SetPhasor(Magnitude / num.Magnitude, Angle - num.Angle);
            return(result);
        }
Exemplo n.º 2
0
        public ComplexNumber Multiply(ComplexNumber num)
        {
            ComplexNumber result = new ComplexNumber();

            result.SetPhasor(Magnitude * num.Magnitude, Angle + num.Angle);
            return(result);
        }
Exemplo n.º 3
0
 public ComplexNumber Divide(ComplexNumber num)
 {
     ComplexNumber result = new ComplexNumber();
     result.SetPhasor(Magnitude / num.Magnitude, Angle - num.Angle);
     return result;
 }
Exemplo n.º 4
0
 public ComplexNumber Multiply(ComplexNumber num)
 {
     ComplexNumber result = new ComplexNumber();
     result.SetPhasor(Magnitude * num.Magnitude, Angle + num.Angle);
     return result;
 }