⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 freeze.m

📁 nonlinear eq routines in matlab
💻 M
字号:
function varargout = freeze(x)%% compute the function value and derivative of %   pi*D*h*(T-Tinf)+pi*D*epsilon*sigma*(T^4-Ts^4)-IR%%%%  [y]    = freeze(x)%  [y,yp] = freeze(x)  returns the function value in y and %                      the derivative in yp%%  Matthias Heinkenschloss%  Department of Computational and Applied Mathematics%  Rice University%  April 17, 2001%t     =  5184000; % seconds = 60 daysTi    =  20;      % degree C Ts    = -15;      % degree alpha = 0.138e-6; %m^2/sec.% return the function valuevarargout{1} = Ts + (Ti - Ts) * erf( x / (2*sqrt(alpha*t)) );if( nargout > 1 )  % return the derivative as the second argument  varargout{2} = (2/sqrt(pi))*(Ti - Ts) ...                 * exp(-x^2/(4*alpha*t))/(2*sqrt(alpha*t));end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -