Computer Science
What is the value of x, if x = math.sqrt(25.0) ?
- (5, -5)
- 5
- 5.0
- (5.0, -5.0)
Python Modules
1 Like
Answer
5.0
Reason — The math.sqrt() function returns the square root of a number. For math.sqrt(25.0), the result is 5.0, which is the positive square root of 25.0.
Answered By
1 Like
Related Questions
If a, b, c = 3, 4, 1 then what will be the value of math.sqrt(b)*a-c?
- 5.0
- 5
- 2
- 4.0
What is the value of x, if x = math.factorial(0) ?
- 1
- 0
- Error
- None of these
What value will be returned, if x = math.floor(-24.6) ?
- 24.6
- -24
- -25
- -24.6
What value will be displayed on executing the following arithmetic expression?
x = math.pow (0,-4)
- 1
- 16
- DomainError
- None of these