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:

Concat Calculator

Concat

Function: concat (<arg_1>, <arg_2>, ...) Concatenates its arguments. The arguments must evaluate to atoms. The return value is a symbol if the first argument is a symbol and a string otherwise.

kill(base,n,d,r,q);
base(n,d):=block([q:1, r:n, obase:d],while(r>=d) do(q:q+1,r:r-d, return(concat(q,r))));
makelist(base(n,10), n, 1, 10);
makelist(base(n,2), n, 1, 10);

concat evaluates its arguments. The single quote prevents evaluation.

          (%i1) y: 7$
          (%i2) z: 88$
          (%i3) concat (y, z/2);
          (%o3)                          744
          (%i4) concat (y, z/2);
          (%o4)                          y44

A symbol constructed by concat may be assigned a value and appear in expressions. The :: (double colon) assignment operator evaluates its left-hand side.

          (%i5) a: concat (y, z/2);
          (%o5)                          y44
          (%i6) a:: 123;
          (%o6)                          123
          (%i7) y44;
          (%o7)                          123
          (%i8) b^a;
                                         y44
          (%o8)                         b
          (%i9) %, numer;
                                         123
          (%o9)                         b

Note that although concat (1, 2) looks like a number, it is a string.

          (%i10) concat (1, 2) + 3;
          (%o10)                       12 + 3

There are also some inexact matches for concat. Try ?? concat to see them.

(%o1)                                true
(%i2) 

Concat Example

Related Examples

concat-floor-makelist-numer-string

Aufgabe1:[Ko=1000,p=3...

Aufgabe2:[Ko=2000,p=2...

Aufgabe3:[Ko=3000,P=2...

Calculate

concat-expand-sconcat

sconcat ("xx[", 3, "]...

Calculate

concat-makelist

n:8;

makelist(concat(x,i),...

Calculate

concat-print-random

base : 2;

if base = 1 or base =...

if base = 1 and base2...

Calculate

concat-cos-draw-explicit-plot2d-sin
plot2d([am(k,t),s(t)],[t,0,3*%pi],[y,-1.5,1.5]);

p(t):=cos(20*t);

s(t):=0.7*sin(3*t)+0....

k:0.5;

Calculate

concat-erf-log-numer-sqrt-true

numer:true;

ld(x):=log(x)/log(2);

log10(x):=log(x)/log(...

Calculate

concat-floor-numer

Aufgabe1:[Ko=1000,p=3...

Aufgabe2:[Ko=2000,p=2...

Aufgabe3:[Ko=3000,P=2...

Calculate

concat-length-random

liste:["+","-","/","*...

a(x):="x"+liste[rando...

a(2);

Calculate

concat-max-min-print-random-round

/* calculem el mes */...

min : 1;

/* Definim el minim*...

Calculate