Page 1 of 1

MATLAB MATLAB MATLAB MATLAB How can I differentiate the function below in MATLAB. dt = (tw+((hfg.*(r-h).*log(r./(r-h))).

Posted: Sat May 21, 2022 12:02 pm
by answerhappygod
MATLAB MATLAB MATLAB MATLAB
How can I differentiate the function below in MATLAB.
dt =
(tw+((hfg.*(r-h).*log(r./(r-h)))./kl).*b.*(dp+pc)+tv.*a.*((hfg.*(r-h).*log(r./(r-h)))./kl))./(a.*((hfg.*(r-h).*log(r./(r-h)))./kl)
+ 1);
dt/dh = ?
Example
dp = A/h^3
dp/dh = -3*A*h^-4