Nov 1, 2013 at 3:00pm UTC
It will be much appreciated! Thanks in advance.
"Énter a triangle and calculate the sine of its maximal angle. The triangle is defined by the coordinates of its vertices. The coordinates are floating-point numbers."
Last edited on Nov 2, 2013 at 7:17pm UTC
Nov 1, 2013 at 3:10pm UTC
3D or 2D?
Read coordinates.
Calculate. Simple vector math. Dot products.
Show result.
Nov 1, 2013 at 3:43pm UTC
I'm not sure. That's why I was hoping someone was kind enough to write the code.
Nov 1, 2013 at 4:12pm UTC
Mirage, just curious, for this post, can you not make your own function?
Nov 1, 2013 at 4:33pm UTC
To find the dot product of three vectors, it would be U*V*W right? Can't seem to recall it
Nov 1, 2013 at 4:45pm UTC
What would the dot product of 3 vectors represent?
With 2 vectors, the dot product is cos(theta)*len(A)*len(B).. but with 3... ???
Nov 4, 2013 at 1:03pm UTC
Can anyone help me with this? I am willing to pay 3$ to the first that helps me. (Please PM me)