Professional Documents
Culture Documents
PATH OPTIMIZATION
1 | Page
OPTIMIZATION PROBLEM:
(iii) R≥0
2 | Page
ANALYSIS:
Different paths available to satisfy the given conditions and achieve the required final
direction:
The minimum path to be travelled is the optimum path found by solving for the
appropriate point of contact between the two circles and the radius of the second circle.
SOLUTION:
3 | Page
Step 1: M-file objfun.m for the objective function
function f=objfun(x)
f=((90+a-g)*3+(90+b-g)*R)*(pi/180);
EXAMPLES:
1. a=20o; b=45o; r=60cm; s=60cm; g=(-)01.44o; R=11cm
5 | Page
6 | Page
2. a=20o; b=45o; r=60cm; s=50cm; g=(-)01.44o; R=5.1cm
7 | Page
8 | Page
3. a=20o; b=45o; r=30cm; s=90cm; g=(-)01.44o; R=41cm
9 | Page
10 | Page
4. a=20o; b=20o; r=60cm; s=60cm; g=23.56o; R=11cm
11 | Page
12 | Page
5. a=20o; b=20o; r=60cm; s=50cm; g=23.56o; R=5.1cm
13 | Page
14 | Page
6. a=20o; b=20o; r=30cm; s=90cm; g=23.56o; R=41cm
15 | Page
16 | Page
7. a=20o; b=(-)20o; r=60cm; s=60cm; g=63.56o; R=11cm
17 | Page
18 | Page
8. a=20o; b=(-)20o; r=60cm; s=50cm; g=63.56o; R=5.1cm
19 | Page
20 | Page
9. a=20o; b=(-)20o; r=30cm; s=90cm; g=63.56o; R=41cm
21 | Page
22 | Page