l means turn right r means turn left number represent the distance traveled in a particular direction in meters if alice is initially facing north,and is given the instruction,3L4L5R2L3R3R2R4R2R3R,which direction would she face and how much distance would she cover
Answers
Answer:
l means turn right r means turn left number represent the distance traveled in a particular direction in meters if alice is initially facing north,and is given the instruction,3L4L5R2L3R3R2R4R2R3R,which direction would she face and how much distance would she cover
Answer:
Alice is facing north and she travelled total 31 units.
Step-by-step explanation:
Given:- The given instruction is 3L4L5R2L3R3R2R4R2R3R.
L means turn right, R means turn left and number represents the
distance travelled in a particular direction.
To Find:- Direction Alice faces in the end of instruction and total distance covered.
Solution:-
To turn right - L
To turn left - R.
The given instruction is 3L4L5R2L3R3R2R4R2R3R.
Initially Alice is facing north.
Step 1 :- Currently she is facing north and she travels 3 units.
Step 2 :- Then she turns right, which is west and walks 4 units.
Step 3 :- After that she turns right again i.e. south and travels 5 units.
Step 4 :- Now she turns left which is west and travels 2 units.
Step 5 :- Then she turns right i.e. south and travels 3 units.
Step 6 :- Now she turns left which is west and travels 3 units.
Step 7 :- Again she turns left which is north and travels 2 units.
Step 8 :- Now again she turns left which is east and travels 4 units.
Step 9 :- Then she again takes a left which is south and travels 2 units.
Step 10 :- Now she again turns left which is west and travels 3 units.
Step 11 :- Then turns left which is north direction.
Total distance = 3 + 4 + 5 + 2 + 3 + 3 +2 + 4 + 2 + 3
= 31 units
So, in the end she faces north and travelled a total of 31 units.
#SPJ2
https://brainly.in/question/16466472
https://brainly.in/question/29430098