Sequence of Bisect implementations
Loading...
Searching...
No Matches
bisect.m
Go to the documentation of this file.
1
%%
2
clear
,
clc
, clf
3
4
%% define
function
5
syms
x
6
f
= sin(
x
) - 0.5 *
x
;
7
%
f
= (1.234567-
x
)*(
x
+0.987654);
8
9
10
%% define interval
11
a
= 0;
12
b
= 2;
13
14
%% graphics
15
fplot
(
f
,[
a
,
b
]); %% old: ezplot
16
hold
on
17
plot([
a
,
b
],[0,0],
'-r'
)
18
clc
clc
Definition
bisect.m:2
f
clf define function syms x f
Definition
bisect.m:6
a
define interval a
Definition
bisect.m:11
fplot
graphics fplot(f,[a, b])
b
b
Definition
bisect.m:12
clear
clear
Definition
bisect.m:2
x
elseif x
Definition
bisect_vis.m:169
on
grid on
Definition
bisect_vis.m:59
bisect.m
Generated on Fri May 22 2026 14:43:10 for Sequence of Bisect implementations by
1.9.8