Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Volume Automatically Getting Rounded?

Hi All,

I'm trying to use the volume function, but it keeps on rounding.

Ex:

P = Polyhedron([[0,0], [1,1]])

P.volume(measure = 'induced');

Result: 1.414213562373095?

Obviously, the correct volume for this should be sqrt(2) but for some reason, I'm unable to get this exact value? What do I need to change?