帮看一下怎么求这两个二元方程怎么求解交点
(1)sqrt(x^2+y^2)+sqrt((x-x1)^2+(y-y1)^2)=r1;(2)sqrt(x^2+y^2)+sqrt((x-x2)^2+(y-y2)^2)=r2
方程说明:方程表示的是两个椭圆:椭圆上一点到两焦点的距离为一定值
其实就是求两个椭圆的交点的问题.
用matlab命令 [x,y]=solve('sqrt(x^2+y^2)+sqrt((x-x1)^2+(y-y1)^2)=r1','sqrt(x^2+y^2)+sqrt((x-x2)^2+(y-y2)^2)=r2'),也不好解
人气:259 ℃ 时间:2020-09-22 03:55:35
解答
syms x y;
eq1=sqrt(x^2+y^2)+sqrt((x-x1)^2+(y-y1)^2)-r1;
eq2=sqrt(x^2+y^2)+sqrt((x-x2)^2+(y-y2)^2)-r2;
[xt,yt]=solve(eq1,eq2);
xo=eval(xt);
yo=eval(yt);
推荐
猜你喜欢
- dear teachers and students,welcome to today's english speech contest, it's a great honor for us to
- 东吴 曹操 周瑜 黄盖 诸葛亮 哪个不同类?
- 十寸照片有多大
- 小明收集的邮票比小红多24张,小红收集的邮票是小明的2/3,小明小红个收集多少张?(题目要求列方程解答)
- 这学期,我们全家参加了少先队,改病句
- 一个四边形木框,AB=8cm,BC=6cm,CD=4cm,AD=5cm,它的形状是不稳定的,求BD的范围,
- ______ it is you’ve found, you must give it back to the person it belongs to.
- Mokeys and tiger live in the j----