Path: news.mathworks.com!not-for-mail
From: "Michael Elite" <elitemichael@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Matlab programming to find minimum help!?
Date: Tue, 2 Dec 2008 06:56:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 41
Message-ID: <gh2m61$98o$1@fred.mathworks.com>
References: <ggsree$3is$1@fred.mathworks.com>
Reply-To: "Michael Elite" <elitemichael@yahoo.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1228200961 9496 172.30.248.37 (2 Dec 2008 06:56:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 2 Dec 2008 06:56:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1622413
Xref: news.mathworks.com comp.soft-sys.matlab:504303


L=3:0.1:6.7;
th = acos((45-L.^2)/36);
ph = asin((6*sin(th))./L);
Tab = 2000./(sin(th)+cos(th).*tan(ph));
Tac = (2000.*cos(th))./((sin(th)+cos(th).*tan(ph)));



j=1;
while Tab(j)>=2000 | Tac(j)>=2000
    j=j+1;
end
L(j)






&#22519;&#34892;&#32080;&#26524;



L =



    3.4000



>> j



j =



     5