matlab solve('sin(2*x)=cos(2*x)')为什么求出来只有一个根,不是应该有无数个吗

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/17 17:28:51
matlabsolve(''sin(2*x)=cos(2*x)'')为什么求出来只有一个根,不是应该有无数个吗matlabsolve(''sin(2*x)=cos(2*x)'')为什么求出来只有一个根,不是应

matlab solve('sin(2*x)=cos(2*x)')为什么求出来只有一个根,不是应该有无数个吗
matlab solve('sin(2*x)=cos(2*x)')为什么求出来只有一个根,不是应该有无数个吗

matlab solve('sin(2*x)=cos(2*x)')为什么求出来只有一个根,不是应该有无数个吗
1.matlab 只计算1个周期的结果,其它结果需要你自己递推;
2.matlab 用的是数值计算,它的强大之处并不是符号演算;

suan!!!!!!!!!!!

MATLAB,solve函数, 用matlab求solve sin(x)*cos(x)-x^2'=0所有解,画图能看到2解,但只显示一解 matlab solve('sin(2*x)=cos(2*x)')为什么求出来只有一个根,不是应该有无数个吗 急!matlab,求大神解答x=solve('9530*(sin(pi*x)^3)/pi+14300*x*(1-sin(2*pi*x)/(2*pi*x))/(1.25-3*x)*(sin(pi*x)+sin(pi*(1.25-2*x))/pi-983.04=0','x')想求解这个含三角函数的一元三次方程,但显示Error using ==> solve is not a valid expr Matlab求方程的根fplot('x*sin(x)-1/2',[-2,2]);disp(solve(x*sin(x)-1/2));结果只有一个根,但是根据图像却又两个根,请修改下程序. 用matlab求二元二次方程组的解,程序如下,十万火急!syms x y L1 L2 L3 L4 a1 a2 L5 a3 a4eq1=solve('(x-(L3*cos(a3)-L1*cos(a1)))^2+(y-(L3*sin(a3)+L1*sin(a1)))^2=L3^2')eq2=solve('(x-(L5+L2*cos(a2)))^2+(y-(L1*sin(a1)))^2=L5^2')[x,y]=solve(eq matlab解方程中solve('cos(t)=(0.05913+57.*sin(t))/(0.0976*57+t*57)','t')出错了 请问matlab高手solve语句运行结果为什么是atan(,)的形式我的指令时这样的:solve('k*sin(x)+sin(2*x)')回车后的运行结果应该是个和k有关的函数结果得到这样的结果ans=pi0atan(1/2*(-k^2+4)^1/2,-1/2*k)at matlab 符号方程组怎么求这个方程组啊?>> syms x y z;>> [x,y,z]=solve('sin(x)+y^2+logz=9','sin(x)+2^y-z=6','x^2+y+exp(x)=5')? Error using ==> solve at 162Unable to find closed form solution.这怎么回事啊? matlab中is not a valid expression or equation.x=solve('2/3*14.3*pi*500^3*(sin(x*pi))^3/pi-(sin(pi*x)+sin((1.25-2*x)*pi))*450*x*14.3*pi*500^2*(1-sin(2*pi*x)/(2*pi*x))/(pi*(3x-1.25))=402.86','x')Error using ==> solve' 2/3*14.3*pi*500^3*(sin(x*pi))^3 MATLAB中solve方程组中常量被认为变量如何办?syms b_s c1 d_hh d_vvc=c1*pi/180;a_hh=(cos(c)-sqrt(b_s-(sin(c))^2))/(cos(c)+sqrt(b_s-(sin(c))^2));a_vv=(b_s-1)*((sin(c))^2-b_s*(1+(sin(c))^2))/(b_s*cos(c)+sqrt(b_s-(sin(c))^2))^2;T_hh=2*sqrt(b_ 用matlab解含参数方程组syms x1 x2>> [x1,x2]=solve('s1^2=(x+r*sin(x1)*sin(x2))^2+(r*sin(x1)*cos(x2)+d/2)^2+(h-r*cos(x1))^2','s2^2=(x+r*sin(x1)*sin(x2)-l)^2+(r*sin(x1)*cos(x2)-d/2)^2+(h-r*cos(x1))^2','x1','x2')matlab一直在运行啊 算不出 matlab带参数的二元函数求最大值问题syms v x1 x2 g L1 L2S=(v^2*sin(2*x2)+2*v*sin(x2)*sqrt(v^2*(cos(x2))^2+2*g*(L1*sin(x1)+L2*sin(x2))))/(2*g)Sx1=diff(S,x1);Sx2=diff(S,x2);solve(Sx1,'x1')solve(Sx2,'x2')Error using ==> solveUnable to find c matlab解非线性方程组解出来是复数怎么办?我用‘solve’求解下列方程[x,a1,a2]=solve('x=atan((1-a1)/(1+a2)/18/0.3)','a1/(1-a1)=(pi^2/9*cos(x)+2*pi^3/18/18*sin(x))/(8*pi*sin(x)*sin(x))','a2/(1+a2)=(pi^2/9*sin(x)-pi^3*2/18^2*cos(x) matlab语句问题[ψ,θ]=solve('v=(Q*a)/m*cos(ψ)-u/r^2*sin(θ)','A=(Q*a)/(m*v)*sin(ψ)+(v/r-u/(r^2*v)*cos(θ)','R=v*sin(A)','B=v*cos(ψ)/r','Q=-7500/2940','v=1700','m=2400','r=1752','u=1.633','θ','ψ') [ψ,θ]=solve('v=(Q*a)/m*cos(ψ)-u/r^2*sin( [a,t]=solve('200*cos(a)*t=360','200*sin(a)*t-5*t∧2=160') 用matlab求该方程组...[a,t]=solve('200*cos(a)*t=360','200*sin(a)*t-5*t∧2=160') 用matlab求该方程组,得不到解是为什么得到a的解是z1,t=1.8/cos(z1) matlab解方程组结果中怎么总是有未知量啊?>> [f2,f3]=solve('l000*sin(0)+1250*sin(f2)=sqrt(1000^2+940^2)*sin(f3)+1000','l000*cos(0)+1250*cos(f2)=sqrt(1000^2+940^2)*cos(f3)+940')f2 =asin((2*4709^(1/2)*sin(f3))/125 + 4/5)pi - asin((2*4709^( 关于matlab中solve函数求解方程组的问题,代码如下,而显示结果如图所示,为什么.我用的版本R2013a[b,F,f,phi]=solve('a(1-a*F)-b*(1+b)*lambda_r^2,phi-atan((1-a)/((1+b)*lambda_r)),f-B/2*(R-r)/R*sin(phi),F-2/pi*acos(exp(-f))')