Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Signum

Function: signum (<x>) For numeric <x>, returns 0 if <x> is 0, otherwise returns -1 or +1 as <x> is less than or greater than 0, respectively.

f(y,z):= -5*cos((z*3.14)/2+3*1)+signum(2*cos(asin(-(y-5*sin((z*3/14)/2+3*1))/2)))-signum(2*cos(asin(-(y-5*sin((z*3/14)/2+3*1))/2)));
plot3d(f(y,z), [y,-5,5], [z,-5,5]);

If <x> is not numeric then a simplified but equivalent form is returned. For example, signum(-x) gives -signum(x).

(%o1)                                true
(%i2) 

Related Examples

signum

q(x):=(signum(x)+1)*0.5;

Calculate

signum

q(x):=(signum(x)+1)*0.5;

Calculate

signum-solve

eq1:(x+3)*(x-1/2) = 0;

eq2:signum(x)-1 = 0;

solve([eq1,eq2],[x]);

Calculate

signum

signum(0.001);

Calculate

signum

signum(-3.2);

Calculate

signum

signum(0.56);

Calculate

signum

eq1:(x+3)*(x-1/2) = 0;

eq2:signum(x)-1 = 0;

solve_rat_ineq([eq1,e...

Calculate

signum

signum(a*b+ a * (1-b));

Calculate

signum

a:signum(-12);

Calculate