正在加载图片...
程序exn623 m1=input(m1=【千克】): m2=input('m2=【千克】); theta=input('theta【度】=); theta=theta*pi/180;g=9.81; A=m1*cos(theta),-m1,-sin(theta),0;... m1*sin(theta),0,cos(theta),0;... 0 m2,-sin(theta),0;... 0 0,-cos(theta),1 ] B=[0,m1*g,0,m2*g]';X=A1B; a1=X(1),a2=X(2),N1=X(3),N2=X(4) 程序exn623 m1=input('m1=【千克】 '); m2=input('m2=【千克】 '); theta=input('theta【度】= '); theta=theta*pi/180; g=9.81; A = [ m1*cos(theta),-m1, -sin(theta), 0;... m1*sin(theta), 0, cos(theta), 0;... 0 , m2, -sin(theta), 0;... 0 , 0, -cos(theta), 1 ]; B = [ 0, m1*g, 0, m2*g]'; X=A\B; a1=X(1),a2=X(2),N1=X(3),N2=X(4)
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有