all tasks
This commit is contained in:
parent
b83f433714
commit
68f8f3e56b
14735 changed files with 178959 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