C# Complex Sin
Description
Complex Sin
Returns the sine of the specified complex
number.
Syntax
Complex.Sin
has the following syntax.
public static Complex Sin(
Complex value
)
Parameters
Complex.Sin
has the following parameters.
value
- A complex number.
Returns
Complex.Sin
method returns The sine of value.
Example
using System;/* ww w . ja va 2 s. co m*/
using System.Numerics;
public class Example
{
public static void Main()
{
Complex[] values = { 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.