wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Find the value of sgn (-1) + sgn (1) + sgn (5) + sgn (0), where sgn is the signum function.
___

Open in App
Solution

Signum function gives the sign of a number.

-1 for negative numbers, zero for zero and +1 for positive numbers.

sgn (-1)= -1

Sgn (1)= 1

Sgn (5)= 1

Sgn(0)= 0

sum= -1 + 1 + 1 + 0

= 1


flag
Suggest Corrections
thumbs-up
1
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Permutations
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon