MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   【求助】大家救命啊~~这2题怎么用MATLAB M-FILE做啊~~~不懂不懂~~5555555555 (https://www.labfans.com/bbs/showthread.php?t=968)

fangshujing 2007-12-13 20:41

【求助】大家救命啊~~这2题怎么用MATLAB M-FILE做啊~~~不懂不懂~~5555555555
 
: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')


所有时间均为北京时间。现在的时间是 09:48

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.