![]() |
Complex#angle() : angle() is a Complex class method which returns the angle part of the polar form of complex value.
Example #1 :
Output : Complex angle form : 0.0 Complex angle form : 1.8157749899217608 Complex angle form : 1.5707963267948966 Example #2 :
Output : Complex angle form : 1.3521273809209546 Complex angle form : 1.5707963267948966 Complex angle form : -1.373400766945016 |
Reffered: https://www.geeksforgeeks.org
Ruby |
Related |
---|
![]() |
![]() |
![]() |
![]() |
![]() |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 7 |