Articles → Numpy → Sqrt function in NumPy

Sqrt function in NumPy






Purpose





Example


import numpy as np

arr = [1,4,9,16]


print(np.sqrt(np.array(arr)))



Here is the output



Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, April 02, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250