Here we are going to talk about today is np.power(x,t) and np.sqrt(x), which are other basic functions in arithmetic.

First, np.power(x,t), we can also type x**t that we'll obtain the power of x, e.g. 2*np.power(2,3) is the same as 2**3, the answer will be 8.

Last one, np.sqrt(x), which means that x square root. If you are not sure how to get the process of calculation, go find it online.

 

Screenshot 2021-05-25 095812.jpg

Screenshot 2021-05-25 100052.jpg

 

創作者介紹
創作者 Wayneezzzz 的頭像
Wayneezzzz

Wayneezzzz

Wayneezzzz 發表在 痞客邦 留言(0) 人氣( 4 )