हिंदी

Math.sqrt(−225) can't be defined. - Computer Applications

Advertisements
Advertisements

प्रश्न

Math.sqrt(−225) can't be defined.

विकल्प

  • True

  • False

MCQ
सत्य या असत्य

उत्तर

This statement is True.

Explanation:

The Math.sqrt() function in Java returns the square root of an integer. The square root of negative numbers cannot be calculated inside the set of real numbers. Instead, it returns NaN (Not a Number), indicating that the square root of a negative number is fictitious. As a result, it is true to state that the square root of −225 cannot be defined in the natural number system.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1.07: Mathematical Library Methods - EXERCISES [पृष्ठ ८०]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 1.07 Mathematical Library Methods
EXERCISES | Q II. 4. | पृष्ठ ८०
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×