matlab解方程2*pi*x=9.8*16*tanh((6*pi)/x)?

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/25 05:42:45
matlab解方程2*pi*x=9.8*16*tanh((6*pi)/x)?matlab解方程2*pi*x=9.8*16*tanh((6*pi)/x)?matlab解方程2*pi*x=9.8*16*t

matlab解方程2*pi*x=9.8*16*tanh((6*pi)/x)?
matlab解方程2*pi*x=9.8*16*tanh((6*pi)/x)?

matlab解方程2*pi*x=9.8*16*tanh((6*pi)/x)?

clc

ezplot('2*pi*x-9.8*16*tanh((6*pi)/x)',[-100 100])
hold on
x=-100:100;y=zeros(1,length(x));
plot(x,y)

f=@(x)(2*pi*x-9.8*16*tanh((6*pi)/x));
x1=fzero(f,-20),
x2=fzero(f,0),
x3=fzero(f,20)

 

 

 

x1 =

  -18.9501


x2 =

  -8.0434e-16


x3 =

   18.9501

三个根

下面哥们答案应该把 -8.0434e-16去掉,因为在0 附近,
tanh((6*pi)/x) 约为1或-1,不可能和左边相等的

matlab解方程2*pi*x=9.8*16*tanh((6*pi)/x)? 解方程:sin(2*a)/pi+(pi-a)/pi=0.8,最好能给出matlab程序. ​ matlab 解隐函数方程,用matlab求x 怎么求不出来?已知方程(2*pi*0.00152)/0.00000063)*((1+*0.00152*(sin((2*pi*x)/0.00000063))^2)^(-2))*(sin(4*pi*x)/0.00000063)=y matlab 构造向量x=0:pi/10:2*pi 已知60=x*2*sin(pi*74/(4*x)),用matlab解此方程的语句该怎么写? matlab解一元三次方程写完代码运行出错,我写的代码如下:syms xL = 1:100;for i=1:length(L)x0 = solve('0.1125*tan(11*pi/36)*L(i)*x^3 - (tan(5*pi/36) + tan(pi/6))*(0.1125*tan(2*pi/9)*tan(11*pi/36)*L(i) + 1)*x^2 + (0.1125*tan(11*pi/36 matlab的solve用法定义syms x y a1 a2equ1=1/120 - ((2*a2)/81 + (pi*a1)/12 + pi^2*(a2/405 + 1/12) + (pi^3*a1)/120)/pi^4equ2=-(a2/128 + (2*pi*a1)/81 + pi^2*(a2/960 + 2/81) + (pi^3*a1)/405 - pi^4/405)/pi^5输入solve('方程1', '方程2', 'a1', 'a1') 急!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求方程问题,-1=cos(0.5*pi./2)./((x.^0.5)*0.01)+x.^0.5*0.01*cos(0.5*pi./2)这个方程,用solve('cos(0.5*pi./2)./((x.^0.5)*0.01)+x.^0.5*0.01*cos(0.5*pi./2)+1','x')怎么解不出来呢? matlab带入参数解方程怎么操作?就比如:a*pi-(a*pi^3*x^2)/2-1=0这个方程,要带入x=0,然后解出a的值,a应该等于1/pi,但是程序有问题,麻烦大侠帮我看看问题出在哪里!clear allsyms a x pi;x=input('0');[a]=solve('a 这个积分方程用matlab怎么解决?f1='sqrt(1.11901*10000*x.^2/p.^2-5.20822*10000*pi*x/p+6.06015*10000*pi*pi)';p为常量,但需要带着,积分上下限是[0,2*pi]; 求高手看看这个MATLAB的解方程的程序错在哪里?>> clear all,clcsyms a x pi;L1=a*pi*x-a*pi^3*x^3/6-x;L2=a*pi(1-x^2/2)-1;[x,a]=fsolve(L1,L2)出错提示为:Error using ==> subsindexFunction 'subsindex' is not defined for values of class 怎样用MATLAB解以下方程:cot(b)+2*b=13*pi/12 matlab分怎么解方程-pi*0.11*0.11*480000*(0.14*0.09./(0.14*0.09+0.045*1.05-0.045*cos(x)-0.045*0.05*cos(2*x))).^1.2=-101000*pi*0.11*0.11怎么解出x? matlab参数方程绘图问题t=0:pi/1000:3*pi k=fix(2*t/pi)+1; y=0.5*sqrt(2)*sin(0.5*k*pi+0.25*pi)+k*sin(t); x=0.5*sqrt(2)*cos(0.5*k*pi+0.25*pi)+k*cos(t); plot(x,y) axis equal 为什么不能运行啊, x=linspace(0,2*pi)在matlab中是什么意思 x=[0:0.1:2*pi]在matlab中是什么意思? MATLAB中,x=linspace(0,2*pi,