作业帮 > 综合 > 作业

怎样用matlab从含有2个变量的方程中提取一个变量出来.

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/17 22:50:23
怎样用matlab从含有2个变量的方程中提取一个变量出来.
1./2.*(820000.*9.8./0.05415).*[b.^2.*(R-b./3)-4./3.*((2000000-1000000)./(1820000-1000000)).*R.^3-(((2.*R-b).*b).^0.5).^2.*((-2.*((((2.*R-b).*b).^0.5)./R).*((((2.*R-b).*b).^0.5)./R.*cos(5.*pi./6)+((R.^2-(((2.*R-b).*b).^0.5).^2).^0.5./R).*sin(5.*pi./6)).*0.05415./(1820000.*R.^2.*9.8)-(4./3).*2000000./1820000+(2./3-((R.^2-(((2.*R-b).*b).^0.5).^2).^0.5./R)+(1./3).*((R.^2-(((2.*R-b).*b).^0.5).^2).^0.5./R).^3)+1000000./1820000.*(2./3+((R.^2-(((2.*R-b).*b).^0.5).^2).^0.5./R)-(1./3).*(((R.^2-(((2.*R-b).*b).^0.5).^2).^0.5./R)).^3)).*R./[(1000000./1820000-1).*((((2.*R-b).*b).^0.5)./R).^2])]=(((2.*R-b).*b).^0.5)*sin(acos(b/R-1)-(5.*pi./6))
这个方程中含有b和R两个变量,怎样才能用matlab把方程化成b=R.的形式
就是左边是b,右边是R的方程,比方说b=555*666*R*222+(333+R)这样的,
用ezplot
ezplot Easy to use function plotter
ezplot(FUN) plots the function FUN(X) over the default domain
-2*PI < X < 2*PI, where FUN(X) is an explicitly defined function of X.

ezplot(FUN2) plots the implicitly defined function FUN2(X,Y) = 0 over
the default domain -2*PI < X < 2*PI and -2*PI < Y < 2*PI.

ezplot(FUN,[A,B]) plots FUN(X) over A < X < B.
ezplot(FUN2,[A,B]) plots FUN2(X,Y) = 0 over A < X < B and A < Y < B.

ezplot(FUN2,[XMIN,XMAX,YMIN,YMAX]) plots FUN2(X,Y) = 0 over
XMIN < X < XMAX and YMIN < Y < YMAX.

ezplot(FUNX,FUNY) plots the parametrically defined planar curve FUNX(T)
and FUNY(T) over the default domain 0 < T < 2*PI.

ezplot(FUNX,FUNY,[TMIN,TMAX]) plots FUNX(T) and FUNY(T) over
TMIN < T < TMAX.

ezplot(FUN,[A,B],FIG), ezplot(FUN2,[XMIN,XMAX,YMIN,YMAX],FIG), or
ezplot(FUNX,FUNY,[TMIN,TMAX],FIG) plots the function over the
specified domain in the figure window FIG.