Figure 2.1:
An illustrating example: The ladder in the mine.
|
What is the longest ladder (
)? (see the Fig. 2.1)
The maximum length of the ladder
calculus way
MATLAB way is as the following: (see the Fig. 2.2)
a=123*2*pi*/360
L=inline('9/sin(pi-2.1468-c)+7/sin(c)')
fplot(L,[0.4,0.5]); grid on
fminbnd(L,0.4,0.5)
L(0.4677)
fminbnd(L,0.4,0.5,optimset('Display','iter'))
Figure 2.2:
An illustrating example: The ladder in the mine. Solution with MATLAB
|
2004-12-28