matlab解如下方程组clear allsyms L n theta_t1 theta_t2S=solve(sin(40*pi/180)==n*sin(theta_t1),sin(80*pi/180)==n*sin(theta_t2),L*tan(theta_t1)==0.6,L*tan(theta_t2)==1.69)clear allsyms L n theta_t1 theta_t2S=solve(sin(40*pi/180)==n*sin(theta_t1),s
来源:学生作业帮助网 编辑:作业帮 时间:2024/07/05 04:13:50
![matlab解如下方程组clear allsyms L n theta_t1 theta_t2S=solve(sin(40*pi/180)==n*sin(theta_t1),sin(80*pi/180)==n*sin(theta_t2),L*tan(theta_t1)==0.6,L*tan(theta_t2)==1.69)clear allsyms L n theta_t1 theta_t2S=solve(sin(40*pi/180)==n*sin(theta_t1),s](/uploads/image/z/12537227-11-7.jpg?t=matlab%E8%A7%A3%E5%A6%82%E4%B8%8B%E6%96%B9%E7%A8%8B%E7%BB%84clear+allsyms+L+n+theta_t1+theta_t2S%3Dsolve%28sin%2840%2Api%2F180%29%3D%3Dn%2Asin%28theta_t1%29%2Csin%2880%2Api%2F180%29%3D%3Dn%2Asin%28theta_t2%29%2CL%2Atan%28theta_t1%29%3D%3D0.6%2CL%2Atan%28theta_t2%29%3D%3D1.69%29clear+allsyms+L+n+theta_t1+theta_t2S%3Dsolve%28sin%2840%2Api%2F180%29%3D%3Dn%2Asin%28theta_t1%29%2Cs)
matlab解如下方程组clear allsyms L n theta_t1 theta_t2S=solve(sin(40*pi/180)==n*sin(theta_t1),sin(80*pi/180)==n*sin(theta_t2),L*tan(theta_t1)==0.6,L*tan(theta_t2)==1.69)clear allsyms L n theta_t1 theta_t2S=solve(sin(40*pi/180)==n*sin(theta_t1),s
matlab解如下方程组
clear
all
syms
L n theta_t1 theta_t2
S=solve(sin(40*pi/180)==n*sin(theta_t1),sin(80*pi/180)==n*sin(theta_t2),L*tan(theta_t1)==0.6,L*tan(theta_t2)==1.69)
clear all
syms L n theta_t1 theta_t2
S=solve(sin(40*pi/180)==n*sin(theta_t1),sin(80*pi/180)==n*sin(theta_t2),L*tan(theta_t1)==0.6,L*tan(theta_t2)==1.69)
matlab解如下方程组clear allsyms L n theta_t1 theta_t2S=solve(sin(40*pi/180)==n*sin(theta_t1),sin(80*pi/180)==n*sin(theta_t2),L*tan(theta_t1)==0.6,L*tan(theta_t2)==1.69)clear allsyms L n theta_t1 theta_t2S=solve(sin(40*pi/180)==n*sin(theta_t1),s
你的solve用错了
clear all
syms L n theta_t1 theta_t2
S=solve('sin(40*pi/180)=n*sin(theta_t1)','sin(80*pi/180)=n*sin(theta_t2)','L*tan(theta_t1)=0.6','L*tan(theta_t2)=1.69')
结果如下:
L=
-.82995695967047036311740434635019
.82995695967047036311740434635019
-.82995695967047036311740434635019
.82995695967047036311740434635019
n=
-1.0971562911942192850884002635904
-1.0971562911942192850884002635904
1.0971562911942192850884002635904
1.0971562911942192850884002635904
theta_t1=
-.62594941505400756528497719561430
-2.5156432385357856731776661876652
2.5156432385357856731776661876652
.62594941505400756528497719561430
theta_t2=
-1.1142950066482793542827685922890
-2.0272976469415138841798747909905
2.0272976469415138841798747909905
1.1142950066482793542827685922890
四组解