Matlab sin(theta),matlab解如下方程组clear allsyms L n theta_t1 theta_t2S=solve(sin(4

共回答了19个问题采纳率:78.9%

你的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

四组解

1年前

10

表情包
插入表情
评论将由博主筛选后显示,对所有人可见 | 还能输入1000个字符
©️2020 CSDN 皮肤主题: 数字20 设计师:CSDN官方博客 返回首页