Bisection
bisect.m
Go to the documentation of this file.
1
%
2
3
a
= -1;
4
b
= 2;
5
x
= linspace(
a
,
b
,1000);
6
y
= sin(
x
)-
x
/2;
7
plot
(
x
,
y
,[
a
,
b
],[0,0])
8
title('sin(
x
)-
x
/2');
b
b
Definition:
bisect.m:4
y
y
Definition:
bisect.m:6
a
a
Definition:
bisect.m:3
x
x
Definition:
bisect.m:5
plot
plot(x, y,[a, b],[0, 0]) title('sin(x) -x/2')
bisect.m
Generated by
1.9.1