matlab编程解方程请帮忙用Matlab编程解下题,谢谢`已知:点A(x1,y1)=(-1359.7,2966.7)点B(x2,y2)=(-640,2126)t= 2.6049且满足A(x1,y1),B(x2,y2),C(x3,y3)三点共线(点A在中间),且|AC|=t*180/0.0254求点C(x3,y3)的坐标.

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/23 20:20:35
matlab编程解方程请帮忙用Matlab编程解下题,谢谢`已知:点A(x1,y1)=(-1359.7,2966.7)点B(x2,y2)=(-640,2126)t=2.6049且满足A(x1,y1),

matlab编程解方程请帮忙用Matlab编程解下题,谢谢`已知:点A(x1,y1)=(-1359.7,2966.7)点B(x2,y2)=(-640,2126)t= 2.6049且满足A(x1,y1),B(x2,y2),C(x3,y3)三点共线(点A在中间),且|AC|=t*180/0.0254求点C(x3,y3)的坐标.
matlab编程解方程
请帮忙用Matlab编程解下题,谢谢`已知:点A(x1,y1)=(-1359.7,2966.7)点B(x2,y2)=(-640,2126)
t= 2.6049
且满足A(x1,y1),B(x2,y2),C(x3,y3)三点共线(点A在中间),且|AC|=t*180/0.0254
求点C(x3,y3)的坐标.

matlab编程解方程请帮忙用Matlab编程解下题,谢谢`已知:点A(x1,y1)=(-1359.7,2966.7)点B(x2,y2)=(-640,2126)t= 2.6049且满足A(x1,y1),B(x2,y2),C(x3,y3)三点共线(点A在中间),且|AC|=t*180/0.0254求点C(x3,y3)的坐标.
x1=-1359.7
y1=2966.7
x2=-640
y2=2126
t=2.6049
k=(y2-y1)/(x2-x1)
b=y2-k*x2
x3=-1359.8
y3=k*x3+b
AC=sqrt((y3-y1)^2+(x3-x1)^2)
if AC~=t*180/0.0254
x3=x3-0.1
y3=k*x3+b
AC=sqrt((y3-y1)^2+(x3-x1)^2)
end
x3=
y3=
根据题目的要求C只有一个~