早教吧 育儿知识 作业答案 考试题库 百科 知识分享

matlab求解这个方程组100+a/2=173*cos(b)sqrt(3)*a/2=173*sin(b)

题目详情
matlab求解这个方程组
100+a/2=173*cos(b)
sqrt(3)*a/2=173*sin(b)
▼优质解答
答案和解析
用solve函数求解联立方程组:
[a,b]=solve('100+a/2=173*cos(b)','sqrt(3)*a/2=173*sin(b)','a','b')
a=simple(a)
b=simple(b)
a =
[ 1/2]
[-50 + 22429 ]
[ ]
[ 1/2]
[-50 - 22429 ]
b =
[ 1/2 1/2 ]
[ 3 (-50 + 22429 ) ]
[atan(---------------------)]
[ 1/2 ]
[ 150 + 22429 ]
[ ]
[ 1/2 1/2 ]
[ 3 (-50 - 22429 ) ]
[atan(---------------------)]
[ 1/2 ]
[ 150 - 22429 ]
a =
[ 1/2]
[-50 + 22429 ]
[ ]
[ 1/2]
[-50 - 22429 ]
b =
[ 1/2 1/2 ]
[ 3 (-50 + 22429 ) ]
[atan(---------------------)]
[ 1/2 ]
[ 150 + 22429 ]
[ ]
[ 1/2 1/2 ]
[ 3 (50 + 22429 ) ]
[atan(--------------------) ]
[ 1/2 ]
[ -150 + 22429 ]
>> a=eval(a)
b=eval(b)
a =
99.7631
-199.7631
b =
0.5229
-1.5701