Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

CPS118 :Term Project:Fall 2021 Introduction: This project isanindividualproject.On this project you will make calculations and conclusions based on real data collected by the NOAA (The National...

1 answer below »

CPS118:Term Project:Fall 2021

Introduction:
This project isanindividualproject.On this project you will make calculations and conclusions based on real data collected by the NOAA (The National Oceanic and Atmospheric Administration, an agency of the United States government) on the “Daily Lake Average Surface Water Temperature” of six lakes (Ontario, Erie, Huron, Michigan, Superior, and St. Clair) during the 2020calendar year.

You can find the actual data file here thatcontainstheaveragetemperatures for each day of the year for each of the six lakes. Data were collected between January and December 2020and are in degrees Celsius.

https://coastwatch.glerl.noaa.gov/ftp/glsea/avgtemps/2020/glsea-temps2020_1024.dat

Days are numbered 1 to 366, 1 being January 1st and December 31st being 366.

It is up to you to extract the data from the file and put it into MATLAB.This operation must be done withMATLAB!Do not copy and enter data by hand!

You are to make a report showing tables, graphs and conclusions based on data using MATLAB functionality.

Required elements:
The entire project must be presented asonesingle script file .Divide your codes into sections, one for each question, and add text comments to identify which question is answered in that section. To create a section add a comment that begins with %%. To learn more about sections and how to create and use them, you can search for 'Create and Run Sections in Code'in the MATLAB help.

Allcomputations to be done in MATLAB using the imported data file.Nothingcan be done by hand.

1. Calculate the yearly average temperature for each of the lakes, and the yearly average for all six lakesput together.

2. Indicate which lake is the coldest and which one is the warmest, based on the average yearly temperatures calculated in step #1. Also indicate which lakes have average temperatures above the average of all the lakes and which ones are below that same average.

3. Indicate the day and the temperature for the warmest water temperatures for each of the lakes. Do the same for the coldest temperatures. In the case of a tie, mention all the dates.

4. Indicate the day, lake and temperature of the warmest water temperature overall. Do the same for the coldest temperature. In the case of a tie, mention all the dates.

5. Make a graph of the temperature of each daily average (x=day, y=temp). Makeone graph per laketo show the yearly temperature trends. Label the axes clearly and add titles to all your graphs. Use script commands to generate thelabels and titles for all graphs.

6. Makea singlegraph of the temperatures (x=day, y=temp) that shows all 6 lines on one graph. Each lake will have a different colour and line type. Title your graph, label your axes, and have a legend.

7. Calculate the summer average (day 172 to day 265) for all 6 lakes (one average per lake). Is the order from warmest to coldest the same as with the yearly average calculated in step #1?

8. Make a graph for summer days only (day 172 to day 265) with all 6 lakes ononegraph. Title your graph, label your axes and have a legend (use the same colours, line types, and legend as the graph you made in step #6).

9. Calculate the winter average (days 1 to 79 and days 355 to 366) for all 6 lakes (one average per lake). Is the order from warmest to coldest the same as with the yearly average calculated in step #1?

10. Make a graph for winter days only (days 1 to 79 and days 355 to 366) with all 6 lakes ononegraph. Title your graph, label your axes, and have a legend (use the same colours, line types and legend as the graph you made in step #6).

11. Assuming that you can swim comfortably in the lake if the temperature isabove20 degrees, calculate the number of days in the year you can swim for each of the 6 lakes. Make pie charts of the percentages of total days of the year that you can swim in the lakes. Make one pie chart per lake and put all 6 on the same figure. Indicate each lake clearly next to the pie chart in the figure.

12. Assuming that lakes freeze when the water falls below 0 degrees. Calculate the number of days in the year that the lake is frozen. You must calculate the number of days with MATLAB, even if you know that there are none. Your program should work for years that would have some.

13. Re-do question 1 (the 7 yearly averages) but with data from 2019 instead. Make a table of the averages side by side to illustrate the two yearly results. Any notable changes between 2019 and 2020? Can you advance a conclusion why there is a difference (or not)? The data file for 2019 is here (365 days in 2019):
https://coastwatch.glerl.noaa.gov/ftp/glsea/avgtemps/2019/glsea-temps2019_1024.dat

Importantnotes about the report and its submission:
I.Allcomputations andplotsare to be done with MATLAB only.

II. You are to write a report. Your report must have an introduction about the purpose of the report and its presentation.

III. The report must be detailed, well presented and attractive. Don't be afraid to use colours to emphasize parts of the report. Be creative in the use of tables, graphs and images. Points will be awarded to the exactness of the computations, appearance, ease of reading (use font sizes that are easy to read and use adequate line spacing and margins), and the quality of the English language.

The report consists of the answers provided byeachof the program requirements (the actual outputs from the program as cut/paste or screenshots) and two shortconclusion paragraphs. The first one will explainwhy the results make sensefrom ascientific point of viewand the second one will discuss the MATLAB operations that you used to answer the question. The length of the report should be approximately 13 pages (that include numerical results, plots, and the conclusion paragraphs; so about one page per question). The number ofpages are just guidelines, you will not be penalized if your number of pages is different.

Be original! Plagiarism will be dealt with severely to the full extent of Ryerson academic integrity regulations. The Turnitin system will be used to help the markers in their assessment of originality.

IV. Your report must have a conclusion.You mustreport in the conclusion about your experience doing this project and how you would do things differently if you had to do this again.

V. Your report must have a cover pagethat clearly shows your name and section number.

VI. Your submission requiresoneof the following:

●If you prepared your script as a .m file, you should submit your code, together with a report that you have prepared satisfying the requirement of your term project, as stated above Thereport must be submitted inPDFformat(you can write it using Microsoft Word or OpenOffice/LibreOffice/ NeoOffice Writer, GoogleDocsand export/save to PDF at the end).This option is available for students of all sections.

●If you prepared your script as a .mlx file, you only need to submit your code. Your code should contain a report that you prepared to satisfy the requirement of your term project as stated above. This option is available for students registered in sections 6, 7, 8, 9 only.

VII.Projects must be submitted on or beforethe date specified in the D2L dropbox. Late assignments will not be accepted for marking. If you are concerned about getting the assignment in on time, submit it early. Technical excuses will not be accepted.

Answered Same Day Dec 03, 2021

Solution

Sathishkumar answered on Dec 03 2021
113 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here