Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Stack/Maxima/stack.maxima
Normal file
11
Task/Stack/Maxima/stack.maxima
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/* lists can be used as stacks; Maxima provides pop and push */
|
||||
|
||||
load(basic)$
|
||||
|
||||
a: []$
|
||||
push(25, a)$
|
||||
push(7, a)$
|
||||
pop(a);
|
||||
|
||||
emptyp(a);
|
||||
length(a);
|
||||
Loading…
Add table
Add a link
Reference in a new issue