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:

Elementp Calculator

Elementp

Function: elementp (<x>, <a>) Returns true if and only if <x> is a member of the set <a>.

elementp (sin(1), {sin(1), sin(2), sin(3)});

elementp complains if <a> is not a literal set.

Examples:

          (%i1) elementp (sin(1), {sin(1), sin(2), sin(3)});
          (%o1)                         true
          (%i2) elementp (sin(1), {cos(1), cos(2), cos(3)});
          (%o2)                         false

(%o1)                                true
(%i2) 

Elementp Example

Related Examples

elementp

elementp(2,{%r1});

Calculate

elementp

elementp (1, {2,3,4});

Calculate

elementp

elementp(2,{%r});

Calculate

elementp

elementp (1, {reals});

Calculate

elementp

elementp (1, {2,3,4});

Calculate

elementp

elementp({2},{real});

Calculate

elementp

elementp(2,{%r1});

Calculate