Question

You need to guide a robot from the red dot on the left to the green dot on the right, avoiding the blue walls along the way.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

CONVERT THIS GRAPH INTO XY GRAPH WITH ORIGIN AT LEFT BOTTOM CORNER.

then position of red dot is (0,3).

Now when X=5 , Y should be greater than 6 .

let it be 7 . so , to reach (5,7) total distance travelled = (5-0)2 + (7-3)--V41 = 6.4

and angle = 2 tan-1 = t 5-0 anーだー38.66 in anticlockwise direction .

now its position is (5,7) .

Now when X=9 , Y should be greater than 0 but less than 3.

let y be 2 . so , to reach (9,2) total distance travelled = (9-5)2 + (2-7)2-V41 = 6.4

and angle = 7-2 -1 = tan-i-= 90 9 -5 38.66 + tan1-   in clockwise direction .

also now it is making angle 51.34 in clockwise direction with respect to postive x axis .

now its position is (9,2) .

Now when X=14 , Y should be greater than 3 but less than 5 and

also when X=17 , Y should be greater than 5

let y be 6 when X=17  . so , to reach (17,6) total distance travelled = /(17-9)2 + (6-2)--V80-894

and angle = 6-2 51.34 + tan1 17-9 77.9 = tan   in anticlockwise direction .

also now it is making angle 26.56 in anticlockwise direction with respect to postive x axis .

now its position is (17,6) .

Position of green dot is (24,3).

so , to reach (24,3) total distance travelled = (24-17)2 + (6-3)--V58 7.61

and angle = 26.56 + tan-16-3 tan-1L_ tan 49.75 7   in anticlockwise direction .

Now it has reached its final destination.

Add a comment
Know the answer?
Add Answer to:
You need to guide a robot from the red dot on the left to the green dot on the right, avoiding the blue walls along the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT