早教吧作业答案频道 -->数学-->
matlab求解下列方程的解,画出(x,y)的曲线图(2*x-1200*sin(t)-400)^2+(2*y+1200*cos(t)-1200-sqrt(1280000))^2=1440000;(2*x-2400*sin(t))^2+(2*y+2400*cos(t)-2400-2*sqrt(1280000))^2=160000+(l-sqrt(1280000))^2;其中给t一个范围t=-20/180*p
题目详情
matlab求解下列方程的解,画出(x,y)的曲线图
(2*x-1200*sin(t)-400)^2+(2*y+1200*cos(t)-1200-sqrt(1280000))^2=1440000;
(2*x-2400*sin(t))^2+(2*y+2400*cos(t)-2400-2*sqrt(1280000))^2=160000+(l-sqrt(1280000))^2;
其中给t一个范围t=-20/180*pi:pi/1800:20/180*pi; 能否画出xy图像来
(2*x-1200*sin(t)-400)^2+(2*y+1200*cos(t)-1200-sqrt(1280000))^2=1440000;
(2*x-2400*sin(t))^2+(2*y+2400*cos(t)-2400-2*sqrt(1280000))^2=160000+(l-sqrt(1280000))^2;
其中给t一个范围t=-20/180*pi:pi/1800:20/180*pi; 能否画出xy图像来
▼优质解答
答案和解析
t在这个范围内只有一个解.程序如下
t=-20/180*pi:pi/1800:20/180*pi;
f=@(x)([(2*x(1)-1200*sin(t)-400).^2+(2*x(2)+1200*cos(t)-1200-sqrt(1280000)).^2-1440000;(2*x(1)-2400*sin(t)).^2+(2*x(2)+2400*cos(t)-2400-2*sqrt(1280000)).^2-160000-(1-sqrt(1280000))^2]);
x1=fsolve(f,[0 0]);
x=x1(:,1)
y=x1(:,2)
结果:
x =
-294.7252
y =
727.1720
t=-20/180*pi:pi/1800:20/180*pi;
f=@(x)([(2*x(1)-1200*sin(t)-400).^2+(2*x(2)+1200*cos(t)-1200-sqrt(1280000)).^2-1440000;(2*x(1)-2400*sin(t)).^2+(2*x(2)+2400*cos(t)-2400-2*sqrt(1280000)).^2-160000-(1-sqrt(1280000))^2]);
x1=fsolve(f,[0 0]);
x=x1(:,1)
y=x1(:,2)
结果:
x =
-294.7252
y =
727.1720
看了 matlab求解下列方程的解...的网友还看了以下:
诱导公式化简,cos(a-π/2)和sin(a-2π)cos(a-π/2)=cos(-π/2+a)= 2020-03-30 …
观察sin^2(30)+cos^2(60)+sin30cos60=3/4由此得出的以下推广命题中, 2020-04-11 …
已知关于x的方程x∧2+xcosαcosβ+cosγ-1=0的两个根为x1x2,且满足x1+x2= 2020-04-27 …
已知θ是第三象限角,且sin4θ+cos4θ=5/9,那么sin2θ等于( )最后哪里的sin2 2020-05-16 …
这个方程在matlab中怎么解atan((((150*cos(9*w)-6*cos(27*w))^ 2020-06-27 …
1.化简(1+tan的平方·α)cos的平凡·α2.求证:(1)tan的平方·Ø-sin的平方·Ø 2020-07-21 …
已知向量m(√3*sinx/4,1),n=(cosx/4,cos^2(x/4)),f(x)=m*n 2020-07-26 …
若两非零向量a,b的方向余弦分别为cosα1,cosβ1,cosγ1和cosα2,cosβ2,co 2020-07-30 …
matlab解方程组symsR0tx1x2xy[X,Y]=solve('R0*cos(t)=x2+ 2020-08-01 …
1200/x-2-1200/x解分式方程(1200/x-2)-(1200/x)=30打漏了 2020-08-02 …