Question: Write a python program Question 3 The average daily temperature for an area can be approximated by the following function, T = Tmean + (Tpeak
Write a python program
Question 3 The average daily temperature for an area can be approximated by the following function, T = Tmean + (Tpeak Tmean) cos(wlt - tpear)) where I mean = the average annual temperature, Tpeak = the peak temperature, w = the frequency of the annual variation (= 21/365), and tpeak = day of the peak temperature ( 205 d). a. Develop a program that computes the average temperature between two days of the year for a particular country. Test it for a. Days, (t = 4 to 47) in Ethiopia (T mean = 22.18 C; Tpeak = 28.38 C). b. Days, (t = 182 to 264) in Mauritius (Tmean = 10.78 C; Tpeak = 22.98 C). (8 marks) b. Repeat (a) and plot a temperature profile for both countries in separate figure
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
