Path: news.mathworks.com!not-for-mail
From: "Matthew " <men5mjr@leeds.ac.uk>
Newsgroups: comp.soft-sys.matlab
Subject: how to differentiate a function in matlab
Date: Tue, 27 Jan 2009 15:43:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 12
Message-ID: <glna26$a91$1@fred.mathworks.com>
Reply-To: "Matthew " <men5mjr@leeds.ac.uk>
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 1233070982 10529 172.30.248.37 (27 Jan 2009 15:43:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 27 Jan 2009 15:43:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1606798
Xref: news.mathworks.com comp.soft-sys.matlab:514266


i have the function:

CD=0.00591792 - 5.65*10^-5*theta - 0.0021914*CL + 2.03e-06*theta^2 + 0.0015415*CL^2 + 2.20e-05*theta*CL

where i will input the value of CL,

then i require the eqution to be differentiated and set =0 i.e. dCD/dtheta=0

help please.......thank you