The sin() function for complex number is defined in the complex header file.This function is the complex version of the sin() function. This function is used to calculate the complex sine of complex number z. This function returns the sine of complex number z.
- z: This method takes a mandatory parameter z which represents the complex number.
Return value: This function returns the sin() of complex number z.
Below programs illustrate the sin() function in C++:
The sin of (0,1) is (0,1.1752)
The sin of (1,0) is (0.841471,0)
- Program to find the value of sin(nΘ)
- abs() function for complex number in c++
- cosh() function for complex number in C++
- polar() function for complex number in C++
- sqrt() function for complex number in C++
- How to call some function before main() function in C++?
- Difference between user defined function and library function in C/C++
- C++ Program for How to check if a given number is Fibonacci number?
- Number which has the maximum number of distinct prime factors in the range M to N
- Generate a number such that the frequency of each digit is digit times the frequency in given number
- C/C++ Program to Find the Number Occurring Odd Number of Times
- Minimum N-Digit number required to obtain largest N-digit number after performing given operations
- std::equal_to in C++ with Examples
- Public vs Protected in C++ with Examples
- Priority Queue of Vectors in C++ STL with Examples
- Set of Vectors in C++ STL with Examples
- Stack of Pair in C++ STL with Examples
- Queue of Pairs in C++ STL with Examples
- Pi(π) in C++ with Examples
- std::greater in C++ with Examples
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.