how to know that the number is a perfect square Or not answer pls
Answers
Answer:
What is the quickest way to determine if a number is a perfect square?
I am not a mathematician, so i'll give you the laymen answer to this question.
If you notice, all perfect squares end with either of the following digits.
0,1,4,5,6,9.
For example, sq. of 18 = 324, sq. of 23 = 529 and so on.
After checking the last digit, we will check the 2nd last/ preceding digit.
LAST DIGIT. PRECEDING DIGIT
0. 0
1. 0 or even digits
4. 0 or even digits
5. 2
6. Odd digit
9. 0 or even digits
Also if you come across with a number which fulfils both the above conditions, then check for the final condition.
If you notice, sum of the digits of a perfect square number will always be either of the following digits.
1,4,7 or 9
For example,
sq. of 18 = 324,
3+2+4 = 9
sq. of 23 = 529,
5+2+9=16
1+6= 7 and so on.
I hope this helps.
P.S.- it does not cover all the aspects of the perfect square but it works for me almost 99% of the time
Answer:
- Take the square root of the number.
- Multiply the square root twice.
- Use boolean equal operator to verify if the product of square root is equal to the number given.