全文预览

5.建模作业MATLAB4资料

上传者:非学无以广才 |  格式:doc  |  页数:5 |  大小:72KB

文档介绍
1)clear;clc;symsabcx;x=solve('a*x^2+b*x+c=0','x');disp(x);-(b+(b^2-4*a*c)^(1/2))/(2*a)-(b-(b^2-4*a*c)^(1/2))/(2*a)?(2)symsx;x=solve('2*sin(3*x-pi/4)=1','x');disp(x);(5*pi)/36(13*pi)/36?(3)symsx;x=solve('sin(x)-sqrt(3)*cos(x)=sqrt(2)','x');disp(x);-log((2^(1/2)*(-1-1i))/(3^(1/2)+1i))*1i-log((2^(1/2)*(-1+1i))/(3^(1/2)+1i))*1i?(4)symsx;x=solve('x^2+10*(x-1)*sqrt(x)+14*x+1=0','x');disp(x);(2^(1/2)-1)^2(17^(1/2)-4)^27.3.4如何求解非线性方程组?寻找一个非线性方程组并求解.7.3.5求一阶微分方程组的解.[x,y]=dsolve('Dx=3*x+4*y','Dy=5*x-7*y','x(0)=0,y(0)=1','t')x=-exp(t*(3*5^(1/2)-2))*((3*5^(1/2))/5+1)*(5^(1/2)/6-1/2)-(5^(1/2)*exp(-t*(3*5^(1/2)+2))*(3*5^(1/2)+5)*((3*5^(1/2))/5-1))/30y=(5^(1/2)*exp(-t*(3*5^(1/2)+2))*(3*5^(1/2)+5))/30-exp(t*(3*5^(1/2)-2))*(5^(1/2)/6-1/2)7.3.6绘制隐式符号函数5x3.y3+3x3的图形.clear;clc;symsxy;ezplot('5*x^3*y^3+3*x^3')

收藏

分享

举报
下载此文档