Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. (defun wendler (week one-rm)
  2. (let ((one-rm (* one-rm 0.9)))
  3. (if (eq week 4)
  4. (mapcar (lambda (n)
  5. (format "%0.2fx5" n))
  6. (list (* one-rm 0.4)
  7. (* one-rm 0.5)
  8. (* one-rm 0.6)))
  9. (let ((pct (+ 0.6 (* week 0.05)))
  10. (reps (cond ((eq week 1) '(5 5 5))
  11. ((eq week 2) '(3 3 3))
  12. ((eq week 3) '(5 3 1))
  13. ((eq week 4) '(5 5 5)))))
  14. (list (format "%0.2fx%d" (* one-rm pct) (nth 0 reps))
  15. (format "%0.2fx%d" (* one-rm (+ pct 0.1)) (nth 1 reps))
  16. (format "%0.2fx%d+" (* one-rm (+ pct 0.2)) (nth 2 reps)))))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement