Re: [問題] 解方程已回收
※ 引述《bensou (**++Ben..)》之銘言:
: 不好意思.我想問matlab怎樣解
: -1=9*sin(x)/x+cos(x)
: 我想求x->0~6pi的解.可以解嗎??
: 有甚麼不妥請指出.感謝各位收看
function pttex132
clc
h1 = fsolve(@trianglenl,1)
h2 = fsolve(@trianglenl,5)
h3 = fsolve(@trianglenl,8)
h4 = fsolve(@trianglenl,11)
h5 = fsolve(@trianglenl,14)
h6 = fsolve(@trianglenl,17)
h7 = fsolve(@trianglenl,20)
function f = trianglenl(x)
f = 9.*sin(x)./(x+eps)+cos(x)+1;
--
1.MATLAB programming 2.ASPEN process simulation package
3.FORTRN programming 4.Advance Engineering Mathematics
5.Process Control Theory
6.Chemical Engineering Basic Theory(Kinetic.thermodynamics.transport)
7.Numerical Method and Analysis
8.MATLAB Toolbox.Simulink system basic design
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 202.132.126.154
推
11/27 10:08, , 1F
11/27 10:08, 1F
※ 編輯: zupo 來自: 202.132.126.154 (11/27 10:13)
推
11/27 10:13, , 2F
11/27 10:13, 2F
推
11/27 10:15, , 3F
11/27 10:15, 3F
※ 編輯: zupo 來自: 202.132.126.154 (11/27 10:31)
討論串 (同標題文章)