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:

Programmode

-- Option variable: programmode Default value: true

When programmode is true, solve, realroots, allroots, and linsolve return solutions as elements in a list. (Except when backsubst is set to false, in which case programmode: false is assumed.)

53*79;
factor(53*79+1);
mod(53*79,19);
mod(2*13,19);
mod(53*79,23);
mod(8*3,23);
mod(53*79,31);
mod(5*19,31);
x19:x-19*n1=2;
x23:23*n2+8=x;
x31:31*n3+5=x;
n3e:n3=5;
[globalsolve: true, linsolve_params: false, programmode: true];
x_sol:linsolve([x31,n3e,x23],[x,n3,n2]);
x23mode:mod(x,23)=xmod23;

When programmode is false, solve, etc. create intermediate expression labels %t1, t2, etc., and assign the solutions to them.

(%o1)                                true
(%i2) 

Related Examples

programmode-solve-true

programmode: true;

solve([0.226*x-195/x=...

Calculate

programmode

? programmode;

Calculate

programmode-solve-true

programmode: true;

solve([0.226*x-195/x=...

Calculate

programmode

? programmode;

Calculate