已知60=x*2*sin(pi*74/(4*x)),用matlab解此方程的语句该怎么写?

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/05 18:48:41
已知60=x*2*sin(pi*74/(4*x)),用matlab解此方程的语句该怎么写?已知60=x*2*sin(pi*74/(4*x)),用matlab解此方程的语句该怎么写?已知60=x*2*s

已知60=x*2*sin(pi*74/(4*x)),用matlab解此方程的语句该怎么写?
已知60=x*2*sin(pi*74/(4*x)),用matlab解此方程的语句该怎么写?

已知60=x*2*sin(pi*74/(4*x)),用matlab解此方程的语句该怎么写?
solve('60=x*2*sin(pi*74/(4*x))')


ans =


-31.281066120310786755821961868485
不过函数是偶函数,31.281066120310786755821961868485也因该是一个解,
通过绘图也可以看出

当然也可以用数值方法,但是对初值的依赖很大,你可以先绘图大致确定解的位置.
在图可以看出解大约在30和-30左右所以有以下程序
>> f=@(x)60-x*2*sin(pi*74/(4*x));
>> fsolve(f,-30)


Equation solved.


fsolve completed because the vector of function values is near zero
as measured by the default value of the function tolerance,and
the problem appears regular as measured by the gradient.


<stopping criteria details>




ans =


  -31.2811


>> fsolve(f,30)


Equation solved.


fsolve completed because the vector of function values is near zero
as measured by the default value of the function tolerance,and
the problem appears regular as measured by the gradient.


<stopping criteria details>




ans =


   31.2811

已知sin(x+pi/6)=1/4,求sin(5pi/6-x)+sin^2(pi/3-x)的值 已知60=x*2*sin(pi*74/(4*x)),用matlab解此方程的语句该怎么写? 已知Sin(2x+pi/3)=1/3,求Sin(5Pi/6-4x),用三角变换 已知cos(x)=sqrt(10)/10,x属于(0,pi/2),求sin(pi/4+2x)的值 三角函数关于直线对称问题?已知定义在区间[-3pi/2,pi]上的函数y=f(x)的图像关于直线x=-pi/4对称,当x在[-pi/4,pi]上时,f(x)=2sin(2x/3+pi/3).求x在[-3pi/2,-pi/4]上时,f(x)的表达式是什么? 已知x属于[0,pi],则函数y=2sin(pi/6-2x)为增函数的区间是a.[0,pi/3] b.[5pi/6,pi] 已知f(x)连续可导,证明g((x,y),(a,b))亦连续.已知f(x)在(-pi/2,pi/2)上连续可导,定义g(x,y)在集合E:=(-pi/2,pi/2)*(-pi/2,pi/2),g(x,y)=[f(x)-f(y)]/[sin(x)-sin(y)],证明g(x,y)在E上连续. y=sin(x+pi/3)sin(x+pi/2)的最小正周期是什么 Matlab u(x,t)=sin(5*pi*x)cos(5*pi*t)+2sin(7*pi*x)cos(7*pi*t) 其中0 化简sin(2x-pi)sin[x+(3/2)pi]/cos[x+(5/2)pi][1-sin(pi+x)] sin(pi/2+x)=?如题哈:(1)sin(pi/2+x)=cos(x) ------> (2)cos(pi/2+x)=-sin(x) ----------> ​ 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 函数f(x)=sin^2(x+pi/12)+cos^2(x-pi/12)的最大值 f(2x)=sin (x+3*pi/4)+cos (x-pi/2), 2(sin^4 x + cos^4 x) =1 [ - pi ≤ x ≤ pi ] 已知x≥y≥z≥pi/12,x+y+z=pi/2,问cos x *sin y*cos z 的最大值和最小值 函数连续区间f(x)={sin x,-PI/2 f(x)h(x)=√2/2sin(x+pi/4)cos(x+5pi/4) =-√2/2sin(x+pi/4)cos(x+pi/4)√2/2sin(x+pi/4)cos(x+5pi/4) =-√2/2sin(x+pi/4)cos(x+pi/4)这个是怎么化出来的?