Animate two-scale temperature variations
We consider temperature oscillations in the ground as addressed in Chapter 5.7.2. Now we want to visualize daily and annual variations. Let A1 be the amplitude of annual variations and A2 the amplitude of the day/night variations. Let also P1 = 365 days and P2 = 24 h be the periods of the annual and the daily osciallations. The temperature at time t and depth z is then given by17
Choose k as in Chapter 5.7.2, A1= 15 C, A2= 7 C, and the resolution ∆t time as P2/10. Modify the heatwave.py program in order to animate this new temperature function. Name of program file: heatwave2.py. ⋄
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here