登录论坛

查看完整版本 : 【求助】大家救命啊~~这2题怎么用MATLAB M-FILE做啊~~~不懂不懂~~5555555555


fangshujing
2007-12-13, 20:41
:mad:帮帮我吧~~~
[/I]Question1: Verify the formulae in (a) and (b) for the cases (i) a=48度 and b=36度
(ii) a= -20度 and b=112度
a. cosb-cosa=2*sin[(a+b)/2]*sin[(a-b)/2]
b. tna(a+b)=[(tana+tanb)/(1-tanatanb0]


Question2: use solve () function available in symboilc math toolbox to answer this question
Solve the following equations for x:
a. sinx=cosx
b. 2*x的3次方--7*x的平方=19x-60

elunxu
2007-12-20, 21:26
第二问:
syms x
solve('sin(x)=cos(x)')

syms x
solve('2*x-7*x^2 = 19*x-16')