inside temperatures u(t)

Similar documents
1.5 Application Linear Equations and Temperature Oscillations

Math 2250 Maple Project 2: Newton Cooling January 2009

2.5 Linear Applications 99 Two-Tank Mixing. Two tanks A and B are assumed to contain A 0 and B 0 liters of brine at t = 0. Let the input for the rst t

MATH 294???? FINAL # 4 294UFQ4.tex Find the general solution y(x) of each of the following ODE's a) y 0 = cosecy

2.5 Linear Applications

5.1 Second order linear differential equations, and vector space theory connections.

Compartmental Analysis

Math 2250 Maple Project 2, March Tacoma Narrows. CLASSTIME VERSION A-E, F-K, L-R, S-Z

MITOCW MITRES18_005S10_DiffEqnsMotion_300k_512kb-mp4

MITOCW watch?v=poho4pztw78

FUNCTIONS AND MODELS

Mon Jan Improved acceleration models: linear and quadratic drag forces. Announcements: Warm-up Exercise:

NEWTON S LAW OF COOLING

1 Introduction & Objective

Mathematics with Maple

ES205 Analysis and Design of Engineering Systems: Lab 1: An Introductory Tutorial: Getting Started with SIMULINK

Math Week 1 notes

Math Week 1 notes

2 Background: Fourier Series Analysis and Synthesis

What is calculus? Consider the way that Archimedes figured out the formula for the area of a circle:

This is the number of cycles per unit time, and its units are, for example,

4. Sinusoidal solutions

Lab #2 - Two Degrees-of-Freedom Oscillator

CHAPTER 1. First-Order Differential Equations and Their Applications. 1.1 Introduction to Ordinary Differential Equations

MITOCW MITRES_18-007_Part1_lec5_300k.mp4

What is calculus? Consider the way that Archimedes figured out the formula for the area of a circle:

Project Two. James K. Peterson. March 26, Department of Biological Sciences and Department of Mathematical Sciences Clemson University

Project Two. Outline. James K. Peterson. March 27, Cooling Models. Estimating the Cooling Rate k. Typical Cooling Project Matlab Session

Energy Analysis of a Mass Oscillating on a Spring Masses and Springs Simulation

Velocity vs Time Graphs *

Math 308, Sections 301, 302, Summer 2008 Lecture 5. 06/6/2008

MITOCW R11. Double Pendulum System

Newton s Cooling Model in Matlab and the Cooling Project!

A2 MATHEMATICS HOMEWORK C3


Chapter 1, Section 1.2, Example 9 (page 13) and Exercise 29 (page 15). Use the Uniqueness Tool. Select the option ẋ = x

Math 425 Fall All About Zero

Exercise 4) Newton's law of cooling is a model for how objects are heated or cooled by the temperature of an ambient medium surrounding them.

Physics 212E Spring 2004 Classical and Modern Physics. Computer Exercise #2

3.3. SYSTEMS OF ODES 1. y 0 " 2y" y 0 + 2y = x1. x2 x3. x = y(t) = c 1 e t + c 2 e t + c 3 e 2t. _x = A x + f; x(0) = x 0.

Mon Jan Improved acceleration models: linear and quadratic drag forces. Announcements: Warm-up Exercise:

Maple in Differential Equations

Partial Fractions. June 27, In this section, we will learn to integrate another class of functions: the rational functions.

I can translate between a number line graph, an inequality, and interval notation.

Hurricanes. Where's the Really Bad Weather 1. What: Rotating wind/rain storm Winds from 75 to 200 mph As big as 600 miles wide

Question: Total. Points:

x(t+ δt) - x(t) = slope δt t+δt

MITOCW 2. Harmonic Oscillators with Damping

PH 120 Project # 2: Pendulum and chaos

BRONX COMMUNITY COLLEGE LIBRARY SUGGESTED FOR MTH 30 PRE-CALCULUS MATHEMATICS

Math 315: Differential Equations Lecture Notes Patrick Torres

Third Grade Math and Science DBQ Weather and Climate/Representing and Interpreting Charts and Data - Teacher s Guide

Physics 111. Thursday, Dec. 9, 3-5pm and 7-9pm. Announcements. Thursday, December 9, 2004

MAHAPATRA218FALL12 ( MPMAHAPATRA218FALL12 )

A j = 0.1 cm 2 10 cm 10 cm 10 cm. W j Wj. W j W j. W j. 10 cm 10 cm 10 cm. r i

Learning Objectives for Math 165

Theorem 3: The solution space to the second order homogeneous linear differential equation y p x y q x y = 0 is 2-dimensional.

12. Introduction and Chapter Objectives

Gravitational potential energy *

Structural Geology, GEOL 330 Spring 2012

37. f(t) sin 2t cos 2t 38. f(t) cos 2 t. 39. f(t) sin(4t 5) 40.

MITOCW MITRES18_006F10_26_0602_300k-mp4

MITOCW watch?v=b1ekhyc9tto

Updated 2013 (Mathematica Version) M1.1. Lab M1: The Simple Pendulum

1 Newton s 2nd and 3rd Laws

1 The pendulum equation

NUMB3RS Activity: How to Get a Date. Episode: Bones of Contention

AP Physics 1 Summer Assignment

Simple Harmonic Motion *

First-Order Differential Equations

HR Diagram of Globular Cluster Messier 80 Using Hubble Space Telescope Data

CHAPTER 3. The sun and the seasons. Locating the position of the sun

x = B sin ( t ) HARMONIC MOTIONS SINE WAVES AND SIMPLE HARMONIC MOTION Here s a nice simple fraction: y = sin (x) Differentiate = cos (x)

is any vector v that is a sum of scalar multiples of those vectors, i.e. any v expressible as v = c 1 v n ... c n v 2 = 0 c 1 = c 2

2.3 Oscillation. The harmonic oscillator equation is the differential equation. d 2 y dt 2 r y (r > 0). Its solutions have the form

Math 314 Lecture Notes Section 006 Fall 2006

TILT, DAYLIGHT AND SEASONS WORKSHEET

Regression, part II. I. What does it all mean? A) Notice that so far all we ve done is math.

Math Week 10: March applications of linear differential equations, and solution techniques for non-homogeneous problems.

Assignment 1 Physics/ECE 176

Sign of derivative test: when does a function decreases or increases:

Dear Future CALCULUS Student,

02 Coupled Oscillators

MITOCW 8. Electromagnetic Waves in a Vacuum

A2 MATHEMATICS HOMEWORK C3

MITOCW MITRES18_005S10_DiffEqnsGrowth_300k_512kb-mp4

Meteorology. Circle the letter that corresponds to the correct answer

DSP First. Laboratory Exercise #10. The z, n, and ˆω Domains

Course: Math 111 Pre-Calculus Summer 2016

Living with Thermal Expansion and Contraction

One common method of shaping

Name: for students entering. Algebra 2/Trig* For the following courses: AAF, Honors Algebra 2, Algebra 2

Parametric Equations *

Differentiation 1. The METRIC Project, Imperial College. Imperial College of Science Technology and Medicine, 1996.

Bridge Grade Two Winter 1/09 1. GRADE TWO WINTER NATURE WALK Using Thermometers

1. Solve the following linear programming problem. and b =

MATH 18.01, FALL PROBLEM SET # 8

AS MATHEMATICS HOMEWORK C1

LAB Exercise #4 - Answers The Traction Vector and Stress Tensor. Introduction. Format of lab. Preparation reading

1.5 Continuity Continued & IVT

Transcription:

Math 2250-03 Newton's law of cooling application - Maple Project 1 Notes and assignment Friday September 5 Our rst Maple project is from section 1.5, First Order Linear Dierential Equations, specically from 1.5 Application: Indoor Temperature Oscillations, pages 56-58. This project is the same as Professor Korevaar's project, which is an adaptation from Professor Gustafson's Math 2250 project. I recommend you work on this project with your text open. You may also want to consult the Maple hints on Professor Gustafson's page. (Even though our questions may not look exactly the same as his, they are related.) Links to all this material as well as some Maple introductory material can be found on Professor Korevaar's page, which can be found at: http://math.utah.edu/~korevaar/2250fall08...... Project Directions: You will be handing in a single Maple document containing the answers to the bolded, underlined exercises below. At the top of this document you should have a text eld with an appropriate title, the date, your name and uid. Format this information in a pleasing way. Below the title/name/date header you should answer the exercises in order. The exercises which call for hand work (e.g. #1), can be done by leaving enough text space in your document so that you can write in the relevant explanations/derivations by hand. Alternately, you may create text displays of your "hand" computations, as is done in this assignment document. To follow this second, harder but neater alternative, past Maple output into text elds, as I've done below. (Then delete the Maple elds.)...... Here's the project set-up as explained in the text, page 56: You have no air conditioner or evaporative cooler for your home, it's summer, you live in the authors' home town of Athens Georgia, and the outside temperatures are oscillating periodically, with a period of 24 hours. In other words, we will assume the ambient temperature outside is given by A(t) = a 0 + a 1 cos(! t) + b 1 sin(! t) where the angular frequency! is 2 radians per 24 hours, i.e.

! = 1 12 radians per hour. In the book example the 24-hour average temperature is 80 degrees F, with a minimum of 70 degrees at 4 a.m., and a maximum of 90 degrees at 4 p.m. This is consistent with the fact that the hottest part of the day usually occurs in the afternoon, and the coolest part is in the early morning hours. Using this information, we may write A(t) = 80 10 cos(! (t 4)) (1) and expand using the cosine addition angle formula, which you should have memorized and which is in your Calculus book: cos( + ) = cos() cos() sin() sin() This yields A(t) = 80 5 cos(! t) 5 3 ( 1 2 ) sin(! t). (2) (Check!! but don't hand in.) We wish to model the temperature inside the house, assuming no sources or sinks for heat exist inside, and using Newton's Law of Cooling. This model yields the linear DE du dt = k (A(t) u) du dt for the indoor temperature u(t), i.e. + k u = k (a 0 + a 1 cos(! t) + b 1 sin(! t)). (3) The proportionality constant k reects how quickly heat from the outside aects temperature change inside - the smaller k is, the more slowly the inside temperature changes for xed dierence A(t) u, i.e. small k means good insulation. Exercise 1. Using the integration factor algorithm we've learned for solving rst order linear DEs, and working by hand, show that the general solution to the DE (1) above is given just as the book claims in equation 4, page 57. In other words, that the solutions are

u(t) = a 0 + c 0 e ( k t) + c 1 cos(! t) + c 2 sin(! t). (4) Here the constant c 0 arises as a constant of integration, and is related to the initial temperature u 0. The constants c 1 and c 2 are determined by the insulation constant k and the angular frequency!, as shown on page 57. The formulas you derive for c 0, c 1, c 2 agree with the book's display after equation (4). You may wish to use the book's integral tables, specically #49,50 on the back cover of our text. Exercise 2. Redo the computation for Exercise 1 using Maple to compute all the integrals you need. Your work here should all be done in the Maple worksheet: The Maple commands and output should be shown, along with any text explanation or command comments you nd necessary. Notice that the exponential part of the solution to (4) decays to zero (exponentially) as t! 1, and that what remains in the limit is also a solution (i.e. when the integration constant c 0 =0). We call this the steady periodic (sp) solution, and write u sp (t) = a 0 + c 1 cos(! t) + c 2 sin(! t). Exercise 3. Use Maple to crunch the numbers and show that with the Athens Georgia temperature data (i.e. the ambient temperature A(t) given by equation (2), and insulation constant k =.2 we get u(t) = 80 + (e (.2 t) )(u 0 82.3351) + 2.3351 cos( 1 t and so also, u sp (t) = 80 + 2.3351 cos( 1 t 12 (5) ) 5.6036 sin( 1 t 12 ) (6) 12 ) 5.6036 sin( 1 t 12 ) Here's a nice picture of the various solutions to the IVP for our DE, with the Athens data. In fact, it's gure 1.5.10 in the text. I've included the Maple commands which created the display. Notice the syntax elements of these commands - how to dene functions, that := is how to dene something in Maple,

etc. Notice too that I had Maple check a lot of the work you'll be doing by hand above, using the "dsolve" command!!!!! (Although the answer is a mess it should agree with your hand work and the text after you do algebra.) > restart: #clear all old definitions from memory > with(detools): #load the DE library of commands > A:=t->a0 + a1*cos(omega*t) + b1*sin(omega*t); > #formula for ambient temperature, with free > #parameters a0, a1, b1, omega. This is equation > #(1), but not using subscripts on the variables. > #When you enter multi-line > #commands hold down the shift key while you hit > #"enter" or "return", to prevent premature execution A := t! a0 + a1 cos(! t) + b1 sin(! t) > deqtn3:=diff(u(t),t)=-k*(u(t)-a(t)); > #I named the DE "deqtn3" since it's equation (3) > #on top of page 57. u(t) = k (u(t) a0 a1 cos(! t) b1 sin(! t)) deqtn3 := d dt > dsolve(fdeqtn3,u(0)=0g,u(t)); u(t) = e( k t) ( k 2 a1 + k b1! a0 k 2 a0! 2 ) k 2 +! 2 + a0 k 2 + a0! 2 + k 2 a1 cos(! t) + k a1! sin(! t) k b1! cos(! t) + k 2 b1 sin(! t) k 2 +! 2 > a0:=80; > #average ambient temp in Georgia in July > a1:=-5; > b1:=-5*sqrt(3.0); > #the a1 and b1 values were worked out by hand, > #using the cosine addition > #angle formula, assuming 4 a.m. temp min and 4 p.m max, > #and range from 70 to 90 degrees, > #for trigonometric temp oscillation. > omega:=pi/12; > #this makes the period equal to 24 (hours) > k:=0.2; > #constant for a well-insulated building a0 := 80 a1 := 5 b1 := 8:660254040! := 12 k := 0:2

> DEplot(deqtn3,u(t),t=0..50,f[u(0)=65],[u(0)=70], > [u(0)=75],[u(0)=80],[u(0)=85],[u(0)=90],[u(0)=95]g, > arrows=line, color=black,linecolor=black, > dirgrid=[30,30], stepsize=1, > title="inside temperatures"); 95 inside temperatures 90 85 u(t) 80 75 70 65 0 10 20 30 40 50 t We can also recreate a comparison of the steady-periodic indoor temperature vs. the outdoor temperatures, Figure 1.5.11 on page 58: > with(plots): #load the plotting package > usp:=t->80+(2.3351)*cos(pi/12*t)-(5.6036)*sin(pi/12*t): > plot1:=plot(usp(t),t=0..50,color=black): > plot2:=plot(a(t),t=0..50,color=black): > display(fplot1,plot2g,title=`long-term indoor vs outdoor > temperatures`);

90 long-term indoor vs outdoor temperatures 85 80 75 70 0 10 20 30 40 50 t Notice that the indoor temperatures have a smaller amplitude, and that they lag the outdoor temperatures. The same thing happens with seasonal temperatures on earth, where the temperatures in a given hemisphere lag behind the times of maximal and minimal heating from the sun. Exercise 4: Use the cosine addition angle formula or Maple to show that the steady periodic solution given by equation (6) above, can be written in phase-amplitude form as u sp (t) = 80 6.0707 cos( 1 t 12 7.5082) so that the coolest and hottest indoor temperatures are around 7:30 a.m. and p.m., with smaller amplitude of around 6.07, vs. the outdoor amplitude of 10 degrees. Now we're in Salt Lake City, it's winter, we're worried about pipes freezing after our heater breaks, and we're doing exercises L2.3 and L2.4 from Professor Gustafson's project! So, the setup is that our heater is turned o at midnight, t=0. Perhaps we forgot to pay our natural gas bill. At this time, the indoor temperature is u 0 = 74 degrees. The outdoor ambient temperature is given as in equation (1), except that the 24-hour temperatures vary between 21 and 49 degrees, with the high and low at 3 p.m. and 3 a.m., respectively. We don't have a very well insulated house, its insulation constant is k =.32. Exercise 5: From the information above deduce the constants in the formula for the ambient temperature A(t), and use Maple to nd the solution to the

initial value problem for the indoor temperature u(t). Exercise 6: Create a Maple display which shows three plots: the Ambient temperature, the indoor temperature, and the steady-periodic indoor temperature. Exercise 7: Find the phase delay (the dierence, in hours), between the ambient temperature and the indoor steady periodic temperature. It is acceptable to approximate this from the display in Exercise 6 (clicking the mouse on a point of the display will yield the point coordinates in a small window at the top of your Maple program). It is even better if you can verify the phase delay by writing the steady-periodic solution in phase-amplitude form (see section 5.4 mechanical vibrations, page 324, for help). Exercise 8: Suppose the inside temperature is 76 degrees when the furnace is turned o. Using 3-d plots and other commands (see hints at Professor Gustafson's page, or use Maple help), gure out for the range of insulation constants.2 < k <.48, the times during the rst 72 hours when the indoor temperature is at or below 30 degrees. (This could be bad for your water pipes.) Justify the logic and math used to nd these "bad" times, in a short paragraph. Illustrate your work with a computer graphic.