Talk:Nth root: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 28: | Line 28: | ||
example: |
example: |
||
<lang |
<lang lisp>(defun powint (a b) |
||
(if (= b 0) |
(if (= b 0) |
||
1 |
1 |
||
Line 41: | Line 41: | ||
Maybe not the best solution but it could be something like this |
Maybe not the best solution but it could be something like this |
||
<lang |
<lang lisp>(defun factorial (n) |
||
(if (= n 0) |
(if (= n 0) |
||
1 |
1 |