problem Problem statement Write a program that receives the four vertices of a quadrilateral (convex). By drawing the diagonals of the quadrilateral, 4 triangles are formed. Your program should print the value of the area of the largest triangle (rounded to 2 decimal places). https://drive.google.com/uc?export=view&id=1pntkwqYgEBVKg4XZHa4f4pDIhsp2ASTe Entry 4 pairs of real numbers, they will be 4 lines, each one contains two numbers separated by a space, which represent the point (x, y). All numbers comply with 0≤n≤10. Departure A real number rounded to 2 decimal places corresponding to the area of the largest triangle.
Python problem
Problem statement
Write a
https://drive.google.com/uc?export=view&id=1pntkwqYgEBVKg4XZHa4f4pDIhsp2ASTe
Entry
4 pairs of real numbers, they will be 4 lines, each one contains two numbers separated by a space, which represent the point (x, y). All numbers comply with 0≤n≤10.
Departure
A real number rounded to 2 decimal places corresponding to the area of the largest triangle.
Examples
Input Example 1
1.57 8.82
7.53 2.74
9.77 1.19
6.59 7.79
Output Example 1
10.63
Input Example 2
2.55 9.3
5.68 3.56
6.42 6.63
6.64 9.08
Output Example 2
6.6
Note
Each point given in the input is connected to the one immediately following. To form the quadrilateral (except for the last, which is connected to the first)
Step by step
Solved in 2 steps