資源簡介
數值分析 用MATLAB 牛頓迭代法 可以輸入任意函數
代碼片段和文件信息
format?long;
%syms?a?b?c?d?e?f?g?h?i?j?k?l?m?n?o?p?q?r?s?t?u?v?w?x?y?z?max?mid?min;
disp(‘此方法為牛頓迭代法!!!‘);
p=input(‘請輸入函數f:‘);
x0=input(‘請輸入初值:‘);
%max=input(‘請輸入區間的上限:?‘);
%min=
評論
共有 條評論