📄 ex7.m
字号:
syms x;
x1 = (3 * x + 1) / x^2;
x2 = (x^3 - 1) / 3;
x3 = (3 * x + 1)^(1/3);
x4 = 1 / (x * x - 3);
x5 = (3 + 1 / x)^(1/2);
x6 = x - 1 / 3 * ((x^3 - 3 * x - 1) / (x^2 - 1));
non_linear_roots(x1, -20);
non_linear_roots(x2, -20);
non_linear_roots(x3, -20);
non_linear_roots(x4, -20);
non_linear_roots(x5, -20);
non_linear_roots(x6, -20);
%
% non_linear_roots(x1, -2);
% non_linear_roots(x2, -2);
% non_linear_roots(x3, -2);
% non_linear_roots(x4, -2);
% non_linear_roots(x5, -2);
% non_linear_roots(x6, -2);
%
% non_linear_roots(x1, 10000000);
% non_linear_roots(x2, 10000000);
% non_linear_roots(x3, 10000000);
% non_linear_roots(x4, 10000000);
% non_linear_roots(x5, 10000000);
% non_linear_roots(x6, 10000000);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -