Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
(defun read-numbers ()
|
||||
(princ "Enter 11 numbers (space-separated): ")
|
||||
(let ((numbers '()))
|
||||
(dotimes (i 11 numbers)
|
||||
(push (read) numbers))))
|
||||
|
||||
(defun trabb-pardo-knuth (func overflowp)
|
||||
(let ((S (read-numbers)))
|
||||
(format T "~{~a~%~}"
|
||||
(substitute-if "Overflow!" overflowp (mapcar func S)))))
|
||||
|
||||
(trabb-pardo-knuth (lambda (x) (+ (expt (abs x) 0.5) (* 5 (expt x 3))))
|
||||
(lambda (x) (> x 400)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue