- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to find Square root of complex numbers in Python?
You can find the Square root of complex numbers in Python using the cmath library. The cmath library in python is a library for dealing with complex numbers. You can use it as follows to find the square root −
Example
from cmath import sqrt
a = 0.2 + 0.5j print(sqrt(a))
Output
This will give the output
(0.6076662244659689+0.4114100635092987j)
- Related Articles
- Compute the square root of complex inputs with scimath in Python
- How can we find the square root of numbers?
- How to find perfect square root?
- How to Plot Complex Numbers in Python?
- How to find the Square root of 169?
- Find the square root of the given decimal numbers: $9.61$.
- How to calculate square root of a number in Python?
- Find the square root of the following numbers in decimal form:84.8241
- Find the square root of the following numbers in decimal form:0.7225
- Find the square root of the following numbers in decimal form:0.813604
- Find the square root of the following numbers in decimal form:0.00002025
- Find the square root of the following numbers in decimal form:150.0625
- Find the square root of the following numbers in decimal form:225.6004
- Find the square root of the following numbers in decimal form:3600.720036
- Find the square root of the following numbers in decimal form:236.144689

Advertisements