Message Boards Message Boards

Using the Polytopes Package on the Wolfram Programming Cloud

Anonymous User
Anonymous User
Posted 9 years ago
    faces = First /@ First@Normal@PolyhedronData["Dodecahedron", "Faces"];
    radius = InscribedRadius[Polygon[First[faces]]]

I’m trying to run this short program but it doesn’t work. Maybe I’m doing something wrong.

POSTED BY: Anonymous User

The Polytopes package does not support general polygons, only the ones listed in

In this case, radius should be just

In[4]:= InscribedRadius[Pentagon]

Out[4]= 1/(2 Sqrt[5 - 2 Sqrt[5]])
POSTED BY: Ilian Gachevski
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract