I am a high school student, and I teach myself advanced mathematics. I don't know what this is. Thank you!
Best answer
Step function in mathematics, symbolic function or return function in computer language. The Sgn function returns a variable (integer) indicating the sign of the parameter. Syntax Sgn(number) The necessary number parameter is any valid numeric expression.
X & gt0,sgnx= 1
x=0,sgnx= 0
x & lt0,sgnx=- 1
note:
The derivative of1.y = ABS (x) (absolute value of x) is about sgn(x) (non-derivative at (0,0));
2.x=abs(x) × sgn(x) or ABS (x) = (x )× SGN (x);
3. The domain is (-∞,+∞) and the range is {- 1, 0,1};
4.sgn is the abbreviation of English symbol.
Sogou asked.
Extended data:
Table returns an integer representing the symbol of a number.
The Sgn(number), number parameter can be any valid numeric expression.
The Sgn function has the following return values: If number is Sgn, it is greater than zero1; Equal to zero 0; Less than zero-1.
Known x
Solution: sub df () y = 2: x =1a = 0: b =-1debug. Print SGN (y = x)-SGN (a-b) end sub. The result after verification with the above code is-1. When the false value is converted to an integer, Sgn(false)=0vb is 0.
References:
Sogou encyclopedia -SGN function