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:

Extremal_subset Calculator

Extremal_subset

Function: extremal_subset (<s>, <f>, max)

extremal_subset ({-2, -1, 0, 1, 2}, abs, max);
 extremal_subset ({sqrt(2), 1.57, %pi/2}, sin, min);

Function: extremal_subset (<s>, <f>, min) Returns the subset of <s> for which the function <f> takes on maximum or minimum values.

extremal_subset(<s>, <f>, max) returns the subset of the set or list <s> for which the real-valued function <f> takes on its maximum value.

extremal_subset(<s>, <f>, min) returns the subset of the set or list <s> for which the real-valued function <f> takes on its minimum value.

Examples:

          (%i1) extremal_subset ({-2, -1, 0, 1, 2}, abs, max);
          (%o1)                       {- 2, 2}
          (%i2) extremal_subset ({sqrt(2), 1.57, %pi/2}, sin, min);
          (%o2)                       {sqrt(2)}

(%o1)                                true
(%i2) 

Extremal_subset Example

Related Examples

subset

subset;

{2,3,4,5};

Calculate

subset

subset;

{1,3,4,5,7,8,12,16};

Calculate

subset

subset;

{0,1,2,3,4,5,6,7,8,9};

Calculate

subset

subset;

{0,1,2,3,4,5,6,7,8,9};

Calculate

subset

subset;

{1,2,3,4,5,6};

Calculate

subset

subset;

{0,1,2,3,4,5,6,7,8,9};

Calculate

subset

subset;

{1,2,3,4};

Calculate

subset

subset;

{7,8,9};

Calculate