matlab求解方程.f=x*sin(y)+((pi*12/4+(60-x)*tan(pi/9))+48*y)*tan(pi/9)=0,其中x范围为30到60,求y.

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/10 09:33:06
matlab求解方程.f=x*sin(y)+((pi*12/4+(60-x)*tan(pi/9))+48*y)*tan(pi/9)=0,其中x范围为30到60,求y.

matlab求解方程.f=x*sin(y)+((pi*12/4+(60-x)*tan(pi/9))+48*y)*tan(pi/9)=0,其中x范围为30到60,求y.
matlab求解方程.f=x*sin(y)+((pi*12/4+(60-x)*tan(pi/9))+48*y)*tan(pi/9)=0,其中x范围为30到60,求y.

matlab求解方程.f=x*sin(y)+((pi*12/4+(60-x)*tan(pi/9))+48*y)*tan(pi/9)=0,其中x范围为30到60,求y.
你这个就是一个式子,而不是方程,是超越的,没法直接求解,只能得到一系列的关系点.
>> syms x y
>> f=x*sin(y)+((pi*12/4+(60-x)*tan(pi/9))+48*y)*tan(pi/9);
>> ezplot(f,[30 60 -1 1])


>> x=30:60;

>> f1=eval(f);
>> n=length(f1);
>> for i=1:n
y(i)=solve(f1(i));
end
>> y=subs(y)
y =
  Columns 1 through 12 
   -0.1564   -0.1504   -0.1446   -0.1391   -0.1338   -0.1287   -0.1238   -0.1191   -0.1146   -0.1102   -0.1059   -0.1018
  Columns 13 through 24 
   -0.0979   -0.0941   -0.0904   -0.0868   -0.0833   -0.0800   -0.0767   -0.0736   -0.0705   -0.0676   -0.0647   -0.0619
  Columns 25 through 31 
   -0.0591   -0.0565   -0.0539   -0.0514   -0.0490   -0.0466   -0.0443
>> 

matlab求解方程.f=x*sin(y)+((pi*12/4+(60-x)*tan(pi/9))+48*y)*tan(pi/9)=0,其中x范围为30到60,求y. 求教matlab遗传算法问题f(x,y)=sin(pi*x)/(pi*x)*sin(pi*y)/(pi*y)x,y=[0,8],求maxf(x,y)用遗传算法怎么可以求解? MATLAB求解非线性方程f(x)=sin⁡(x)-x^2/4=0.分别利用二分法、最速下降法和牛顿法求解求解非线性方程f(x)=sin⁡(x)-x^2/4=0.分别利用二分法、最速下降法和牛顿法求解该非线性方程的非 matlab习题求解.10.求出y=x*sin(x) 在0 matlab编程求解微分方程组:x=x*y+t,y=x^2*sin(y)+t^2 matlab求解方程,显示empty symsyms x a;fun=1+cos(x)*cosh(x)-a*x.*(sin(x)*cosh(x)-sinh(x)*cos(x));Y=solve(fun,'x')想求x的表达式,求高手指导 Matlab求解方程 y=f(x);f(0)=0; y''=(1+y'^2)^(3/2); 求解区间[0,1] 解得好的再加50分! matlab求解导数y=ln((2tanx+1)/(tanx+2)),y=sin(e^(x^2+3x-2)) matlab编程m文件牛顿法求解非线性方程,function newton(x0,esp,n)for k=1:ny=x0-nd(x0)/nt(x0);xe=abs(y-x0);if xe>espx0=y;else fprintf('x0=%f xe=%f k=%d ',x0,xe,k)break;endendfunction y=nd(x)y=(x-pi/2)^2-sin(x)-1;function y=nt(x)y=2*(x-pi/2) 方程为(d^2x)/(dt^2)+a*sin(x)=0的mathematica 和matlab求解命令 怎么用matlab求解cos(x)-x*sin(x)=0并画出y=cos(x)-x*sin(x)的图像?急用! matlab对隐函数的求导,1.设y=f(x)是由方程sin((x)+y^(2))=x^(2)y确定的函数,求y'2.y=f(x)是由方程e^(x+y)+yln(x+1)=cos2x确定的函数,求y'(0)3.设函数y=f(x)由方程y=1-e^(y)确定,求dy/dx4.设y=f(x)由方程x(1+y^(2))-ln(X matlab中为什么有的算式中要加点号例如 f=@(x,y)x.^2.*y+sin(x).*cos(y) Matlab求解非线性方程(x-2)^3+x+sin(x-2)=2,(我没算出来,所以想用Matlab求解), 这个题用Matlab哪个函数啊?m函数啊,求大神帮帮敲敲具体程序格式吧 matlab求解一个带定积分的方程M文件内容为function f=fesin(x)f=sqrt(1-0.3332^2*(sin(x)).^2);这个方程的积分下限为0,上限待求解,积分结果已知,为0.0261,就是在已知积分结果和下限的条件下求解上线,积分 matlab中语句f=@(x,y)exp(-x.^2/3).*sin(x.^2+2*y)中@(x, matlab参数方程绘图x=sin(t);y=cos(t);0 xy’+x+sin(x+y)=0 求解该积分方程 .急.