name the python library module which need to be imported.
a) sqrt()
b)pow()
Answers
Answered by
3
A. sqrt
math.sqrt(num) - This is the general form.
The sqrt() function returns the square root of num. If num<0, domain errors.
B. pow
math.pow(base,exp) - This is the general form.
The pow() function returnsbase raised to exp power. A domain error occurs if base= 0 and exp<=0; also if base <0 and exp is not an integer..
Hope this helped u...... :):):):):):):)
Similar questions