The vectors given in problem are:
p1 = {1, 2, 2};
p2 = {3, 1, 1/4};
p3 = {2, 3, 9/4};
p4 = {5, 2, 0};
p5 = {3/2, 5/4, 19/16};
Find all 5 of the (internal) angles of S. Note that the internal angles of an n-sided polygon always add up to . Give the angles in degrees in numerical value.
I tried VectorAngle[p3 - p1, p5 - p1] 3*Pi // N I don't think the answer is correct.



SimplePolygonQ@polyreturnsTruebecausepolyis a self-intersecting polygon:Graphics3D[{poly, Red, Sphere[#, .1] & /@ {p1, p2, p3, p4, p5}}]. – Alexey Popkov Apr 07 '22 at 05:40{RegionIntersection[Line[{p1, p2}], Line[{p4, p5}]], RegionIntersection[Line[{p2, p3}], Line[{p4, p5}]]}. – Alexey Popkov Apr 07 '22 at 06:23SimplePolygonQ([CASE:4930736]). – Alexey Popkov Apr 08 '22 at 02:11PolygonAngleseemingly is able to handle self-intersection polygons in a special way (but I didn't check the correctness and how it does it). Or you may do nothing unless the OP updates the question. – Alexey Popkov Apr 08 '22 at 02:19