# ENGR 231 Linear Engineering Systems

Posted: October 1st, 2022

ENGR 231 Linear Engineering Systems
Lab 7: Pacman Game!

Your Name:_______________________ Indicate Section: 61 or 62.

As a convenience, thisanswer templateis provided if you wish to easily submit your work. Be sure to save it as a PDF before submitting online! Only one submission is allowed.

Questions 1-2: Paste your yellow Pacman image here. Mustnotshow the dots.

Question 3: Paste an image of your yellow Pacman with black eye here.

Questions 4-5: Anonymous functions

Question 4:After defining the anonymous function translate(dx,dy) as above, find the result of:
>> translate(1,2) * [1;0;1]

Question 5:Show your inline code for the anonymous function rotate(d).
Paste code here:

Find the result of:
>> rotate(90) * [1;0;1]

Question 6: Paste an image of your completed maze here. (No dots!)

Questions 7-8: Replace this plot, with your new plot. Remember yoursmust have no dots! but should show the turning points, the blue jewel and the yellow Pacman.

Question 9: Paste your code for the third turning point here. Use a small font to preserve formatting.

Question 10: Paste your code for the fourth turning point here. Use a small font to preserve formatting.

When your lab is complete, be sure to submit it as a PDF by the due date this Thursday before 11:59PM. You have one more day, to submit the lab (but with a small penalty), and then the window closes for good and your grade will be zero. Only one submission is allowed per student.

1

0 10 20 30 x
-5
0
5
10
15
20
25
30
y
Pacman Maze

0 10 20 30
x
-5
0
5
10
15
20
25
30
y
Pacman Maze

### Expert paper writers are just a few clicks away

Place an order in 3 easy steps. Takes less than 5 mins.

## Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
\$0.00
You can contact our live agent via WhatsApp! Via + 1 3234125597

Feel free to ask questions, clarifications, or discounts available when placing an order.