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

📄 legsnng.m

📁 计算方法 大学 求根 牛顿求根公式D:matlab mm ootfind.rar
💻 M
字号:
function [f,dfdt] = legsnNG(theta,w,h,b)
% legsnNG  Evaluate f(theta) and fprime(theta) for the picnic leg problem.
%          Used with the Newton's method.
%
% Synopsis:  [f,dfdt] = legsnNG(theta)
%
% Input:     theta = angle of table leg in radians
%            w,h,b = table dimensions
%
% Output:    f    = value of function that, when theta is a root, is equal to zero
%            dfdt = fprime(theta), ie. df/dtheta
f    = w*sin(theta) - h*cos(theta) - b;
dfdt = w*cos(theta) + h*sin(theta);

⌨️ 快捷键说明

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