Graphics Programs Reference
In-Depth Information
h=
x-3/2+1/100*u*exp(400*x/u)
X = zeros(6);
I = zeros(6);
for j = 0:5
X(j + 1) = fzero(char(subs(h, u, 10ˆ(-j))), ...
[0, 10ˆ(-j-1)]);
I(j + 1) = 10ˆ(-j-5);
end
loglog(I, X)
10
−
1
10
−
2
10
−
3
10
−
4
10
−
5
10
−
6
10
−
7
10
−
10
−
9
10
−
10
−
10
−
10
−
5
10
8
7
6
The
loglog
plot has a slope of approximately 1, reflecting a linear
dependence.
Problem 11
(a)
dsolve('Dx = x - xˆ2')
ans =
1/(1+exp(-t)*C1)
syms x0; sol = dsolve('Dx = x - xˆ2', 'x(0) = x0')
Search WWH ::
Custom Search