C# Complex Asin

Description

Complex Asin Returns the angle that is the arc sine of the specified complex number.

Syntax

Complex.Asin has the following syntax.


public static Complex Asin(
  Complex value
)

Parameters

Complex.Asin has the following parameters.

  • value - A complex number.

Returns

Complex.Asin method returns The angle which is the arc sine of value.

Example

The following example illustrates the Asin method.


/*  w ww .  j  a  v  a  2 s.co m*/

using System;
using System.Numerics;

public class Example
{
   public static void Main()
   {
      Complex[] values = { new Complex(2.3, 1.4),
                           new Complex(-2.3, 1.4), 
                           new Complex(-2.3, -1.4),
                           new Complex(2.3, -1.4) };
      foreach (Complex value in values)
         Console.WriteLine("Sin(Asin({0})) = {1}", 
                            value, Complex.Sin(Complex.Asin(value)));
   }
}

The code above generates the following result.





















Home »
  C# Tutorial »
    System.Numerics »




BigInteger
Complex