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

Copy of cps118_project_f21 aCPS118 - Term Project – Fall 2021 Introduction: This project is an individual project. On this project you will make calculations and conclusions based on real data...

1 answer below »
Copy of cps118_project_f21
aCPS118 - Term Project – Fall 2021
Introduction:
This project is an individual project. 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 2020 calendar year.
You can �nd the actual data �le here that contains the average temperatures for each day
of the year for each of the six lakes. Data were collected between January and Decembe
2020 and are in degrees Celsius.
https:
coastwatch.glerl.noaa.gov/ftp/glsea/avgtemps/2020/glsea-temps2020_1024.dat
Days are numbered 1 to 365, 1 being January 1st and December 31st being 365.
It is up to you to extract the data from the �le and put it into MATLAB. This operation
must be done with MATLAB! 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 as one single 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.
All computations to be done in MATLAB using the imported data file. Nothing can be
done by hand.
1. Calculate the yearly average temperature for each of the lakes, and the yearly average
for all six lakes put 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
https:
coastwatch.glerl.noaa.gov/ftp/glsea/avgtemps/2020/glsea-temps2020_1024.dat
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). Make one
graph per lake to show the yearly temperature trends. Label the axes clearly and add
titles to all your graphs. Use script commands to generate the labels and titles for all
graphs.
6. Make a single graph of the temperatures (x=day, y=temp) that shows all 6 lines on
one graph. Each lake will have a di�erent 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 pe
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 on one
graph. 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 365) 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 365) with all 6 lakes
on one graph. 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 is above 20
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 �gure. Indicate each lake
clearly next to the pie chart in the �gure.
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
etween 2019 and 2020? Can you advance a conclusion why there is a di�erence (o
not)? The data �le for 2019 is here:
https:
coastwatch.glerl.noaa.gov/ftp/glsea/avgtemps/2019/glsea-temps2019_1024.dat
Important notes about the report and its submission:
I. All computations and plots are 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
eading (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 by each of the program requirements (the
actual outputs from the program as cut/paste or screenshots) and two short conclusion
paragraphs. The �rst one will explain why the results make sense from a scienti�c point
of view and 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 pe
question). The number of pages are just guidelines, you will not be penalized if you
number of pages is di�erent.
https:
coastwatch.glerl.noaa.gov/ftp/glsea/avgtemps/2019/glsea-temps2019_1024.dat
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 thei
assessment of originality.
IV. Your report must have a conclusion. You must report in the conclusion about you
experience doing this project and how you would do things di�erently if you had to do
this again.
V. Your report must have a cover page that clearly shows your name and section
number.
VI. Your submission requires one of the following:
● If you prepared your script as a .m �le, you should submit your code, togethe
with a report that you have prepared satisfying the requirement of your term
project, as stated above The report must be submitted in PDF format (you can
write it using Microsoft Word or OpenO�ce/Li
eO�ce/ NeoO�ce Writer,
Google Docs and export/save to PDF at the end). This option is available fo
students of all sections.
● If you prepared your script as a .mlx �le, you only need to submit your code. You
code should contain a report that you prepared to satisfy the requirement of you
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 before November 29, 2021 @ 23:59. 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 3 days After Nov 23, 2021

Solution

Sathishkumar answered on Nov 26 2021
101 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