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:

Inchar Calculator

Inchar

-- Option variable: inchar Default value: %i

inchar is the prefix of the labels of expressions entered by the user. Maxima automatically constructs a label for each input expression by concatenating inchar and linenum.

inchar: "_";
eq1:x*4+y-2=y;
eq2:x+2=y;
linsolve([eq1,eq2],[x,y]);

inchar may be assigned any string or symbol, not necessarily a single character. Because Maxima internally takes into account only the first char of the prefix, the prefixes inchar, outchar, and linechar should have a different first char. Otherwise some commands like kill(inlables) do not work as expected.

          (%i1) inchar: "input";
          (%o1)                                input
          (input1) expand ((a+b)^3);
                                      3        2      2      3
          (%o1)                      b  + 3 a b  + 3 a  b + a
          (input2)

See also labels.

(%o1)                                true
(%i2) 

Inchar Example

Related Examples

inchar-linsolve

inchar: "_";

eq1:x*4+y-2=y;

eq2:x+2=y;

Calculate

inchar-labels

labels;

A: 7-5;

labels;

Calculate

inchar-labels

labels;

A: 7-5;

labels;

Calculate

inchar-linsolve

inchar: "input";

eq1:x*4+y-2=y;

eq2:x+2=y;

Calculate

inchar-labels

labels;

A: 7-5;

labels;

Calculate

inchar

inchar: "input";

Calculate

inchar-labels

labels;

A: 7-5;

labels;

Calculate

inchar-labels

labels;

A: 7-5;

labels;

Calculate