Computer Science, asked by heavendeviloriginal, 10 months ago

Give the output of the following functions:
1. Math.floor(-126.349)
Ans.
2. Math.max(45.6,17.3)
Ans.
3. Math.min(-0.0,0.0)
Ans
4. Math.pow(4,3)
Ans.
5. Math.sqrt(625)
Ans.
6. Math.cbrt(125)
Ans.
7. Math.max(11,11)
Ans.
8. Math.ceil(-12.56)
Ans.
9. Math.floor(15.36)
Ans.
10. Math.max(Math.min(757, 759), Math.pow(25,2))
Ans.





please help me guys ......pleaseeeee .......​

Answers

Answered by AditiHegde
30

The output of the following functions are as follows:

  • 1. Math.floor(-126.349)
  • Ans.  -127.0
  • -127.0 > -126.349 nearest whole number
  • 2. Math.max(45.6,17.3)
  • Ans.  45.6
  • 45.6 > 17.3 maximum number among two
  • 3. Math.min(-0.0,0.0)
  • Ans  -0.0
  • -0.0 < 0.0 minimum number among two
  • 4. Math.pow(4,3)
  • Ans.  4³ = 64
  • 4 to the power 3
  • 5. Math.sqrt(625)
  • Ans.  √625 = 25.0
  • square root of the number
  • 6. Math.cbrt(125)
  • Ans.  ∛125 = 5
  • cube root of the number
  • 7. Math.max(11,11)
  • Ans.  11
  • maximum number among given
  • 8. Math.ceil(-12.56)
  • Ans.  -11.0
  • -11.0 > -12.56 nearest whole number
  • 9. Math.floor(15.36)
  • Ans.  14.0
  • 14.0 < 15.36 nearest whole number
  • 10. Math.max(Math.min(757, 759), Math.pow(25,2))
  • Math.max(757, 625)
  • Ans. 757
Answered by smriti8777064905
0

as the new York times reported in the morning so I am not sure what is the best way to kolkata to be a good example to 6the world 66666inches and o God is the most import for my life as our life has changed to our school as our

Similar questions
Math, 1 year ago