[Haskell-cafe] Geometry
Chaddaï Fouché
chaddai.fouche at gmail.com
Sun Aug 26 21:27:45 EDT 2007
2007/8/27, Chaddaï Fouché <chaddai.fouche at gmail.com>:
> You've got a which is the radius of the circle, and b which is the
> length of the arc, thus you've got the angle between the two red
> radiuses : u = b / a
> So with basic trigonometry, we can deduce a - x = a * cos(u/2)
> x = a *( cos(u/2) - 1)
>
> --
> Jedaï
>
Actually that would be x = a * (1 - cos (b/(2a)))
Ooops o_O
--
Jedaï
More information about the Haskell-Cafe
mailing list