Page 1 of 1

Problem 4 - Write a function that gets 3 arguments Named Tuple of Vertice (x,y,z). These tuples are vertices of a triang

Posted: Fri Jul 08, 2022 6:38 am
by answerhappygod
Problem 4 Write A Function That Gets 3 Arguments Named Tuple Of Vertice X Y Z These Tuples Are Vertices Of A Triang 1
Problem 4 Write A Function That Gets 3 Arguments Named Tuple Of Vertice X Y Z These Tuples Are Vertices Of A Triang 1 (517.37 KiB) Viewed 37 times
Problem 4 - Write a function that gets 3 arguments Named Tuple of Vertice (x,y,z). These tuples are vertices of a triangle in 3D space. The function should return the length of longest edge in that triangle. Example: ver1 = Vertice(4, 5.5, 8) ver2 = Vertice(9, 14, 0) ver3 = Vertice(3, 1.5, 17) TriangleEdge (ver1, ver2, ver3) 21.937410968480304