Let A be the point (x1,y1) and B be the point (x2,y2).
AC must have length 10 since it is isosceles.
Let X the point on AB which a perpendicular line passes through C. AXC is a right angled triangle with hypotenuse AC. C has co-ordinates (-length(AX),length(XC)).
发布评论
评论(2)
设 A 为点 (x1,y1),B 为点 (x2,y2)。
AC 的长度必须为 10,因为它是等腰三角形。
设X为AB上垂线穿过C的点。AXC是直角三角形,斜边为AC。 C 具有坐标
(-length(AX),length(XC))
。因此 C 的坐标为:
(-10*cos(theta),10*sin(theta))
Let A be the point (x1,y1) and B be the point (x2,y2).
AC must have length 10 since it is isosceles.
Let X the point on AB which a perpendicular line passes through C. AXC is a right angled triangle with hypotenuse AC. C has co-ordinates
(-length(AX),length(XC))
.Therefore C has co-ordinates:
(-10*cos(theta),10*sin(theta))
这个问题有多个有效答案。以下坐标都产生等腰三角形:
事实上,这并不是一个完整的解决方案。
如果没有提示您打算在哪个编程平台上实施解决方案,我们就无法提供更多帮助。
There are multiple valid answers to this question. The following coordinates all produce isosceles triangles:
And, as a matter of fact, this isn't a complete solution.
Without some hint as to what programming platform you intend to implement a solution in, we cannot help much more.