ENG1060 Assignment Page 1 of 8 ENG1060 ASSIGNMENT – S2 2020 Due: 11:00PM (Sharp), Friday 30th October 2020 (Week 11) Late submissions: A 10% penalty (-1 mark) per day, or part thereof, will be...

i its urgent



ENG1060 Assignment Page 1 of 8 ENG1060 ASSIGNMENT – S2 2020 Due: 11:00PM (Sharp), Friday 30th October 2020 (Week 11) Late submissions: A 10% penalty (-1 mark) per day, or part thereof, will be applied. No submissions will be accepted once the penalty has reached 50%. GUIDELINES This assignment is to be completed INDIVIDUALLY. Students are advised to review Monash University's policies on academic integrity, plagiarism and collusion. Plagiarism occurs when you fail to acknowledge that the ideas or work of others are being used. Collusion occurs when you work in a manner not authorised by the teaching staff. Again, this is an individual assignment. Do not share your code or code with others. You may discuss ideas with your peers but the approach to coding must be your own. You must have full understanding of it. All assignments will be checked using the Measure of Software Similarity (MOSS) plagiarism and collusion detection software. Files with high similarity counts will be flagged and reviewed. In the event of suspected misconduct, the case will be reported to the Chief Examiner and the student's unit total will be withheld until the case has been reviewed and a decision has been finalised by the Associate Dean of Education. INSTRUCTIONS Download the assignment template files from Moodle and modify the code within the template files (e.g. Q1a.m, Q1b.m, etc.). DO NOT rename the template m-files or modify run_all.m. Check your solutions by running run_all.m and ensuring all questions are answered as required. The variables will remain in the workspace upon each file call. Do not use close all, clear all, clc in any m-files except run_all.m. This assignment assesses your ability to apply concepts taught in ENG1060. Therefore, do not use any toolboxes or functions that are not taught in ENG1060, unless otherwise specified. SUBMISSION Submit your assignment via Moodle. Read the “Assignment upload instructions.pdf” to prepare your ZIP file for submission. Your ZIP file must include the following attachments: a. Solution m-files for assignment tasks (e.g. run_all, Q1a.m, Q1b.m, etc.) b. Any additional function files required by your m-files (e.g. comp_trap.m, heun.m, newraph.m, etc.) c. All data files needed to run the code including the input data provided to you (e.g. data1.txt, data2.csv, etc.) It is your responsibility to ensure that everything needed to run your solution is included in your ZIP file. Download your submission from Moodle and test the files to ensure that you have submitted the correct files. The assignment is based the contents of the submitted files and the output of the run_all.m on a Windows- based system (demonstrator's laptop). If you use a MAC, you can test your files on MATLAB Online. The assignment will not be downloaded to your individual laptops for marking. Contact your unit coordinator if you encounter any issues. https://www.monash.edu/students/admin/policies/academic-integrity https://au.mathworks.com/products/matlab-online.html ENG1060 Assignment Page 2 of 8 MARKING Your assignment will be marked in your usual computer lab session during Week 12. You must attend and be present for the assessment to be marked. You will receive a score of 0 if you are absent. Your zip file will be downloaded from Moodle and only these files will be marked on a demonstrator's laptop. MARKING SCHEME This assignment is worth 10% (1 Mark = 1%) of the unit mark. Your assignment will be graded using the following criteria: 1) run_all.m produces results automatically (additional user interaction only if asked explicitly) 2) Your code implements appropriate approaches and produces correct results (printed values, plots, etc…) and adopts good programming practices. 3) Poor programming practice will result in a loss of up to 2 marks out of 10. 4) Your ability to answer the demonstrator's questions that test your understanding of the assignment questions and the submitted code. 5) This assignment assesses your ability to apply concepts taught in ENG1060. Therefore, do not use any toolboxes or functions that are not taught in ENG1060, unless otherwise specified. SUPPORT 1) You may use the function files that you have written in the labs and workshops. 2) You may ask questions in the Discussion Board on Moodle. 3) The m-file templates contain pre-written comments and sections only as a guide. You do not need to follow its structure. You may delete the comments. 4) Hints may be provided during workshops. 5) Bold text has been used to emphasize important aspects of each task. This does not mean that you should ignore all other text. 6) The questions have been split into sub-questions. It is important to understand how each sub-question contributes to the whole, but each sub-question is effectively a stand-alone task that does part of the problem. Each can be tackled individually. 7) It is recommended that you break down each sub-question into smaller parts too and figure out what needs to be done step-by-step. Then you can begin to put things together again to complete the whole. 8) Solve the question, of part thereof, by hand before attempting to code the solution. 9) You may discuss ideas and approaches with peers and demonstrators. However, discussions that lead to similarity in code may result in collusion. ENG1060 Assignment Page 3 of 8 QUESTION 1 [4 MARKS] Background Coronavirus are a large family of viruses that can cause severe illness in humans and animals by attacking the respiratory system. COVID-19 is the most recently discovered coronavirus. Its outbreak was first reported in Wuhan, China, in December 2019. The World Health Organisation declared the outbreak as a Public Health Emergency of International Concern and is an ongoing pandemic affecting the many countries around the world. COVID-19 data is collected globally to understand its impact. Image: https://www.nps.org.au/coronavirus You are provided with a modified file provided by Our World in Data that contains COVID-19 data. The file is named owid-covid-data.xlsx. It contains 43824 rows and 42 columns of data. You cannot modify any contents of the file. Open the file and familiarise yourself with the headers. Some of the key headers include:  Location: The location/country  Continent: The continent of the location  Days_tracked: The days since COVID-19 was first tracked in the location  Total_cases: The total cases of COVID-19  New_cases: The new daily cases of COVID-19  Total_deaths: The total deaths due to COVID-19  New_deaths: The new daily deaths due to COVID-19 Source: https://ourworldindata.org/covid-cases Q1a In the Q1a.m file, use importdata() to import the contents of owid-covid-data.xlsx. It is important to check what fields the imported data structure contains. Use input() to prompt the user for a location. In figure(1)1, create a 2-by-2 subplot and plot the following with a '--.' (dotted-double-dash) line specification. Turn on the grid and provide a title that includes the location for all panels.  [top-left panel] Total cases against days tracked  [top-right panel] Total deaths against days tracked  [bottom-left panel] New cases against days tracked  [bottom-right panel] New deaths against days tracked 1 Note that figure(H) makes H the current figure, forces it to become visible, and raises it above all other figures on the screen. If Figure H does not exist, and H is an integer, a new figure is created with handle H. ENG1060 Assignment Page 4 of 8 The code should continue to prompt the user if they would like to repeat the same task with another location. Data for another country should overwrite figure(1)1. An example output of the process is provided below. Input a location/country: australia

Try again for another location? Yes (1) or No (2): 1 Input a location/country: lebanon

Try again for another location? Yes (1) or No (2): 2 Note: Use strcmpi() to compare two strings (case-insensitive). *You should have one figure window by the end of this task. Q1b Consider the data for Australia, China, India, Indonesia, Malaysia and Vietnam. The majority of the international students at Monash University Australia come from these five foreign countries. In the Q1b.m file, in figure(2)1 and figure(3)1, plot the following for the 6 countries listed above with a '--.' (dotted-double-dash) line specification. The vertical axis should be logarithmically-scaled and the horizontal axis should be linearly scaled. Turn on the grid and position the legend in the north-west corner.  [Figure 2] Total cases against days tracked  [Figure 3] New cases against days tracked Based on visual inspection, use fprintf() to print a statement that describes which of the 6 countries above has best suppressed the COVID-19 virus. Note: The key_locations variable containing the 6 country names is already been provided in the m-file. The syntax key_locations(1) will extract the string "Australia". *You should have three figure windows by the end of this task. Q1c In the Q1c.m file, calculate the total number of cases and total number of deaths for each continent (Africa, Asia, Europe, North America, Oceania, South America) by adding the last recorded total cases of each location. The dates of the last recorded total cases does not need to be the same from each location. Use fprintf() to print the name of the continent and the corresponding total cases and total deaths. An example output is provided below. Continent

Oct 29, 2021ENG1060Monash University
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here