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.
0 10 20 30 x
0 10 20 30
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more