Created
March 23, 2010 09:41
-
-
Save anonymous/340994 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(def Alpha1 | |
(map #(if (not (= 100 x)) | |
(Math/atan (/ y (- 100 x))) | |
(if (> y 0) (/ Math/PI 2) | |
(if (< y 0) | |
(/ (* 3 Math/PI) 2) | |
0))) | |
(range 0 101 20) | |
(range 101 0 -20))) | |
(def Alpha1 | |
(map #(cond (not (= 100 %1)) (atan (/ %2 (- L4 %1))) | |
(> %2 0) (/ Math/PI 2) | |
(< %2 0) (/ (* 3 Math/PI) 2) | |
(= %2 0) 0) | |
(range 0 61 20) | |
(range 61 0 -20)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment