The average daily temperature for an area can be approximated by the following function
Chapter 3, Problem 3.4(choose chapter or problem)
The average daily temperature for an area can be approximated by the following function: T = Tmean + (Tpeak Tmean) cos((t tpeak)) where Tmean = the average annual temperature, Tpeak = the peak temperature, = the frequency of the annual variation (= 2/365), and tpeak = day of the peak temperature (=205 d). Parameters for some U.S. towns are listed here: City Tmean (C) Tpeak (C) Miami, FL 22.1 28.3 Yuma, AZ 23.1 33.6 Bismarck, ND 5.2 22.1 Seattle, WA 10.6 17.6 Boston, MA 10.7 22.9 Develop an M-file that computes the average temperature between two days of the year for a particular city. Test it for (a) JanuaryFebruary in Yuma, AZ (t = 0 to 59) and (b) JulyAugust temperature in Seattle, WA (t = 180 to 242).
Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.
Becoming a subscriber
Or look for another answer