asked 96.7k views
3 votes
COMPLETE THE TABLE PICTURED: A robot is put into a maze, it can only go N, E, S, and West. The value i represents the north, and the magnitude is equal to 1. I have figured out that N= i, East= 1, South= -i, and West= -1. When programming the robot, let the complex number d represent the direction the robot is facing. As the robot changes direction, the value of d will also change; so, the value of d is dependent on where the robot is in the maze. When the robot makes a turn, it would be useful to have an operation to perform on d to represent this turn. This is because after making a turn, the new value of d will depend on the old value of d. Complete the table for the new values of d if the robot is turning left or right. Then determine an expression in terms of d that will give the new position if the robot turns left and another expression if the robot turns right. Type these expressions in the last row of the table.

COMPLETE THE TABLE PICTURED: A robot is put into a maze, it can only go N, E, S, and-example-1

2 Answers

2 votes

Explanation:


\boxed{\begin{array}c \underline{Intial -d} & \underline {Left-turn} & \underline{Right-turn} \\ -1 & -i & i \\ 1 & i & -i \\ i & -1 & 1\\ -i & 1 & -1 \\ d & di & -di \end{array}}

answered
User Nikolay Nahimov
by
7.5k points
4 votes

9514 1404 393

Answer:

see attached

Explanation:

A right turn represents a clockwise rotation of the direction vector by 90°. It is equivalent to multiplying the complex number representation by -i.

A left turn represents a counterclockwise rotation of the direction vector by 90°. It is equivalent to multiplying the complex number representation by i.

The attached table shows the desired values and expressions.

COMPLETE THE TABLE PICTURED: A robot is put into a maze, it can only go N, E, S, and-example-1
answered
User JPReddy
by
7.8k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.