Navigation Menu

Skip to content

Commit

Permalink
mm, brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
johnlawrenceaspden committed May 22, 2014
1 parent f3df434 commit cef244b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regular-tetrahedron.clj
Expand Up @@ -86,7 +86,7 @@ tet3 ;-> ((0.816496580927726 0.28867513459481287 1/2) (0 0.8660254037844386 1/2)

(map #(/ (+ 2 %) (* 2 (inc %))) (range 1 20)) ;-> (3/4 2/3 5/8 3/5 7/12 4/7 9/16 5/9 11/20 6/11 13/24 7/13 15/28 8/15 17/32 9/17 19/36 10/19 21/40)

;; So I boldly conjecture that the height of a hyper-tetrahedron is sqrt(d+1/(2*d)))
;; So I boldly conjecture that the height of a hyper-tetrahedron is sqrt((d+1)/(2*d)))

(map -
(map (comp #(* % %) ffirst) (rest tets))
Expand Down

0 comments on commit cef244b

Please sign in to comment.