ME201/MTH281/ME400/CHE400 Newton's Law of Cooling

Size: px
Start display at page:

Download "ME201/MTH281/ME400/CHE400 Newton's Law of Cooling"

Transcription

1 ME1/MTH281/ME0/CHE0 Newton's Law of Cooling 1. Introduction This notebook uses Mathematica to solve the problem presented in class, in section 5.1 of the notes. The problem is one of transient heat conduction in a slab of finite width L. The boundary condition on the left face of the slab is zero heat flux, and the condition on the right face of the slab is Newton's law of cooling, with an ambient temperature T a. The initial temperature is the function T 0 (x). The relevant material properties are the thermal conductivity k, the thermal diffusivity D f, and the heat transfer coefficient h, all assumed constant. The specific expressions for all functions and parameters are given below in section 2. The mathematical formulation of the problem is given below. T t = D f 2 T, 0 < x < L, t > 0, 2 x with T T H0, tl = 0, k HL, tl + h@t HL, tl - TaD = 0, x x (1) and T Hx, 0L = T 0 HxL. 2. Parameter Values In this section, we define the parameter values and the initial function. This is the only place in the notebook where these quantities are given specifically. This makes it possible to change a value for the entire calculation by just changing it here. The material properties are appropriate for granite. The initial temperature is taken here to be a constant. In[1]:= In[2]:= In[3]:= In[4]:= In[5]:= In[6]:= h = 22.4; H** Wëm 2 ÿk **L L = 0.5; H** m **L k = 2.80; H** WêmÿK **L Df = 1.37 * -6 ;H** m 2 ës **L TA =.0; H** C **L T0@x_D =.0; H** C **L 3. Steady State Solution As in other problems of this sort, we must first find the steady-state solution T s (x), and then reformulate the problem in terms of the transient solution T r. The steady-state solution is obtained by setting the time derivative to zero in the original equation for T. The solution of the resulting equation is a linear function of x, and we require that particular linear function which satisfies the boundary conditions at x = 0 and L. The result (which is intuitively obvious) is that T s HxL is constant and equal to the ambient temperature:

2 2 newtheat.nb In[7]:= := TA 4. Formulation of Problem for Transient Now that we have the steady-state solution, we decompose the full solution into a steady-state part T s (x) and a transient part T r (x,t): T Hx, tl = T s HxL + T r Hx, tl. By substituting this decomposition into the original equation for T, we find the following problem for the transient: (2) T r t 2 T r = D f, 0 < x < L, t > 0, 2 x with T r x H0, tl = 0, k T r x HL, tl + h T r HL, tl = 0, (3) and T r Hx, 0L = T 0 HxL - T s HxL. This is the problem that we solve by separation of variables. 5. Separation of Variables in Transient Problem Following the standard approach in separation of variables, we seek functions which satisfy the equation for T r and the homogeneous boundary conditions at x = 0, L. We assume a form F(x)G(t) for such solutions. The two separated equations then have the form F ² HxL + lf HxL = 0, with F H0L = 0 and kf HLL + hf HLL = 0, and G HtL + ldg HtL = 0. The general solution for the equation for F(x) is a linear combination of sin( l x) and cos( l x). Applying the two homogeneous boundary conditions to the general solution, we get F(x) = cos( resulting eigenvalue equation, we get l x), and simplifying the (4) tan HzL = B i êz, where z = L l, and where B i = hlêk. (5) In[8]:= We define the relevant quantities for Mathematica, denoting the nth value of z by z[n], and the nth eigenvalue by lam[n]. lam@n_d := Hz ê LL^2 ê. z -> z@nd In[9]:= where the values z[1], z[2],.. z[n],.. are the roots of eig1 = eig2, where eig1 = Tan@zD; In[]:= eig2 = Bi ê z; In[11]:= In[12]:= In[13]:= with Bi := Hh * LL ê k The generic eigenfunction is geneig@x_d := Cos@Hz * xl ê LD and the nth eigenfunction is given by Feig@x_, n_d := geneig@xd ê. z -> z@nd

3 newtheat.nb 3 The generic normalization integral is In[14]:= Out[14]= In[15]:= nor = Integrate@Hgeneig@xDL ^ 2, 8x, 0, L<D Sin@2. zd z and the nth normalization integral is norm@n_d := nor ê. z -> z@nd 6. Determination of Eigenvalues We now determine numerically the eigenvalues. We begin by plotting the expressions eig1 and eig2. At each crossing of these, there is an eigenvalue. In[16]:= SetOption@Plot, ImageSize Ø 2D; In[17]:= Plot@8eig1, eig2<, 8z, 0, <, PlotRange -> 8-, <, PlotStyle -> 8RGBColor@1, 0, 0D, RGBColor@0, 0, 1D<, AxesLabel -> 8"z", "eig1 HredL and eig2 HblueL"<, Ticks Ø 880, Pi ê 2, Pi, 3 Pi ê 2, 2 Pi, 5 Pi ê 2, 3 Pi<<D eig1 HredL and eig2 HblueL 5 Out[17]= p 2 p 3 p 2 2 p 5 p 2 3 p z -5 - We see that the first root is between 0 and p/2, and each subsequent root is in an interval of length p. It is also clear that for large n, the nth root is very close to (n-1)p. To find accurate numerical values of the z's, we use the Mathematica command FindRoot. FindRoot requires an initial guess. The nth value of z, as we can see from the graph, is between (n - 1) and (n -0.5 )p. We take as an initial guess (n - 0.5)p The command is then of the form Find- Root[eig1 == eig2,{z, (n - 0.5)p -0.1}]. We now use this command in a Do loop to calculate and display in a table the first roots. This will suffice for any calculation requiring up to terms in the eigenfunction series. We also display the eigenvalue l, and the approximate value z = (n-1)p. In[18]:= In[19]:= In[]:= zroot@n_d := FindRoot@eig1 == eig2, 8z, Hn - 0.5L * Pi - 0.1<D zasymp@n_d := N@Hn - 1L * PiD Do@z@nD = z ê. zroot@nd, 8n, 1, <D;

4 4 newtheat.nb In[21]:= 8, 4<D, 8, 4<D, 8, 4<D<, 8n, 1, <D, TableHeadings -> 8None, 8"n", " " " Out[21]//TableForm= n z@nd zasymp@nd lam@nd We see that the asymptotic formula for z[n] has an error of less than 0.5% for any n equal to or greater than. It is possible to develop even more accurate, but still simple, asymptotic formulas. 7. Representation of the Initial Condition We are finally ready to begin solving the boundary value for the transient T r (x,t). The form of the solution for the transient is

5 newtheat.nb 5 In[22]:= In[23]:= In[24]:= T r Hx, tl = CHnL ExpI-lHnL D f tm cos@hz HnL xêld, n=1 where the coefficients C(n) are determined by the initial conditions satisfied by T r. The formula for the nth coefficient is coeff@n_d := Integrate@Feig@x, nd * HT0@xD - Ts@xDL, 8x, 0, L<D ê norm@nd We now use a Do loop to construct the first coefficients, and then print them out in a table. The nth numerical value is assigned to c[n]. Do@c@nD = coeff@nd, 8n, 1, <D; TableForm@Table@8n, PaddedForm@c@nD, 88, 4<D, PaddedForm@n +, D, PaddedForm@c@n + D, 812, 4<D<, 8n, 1, <D, TableHeadings -> 8None, 8"n", " c@nd", " n", " c@nd"<<d Out[24]//TableForm= n c@nd n c@nd In[25]:= As a check on all that we have done, we see how well our series represents the initial condition, by plotting both the initial condition (in blue) and its representation by the first terms of our series (in red). exactinit@x_d := T0@xD - Ts@xD In[26]:= seriesinit@x_d := Sum@c@nD * Feig@x, nd, 8n, 1, <D (6)

6 6 newtheat.nb In[27]:= seriesgraph = Plot@8exactinit@xD, seriesinit@xd<, 8x, 0, L<, PlotRange -> 80, <, PlotStyle -> 88RGBColor@0, 0, 1D, Thickness@0.004D<, 8RGBColor@1, 0, 0D, Thickness@0.004D<<, AxesLabel -> 8"x", "Exact HblueL, Series HredL"<D Exact HblueL, Series HredL Out[27]= The agreement looks excellent, and is good evidence that our calculations are correct so far. To get a little closer view of the accuracy, we replot with a much narrower range in y. In[28]:= Show@seriesgraph, PlotRange -> 848, 52<D Exact HblueL, Series HredL Out[28]= Now we can see a little overshoot at the right end of the interval. This is not the Gibbs phenomenon, however, because the magnitude of the overshoot decreases to zero as the number of terms is increased. We haven't shown that here, but it can be shown. With some algebraic labor, it also can be shown that the coefficients c[n] diminish like 1/n 2, and not like the 1/n that would be associated with the Gibbs overshoot. 8. Solution of the Initial-Boundary Value Problem In[29]:= Now that we have the eigenvalues and series coefficients, we can construct the series solution of the problem. We define Tran[x,t,n] as the nth partial sum of the series solution, and we define term[x,t,n] as the nth term in the series. As a special case of importance, we define firstterm[x,t] to be the first term in the series. term@x_, t_, n_d := c@nd * Feig@x, nd * Exp@-lam@nD * Df * td In[]:= In[31]:= Tran@x_, t_, n_d := Sum@term@x, t, kkd, 8kk, 1, n<d firstterm@x_, t_d := term@x, t, 1D

7 newtheat.nb 7 In[32]:= Out[32]= In[33]:= Let's look at the first term: firstterm@x, td µ-6 t Cos@ xd We may calculate the e-folding time for this mode -- call it t1 -- as the reciprocal of the coefficient of t in the exponent: t1 = 1 ê Hlam@1D * DfL Out[33]= In[34]:= This time, which is in seconds, equals about 31.7 hours. We compare this with the diffusion time L 2 ëip 2 D f Mwe derived earlier for zero boundary conditions on both sides of the slab. In hours, the time is L 2 ë I Ip 2 DfMM Out[34]= It is interesting that this is less than the 31.7 hours we calculated for the first mode in our problem. There are two reasons for this. The first reason is that our slab is insulated on one end, and this will reduce the cooling rate. One can show that the diffusion time for a slab of width L which has zero temperature on one face and which is insulated on the other face is (4 L 2 MëIp 2 D f ). For our present parameters, the value of this in hours is In[35]:= 4 L 2 ë I Ip 2 DfMM Out[35]=.5436 In[36]:= This is much closer to our calculated value of 31.7 hours, but still smaller. There is an another effect in the present problem, and that is an additional thermal resistance at the boundary (characterized by the reciprocal of the heat transfer coefficient h). This extra resistance increases the decay time to the 31.7 hours that we calculated. Let's look at the decay times of the second and third modes, converting them to hours as we calculate them t2 = 1 ê Hlam@2D * Df * L Out[36]= In[37]:= t3 = 1 ê Hlam@3D * Df * L Out[37]= In[38]:= Knowledge of these decay times will help us choose time values for plotting the solution. To make this a little easier, we construct a table of the first decay times. t@n_d := 1 ê Hlam@nD * DfL

8 8 newtheat.nb In[39]:= 8, 2<D, ê, 8, 5<D<, 8n, 1, <D, TableHeadings -> 8None, 8"Mode", "Decay Time HsL", "Decay Time HhrL"<<D Out[39]//TableForm= Mode Decay Time HsL Decay Time HhrL Graphs of the Solution In[]:= We define here graphs of the solution for T versus x, for various values of time. We test the code with a few graphs, and then we construct a sequence to be shown in a Manipulate panel. The function which produces the graph at time t is named snapshot[t]. We use all the terms we have calculated in the series to compute the solution, although this is somewhat extravagent in that fewer terms would be sufficient for the longer times. Trans@x_, t_d := Tran@x, t, D In[41]:= Temp@x_, t_d := Trans@x, td + Ts@xD Now we are ready to define snapshot[t], which gives us a plot of temperature versus x at time t. From the ambient temperature and the initial distribution, we can get a range of variation of temperature. We extend this range slightly on either side, and call the extended range plrange: In[42]:= plrange = 80, <; In[43]:= In[44]:= Now we define snapshot[t], giving a special definition for snapshot[0] -- namely the initial distribution. For convenience, the function snapshot takes an argument in hours, but converts it internally to seconds, to be consistent with the units of the problem. snapshot@t_d := Module@8time<, time = * t; Plot@Temp@x, timed, 8x, 0, L<, PlotStyle Ø Thickness@0.004D, PlotRange -> plrange, AxesLabel -> 8"x", ""<, PlotLabel Ø Row@8"t = ", PaddedForm@t, 84, 2<D, " hr"<ddd snapshot@0d := Plot@T0@xD, 8x, 0, L<, PlotStyle Ø Thickness@0.004D, PlotRange -> plrange, AxesLabel -> 8"x", ""<, PlotLabel Ø Row@8"t = ", PaddedForm@0, 84, 2<D, " hr"<dd We try it for the initial time and for 1,,, and hr.

9 newtheat.nb 9 In[45]:= snapshot@0d t = 0.00 hr Out[45]= In[46]:= snapshot@1d t = 1.00 hr Out[46]= In[47]:= snapshot@d t =.00 hr Out[47]=

10 newtheat.nb In[48]:= t =.00 hr Out[48]= In[49]:= t =.00 hr Out[49]= As a final task, we produce a sequence of 1 graphs that can be animated to show the dynamics of the heat loss process. The graphs are at 0.25 hr intervals, running from 0 hr to hr. The graphs are output into a Manipulate panel for ease of viewing.

11 newtheat.nb 11 In[]:= i, k<, = Do@mangraph@iD = snapshot@0.25 * id, 8i, 1, 0<D; Manipulate@mangraph@kD, 8k, 0, 0, 1<DD k t = 4.00 hr Out[]=

ME201/MTH21/ME400/CHE400 ASSIGNMENT #7 PROBLEM 1 Newton's Law of Cooling in Transient Conduction 1. Introduction This notebook uses Mathematica to solve problem 1 of Assignment #7, in which we analyze

More information

ME201/MTH281ME400/CHE400 Convergence of Bessel Expansions

ME201/MTH281ME400/CHE400 Convergence of Bessel Expansions ME201/MTH281ME400/CHE400 Convergence of Bessel Expansions 1. Introduction This notebook provides a general framework for the construction and visualization of partial sums of Fourier-Bessel series. The

More information

ME201/MTH281/ME400/CHE400 Zeros of Bessel Function Derivatives

ME201/MTH281/ME400/CHE400 Zeros of Bessel Function Derivatives ME201/MTH281/ME400/CHE400 Zeros of Bessel Function Derivatives In[42]:= We write code here to find the n th zero of the derivative of the Bessel function J m. Here n is a positive integer, and m is any

More information

Differentiation of Continuous Functions Central Difference Approximation of the First Derivative

Differentiation of Continuous Functions Central Difference Approximation of the First Derivative Differentiation of Continuous Functions Central Difference Approximation of the First Derivative Ana Catalina Torres, Autar Kaw University of South Florida United States of America kaw@eng.usf.edu Introduction

More information

The wave equation. The basic equation and it's fundamental solutions on bounded domains. u t t = c 2 u x x. An amalgam of sections 1.5 and 2.2.

The wave equation. The basic equation and it's fundamental solutions on bounded domains. u t t = c 2 u x x. An amalgam of sections 1.5 and 2.2. The wave equation An amalgam of sections.5 and.. The basic equation and it's fundamental solutions on bounded domains Suppose that uhx, tl describes the displacement from equlibrium of a vibrating string

More information

ME 201/MTH 281/ME400/CHE400 Bessel Functions

ME 201/MTH 281/ME400/CHE400 Bessel Functions ME 01/MTH 81/ME00/CHE00 Bessel Functions 1. Introduction This notebook has two purposes: to give a brief introduction to Bessel functions, and to illustrate how Mathematica can be used in working with

More information

ME 406 Using Eigenvector Methods with Mathematica to Solve Linear Autonomous Systems of First Order Differential Equations

ME 406 Using Eigenvector Methods with Mathematica to Solve Linear Autonomous Systems of First Order Differential Equations ME 406 Using Eigenvector Methods with Mathematica to Solve Linear Autonomous Systems of First Order Differential Equations 1. Introduction In this notebook, we use the methods of linear algebra -- specifically

More information

Concepts of Approximate Error: Approximate Error, Absolute Approximate Error, Relative Approximate Error, and Absolute Relative Approximate Error

Concepts of Approximate Error: Approximate Error, Absolute Approximate Error, Relative Approximate Error, and Absolute Relative Approximate Error Concepts of Approximate Error: Approximate Error, Absolute Approximate Error, Relative Approximate Error, and Absolute Relative Approximate Error Sean Rodby, Luke Snyder, Autar Kaw University of South

More information

In[0]:= Dateist@D Out[0]= 82009, 0, 9, 2, 35, 3.457034< ü Bo 0 < < -> 2 Consider the case when we have a particle in the ground state of PIB of length. In[3]:= Y@_, _D := Definitions: 2 SinB p F In[4]:=

More information

ME 406 Bifurcations VII Subcritical Hopf Bifurcation

ME 406 Bifurcations VII Subcritical Hopf Bifurcation ME 406 Bifurcations VII Subcritical Hopf Bifurcation sysid Mathematica 4.1.2, DynPac 10.66, 3ê5ê2002 intreset; plotreset; 1. Introduction In this notebook, the seventh in a series of notebooks on bifurcations,

More information

Physics 229& 100 Homework #1 Name: Nasser Abbasi

Physics 229& 100 Homework #1 Name: Nasser Abbasi Physics 229& 100 Homework #1 Name: Nasser Abbasi (converted to 6.0) 1. Practice in transcribing expressions into Mathematica syntax a) Find the determinant of this matrix: In[94]:= a = {{1, 2, 3, 4}, {1,

More information

Students should read Sections of Rogawski's Calculus [1] for a detailed discussion of the material presented in this section.

Students should read Sections of Rogawski's Calculus [1] for a detailed discussion of the material presented in this section. Chapter 3 Differentiation ü 3.1 The Derivative Students should read Sections 3.1-3.5 of Rogawski's Calculus [1] for a detailed discussion of the material presented in this section. ü 3.1.1 Slope of Tangent

More information

Sample Mathematica code for the paper "Modeling a Diving Board"

Sample Mathematica code for the paper Modeling a Diving Board Sample Mathematica code for the paper "Modeling a Diving Board" Michael A. Karls and Brenda M. Skoczelas, Department of Mathematical Sciences, Ball State University, Muncie, IN 47306 Beam Data Original

More information

Solution to Problem Set 5 Physics 480 / Fall 1999 Prof. Klaus Schulten / Prepared by Pinaki Sengupta & Ioan Kosztin

Solution to Problem Set 5 Physics 480 / Fall 1999 Prof. Klaus Schulten / Prepared by Pinaki Sengupta & Ioan Kosztin Solution to Problem Set 5 Physics 480 / Fall 1999 Prof. Klaus Schulten / Prepared by Pinaki Sengupta & Ioan Kosztin Problem 1: Energies of the Bound States of the Morse Potential in the Semiclassical Approximation

More information

A Review of Trigonometry

A Review of Trigonometry A Review of Trigonometr 0 Kenneth Levasseur Mathematical Sciences UMass Lowell Kenneth_Levasseur@uml.edu Introduction Trigonometr is often introduced as a sstem of ratios of sides of right triangles. Although

More information

TOPIC 3. Taylor polynomials. Mathematica code. Here is some basic mathematica code for plotting functions.

TOPIC 3. Taylor polynomials. Mathematica code. Here is some basic mathematica code for plotting functions. TOPIC 3 Taylor polynomials Main ideas. Linear approximating functions: Review Approximating polynomials Key formulas: P n (x) =a 0 + a (x x )+ + a n (x x ) n P n (x + x) =a 0 + a ( x)+ + a n ( x) n where

More information

Mathematica Project, Math21b Spring 2008

Mathematica Project, Math21b Spring 2008 Mathematica Project, Math21b Spring 2008 Oliver Knill, Harvard University, Spring 2008 Support Welcome to the Mathematica computer project! In case problems with this assignment, please email Oliver at

More information

Problem Set 3 Physics 480 / Fall 1999 Professor Klaus Schulten

Problem Set 3 Physics 480 / Fall 1999 Professor Klaus Schulten Problem Set 3 Physics 480 / Fall 1999 Professor Klaus Schulten Problem 1: Wave Packet in 1-Dimensional Box Using Mathematica evaluate the time-dependence of a Gaussian wave packet moving in a 1-dimensional

More information

3.2. The Ramsey model - linearization, backward integration, relaxation (complete)

3.2. The Ramsey model - linearization, backward integration, relaxation (complete) 3.. The Ramsey model - linearization, backward integration, relaxation (complete) (Quantitative Dynamic Macroeconomics, Lecture Notes, Thomas Steger, University of Leipzig, winter term /3) Ramsey Model:

More information

Using Mathematica to study series (part II)

Using Mathematica to study series (part II) Using Mathematica to study series (part II) Truncation errors Example of exponential; first consider x>0 Remainder if use only first 3 terms in power series for exponential: PlotExpx1xx ^,x, 0,, PlotStyleThick,

More information

December 18, 2017 Section W Nandyalam

December 18, 2017 Section W Nandyalam Mathematica Gift #11 Problem Complete the following 15 exercises in a Mathematica notebook. You should write the problem in a text cell and show your work below the question. Questions Question 1 Compute

More information

The Ramsey model - linearization, backward integration, relaxation (complete)

The Ramsey model - linearization, backward integration, relaxation (complete) The Ramsey model - linearization, backward integration, relaxation (complete) (Quantitative Dynamic Macroeconomics, Lecture Notes, Thomas Steger, University of Leipzig) Ramsey Model: linearized version

More information

Lecture 22 Appendix B (More on Legendre Polynomials and Associated Legendre functions)

Lecture 22 Appendix B (More on Legendre Polynomials and Associated Legendre functions) Lecture Appendix B (More on Legendre Polynomials and Associated Legendre functions) Ex.7: Let's use Mathematica to solve the equation and then verify orthogonality. First In[]:= Out[]= DSolve y'' x n^y

More information

CHAPTER 4. Introduction to the. Heat Conduction Model

CHAPTER 4. Introduction to the. Heat Conduction Model A SERIES OF CLASS NOTES FOR 005-006 TO INTRODUCE LINEAR AND NONLINEAR PROBLEMS TO ENGINEERS, SCIENTISTS, AND APPLIED MATHEMATICIANS DE CLASS NOTES 4 A COLLECTION OF HANDOUTS ON PARTIAL DIFFERENTIAL EQUATIONS

More information

Mathematica for Calculus II (Version 9.0)

Mathematica for Calculus II (Version 9.0) Mathematica for Calculus II (Version 9.0) C. G. Melles Mathematics Department United States Naval Academy December 31, 013 Contents 1. Introduction. Volumes of revolution 3. Solving systems of equations

More information

Project 2 by Kayli-Anna Barriteau

Project 2 by Kayli-Anna Barriteau Project 2 by Kayli-Anna Barriteau Decay of quinine in a malaria patient Data for the decay of a mg dose of quinine in a patient suffering from malaria is given in Mathematica format below. The first number

More information

Class 4: More Pendulum results

Class 4: More Pendulum results Class 4: More Pendulum results The pendulum is a mechanical problem with a long and interesting history, from Galileo s first ansatz that the period was independent of the amplitude based on watching priests

More information

Partial Differential Equations Summary

Partial Differential Equations Summary Partial Differential Equations Summary 1. The heat equation Many physical processes are governed by partial differential equations. temperature of a rod. In this chapter, we will examine exactly that.

More information

The particular integral :

The particular integral : Second order linear equation with constant coefficients The particular integral : d f df Lf = a + a + af = h( x) Solutions with combinations of driving functions d f df Lf = a + a + af = h( x) + h( x)

More information

The connected locus for complex cubic iteration

The connected locus for complex cubic iteration The connected locus for complex cubic iteration A preprint version of a Mathematical graphics column from Mathematica in Education and Research. Mark McClure Department of Mathematics University of North

More information

A small note on the statistical method of moments for fitting a probability model to data

A small note on the statistical method of moments for fitting a probability model to data A small note on the statistical method of moments for fitting a probability model to data by Nasser Abbasi, Nov 16, 2007 Mathematics 502 probability and statistics, CSUF, Fall 2007 f x x Μ 2 2 Σ 2 2 Π

More information

Chapter 11 Parametric Equations, Polar Curves, and Conic Sections

Chapter 11 Parametric Equations, Polar Curves, and Conic Sections Chapter 11 Parametric Equations, Polar Curves, and Conic Sections ü 11.1 Parametric Equations Students should read Sections 11.1-11. of Rogawski's Calculus [1] for a detailed discussion of the material

More information

MA S3-MID-Answers Page 1 of 7. Solve the following Wave Equation. Solution by Fourier Series. Let, where is a constant

MA S3-MID-Answers Page 1 of 7. Solve the following Wave Equation. Solution by Fourier Series. Let, where is a constant MA203-3S3-MID-Answers-2050829-Page of 7 Solve the following Wave Equation., 0, 0 0, 0,, 0,, 0 sin,, 0 Solution by Fourier Series Let, So, and, We have,, or or Let 0(see next page for other cases) Then

More information

APPM 1360 Final Exam Fall 2013

APPM 1360 Final Exam Fall 2013 APPM 6 Final Exam Fall On the front of our bluebook, please write: a grading ke, our name, student ID, and section and instructor. This exam is worth 5 points and has 9 questions. Show all work! Answers

More information

8.6 Recursion and Computer Algebra Systems

8.6 Recursion and Computer Algebra Systems 8.6 Recursion and Computer Algebra Systems There is frequently debate as to if how and when computers should be introduced teaching a topic such as recurrence relations. We have chosen to append this information

More information

2 Discrete Dynamical Systems (DDS)

2 Discrete Dynamical Systems (DDS) 2 Discrete Dynamical Systems (DDS) 2.1 Basics A Discrete Dynamical System (DDS) models the change (or dynamics) of single or multiple populations or quantities in which the change occurs deterministically

More information

Introduction II. accompany our textbook",john H. Mathews, and Russell W.

Introduction II. accompany our textbook,john H. Mathews, and Russell W. Introduction II "Essential Mathematica for Students of Science",James J. Kelly, 2006 http://www.physics.umd.edu/courses/courseware "Mathematica 4.1 Notebooks -Complimentary software to accompany our textbook",john

More information

HW #6. 1. Inflaton. (a) slow-roll regime. HW6.nb 1

HW #6. 1. Inflaton. (a) slow-roll regime. HW6.nb 1 HW6.nb HW #6. Inflaton (a) slow-roll regime In the slow-roll regime, we neglect the kinetic energy as well as f ÿÿ term in the equation of motion. Then H = ÅÅÅ 8 p 3 G N ÅÅÅ m f, 3 H f ÿ + m f = 0. We

More information

Homework 7 Solutions

Homework 7 Solutions Homework 7 Solutions # (Section.4: The following functions are defined on an interval of length. Sketch the even and odd etensions of each function over the interval [, ]. (a f( =, f ( Even etension of

More information

TRANSIENT HEAT CONDUCTION

TRANSIENT HEAT CONDUCTION TRANSIENT HEAT CONDUCTION Many heat conduction problems encountered in engineering applications involve time as in independent variable. This is transient or Unsteady State Heat Conduction. The goal of

More information

Calculus of Vector-Valued Functions

Calculus of Vector-Valued Functions Chapter 3 Calculus of Vector-Valued Functions Useful Tip: If you are reading the electronic version of this publication formatted as a Mathematica Notebook, then it is possible to view 3-D plots generated

More information

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

Physics 212E Spring 2004 Classical and Modern Physics. Computer Exercise #2 Physics 212E Spring 2004 Classical and Modern Physics Chowdary Computer Exercise #2 Launch Mathematica by clicking on the Start menu (lower left hand corner of the screen); from there go up to Science

More information

ENGI 9420 Lecture Notes 8 - PDEs Page 8.01

ENGI 9420 Lecture Notes 8 - PDEs Page 8.01 ENGI 940 Lecture Notes 8 - PDEs Page 8.01 8. Partial Differential Equations Partial differential equations (PDEs) are equations involving functions of more than one variable and their partial derivatives

More information

Topic 5: The Difference Equation

Topic 5: The Difference Equation Topic 5: The Difference Equation Yulei Luo Economics, HKU October 30, 2017 Luo, Y. (Economics, HKU) ME October 30, 2017 1 / 42 Discrete-time, Differences, and Difference Equations When time is taken to

More information

ME 406 S-I-R Model of Epidemics Part 2 Vital Dynamics Included

ME 406 S-I-R Model of Epidemics Part 2 Vital Dynamics Included ME 406 S-I-R Model of Epidemics Part 2 Vital Dynamics Included sysid Mathematica 6.0.3, DynPac 11.01, 1ê13ê9 1. Introduction Description of the Model In this notebook, we include births and deaths in the

More information

Handbook of Computational Analytical Heat Conduction

Handbook of Computational Analytical Heat Conduction Filippo de Monte, James V. Beck, et al. January 7, 2013 1 Contents 1. Problem description 2 2. Dimensional governing equations. 2 3. Dimensionless variables. 3 4. Dimensionless governing equations.. 3

More information

16. Deblurring Gaussian blur

16. Deblurring Gaussian blur 6. Deblurring Gaussian blur 277 6. Deblurring Gaussian blur 6. Deblurring To discuss an application where really high order Gaussian derivatives are applied, we study the deblurring of Gaussian blur by

More information

f[x_, μ_] := 4. μ... Nest[f[#,...] &,...,...] Plot[{x, f[...]}, {x, 0, 1}, AspectRatio Equal]

f[x_, μ_] := 4. μ... Nest[f[#,...] &,...,...] Plot[{x, f[...]}, {x, 0, 1}, AspectRatio Equal] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 In this exercise, we use renormalization-group and scaling methods to study the onset of chaos. There are several routes by which a dynamical system can start exhibiting chaotic

More information

Exam Review 2 nd Semester 6-1 Operations on Functions

Exam Review 2 nd Semester 6-1 Operations on Functions NAME DATE PERIOD Exam Review 2 nd Semester 6-1 Operations on Functions Find (f + g)(x), (f g)(x), (f g)(x), and (x) for each f(x) and g(x). 1. f(x) = 8x 3; g(x) = 4x + 5 2. f(x) = + x 6; g(x) = x 2 If

More information

ME 406 Assignment #9 Solutions

ME 406 Assignment #9 Solutions ME 06 Assignment #9 Solutions sysid Mathematica 6.0., DynPac.0, ê8ê009 intreset; plotreset; imsize = 50; Problem The equations are x = -x, y = x +y, z = x + z. Let F = x + y +z. To show that the surface

More information

PDE and Boundary-Value Problems Winter Term 2014/2015

PDE and Boundary-Value Problems Winter Term 2014/2015 PDE and Boundary-Value Problems Winter Term 2014/2015 Lecture 6 Saarland University 17. November 2014 c Daria Apushkinskaya (UdS) PDE and BVP lecture 6 17. November 2014 1 / 40 Purpose of Lesson To show

More information

Fourier Series and Transforms. Revision Lecture

Fourier Series and Transforms. Revision Lecture E. (5-6) : / 3 Periodic signals can be written as a sum of sine and cosine waves: u(t) u(t) = a + n= (a ncosπnft+b n sinπnft) T = + T/3 T/ T +.65sin(πFt) -.6sin(πFt) +.6sin(πFt) + -.3cos(πFt) + T/ Fundamental

More information

The Solow model - analytical solution, linearization, shooting, relaxation (complete)

The Solow model - analytical solution, linearization, shooting, relaxation (complete) The Solow model - analytical solution, linearization, shooting, relaxation (complete) (Quantitative Dynamic Macroeconomics, Lecture Notes, Thomas Steger, University of Leipzig). Solow model: analytical

More information

APPLICATIONS OF DIFFERENTIATION

APPLICATIONS OF DIFFERENTIATION 4 APPLICATIONS OF DIFFERENTIATION APPLICATIONS OF DIFFERENTIATION 4.8 Newton s Method In this section, we will learn: How to solve high degree equations using Newton s method. INTRODUCTION Suppose that

More information

Mathematica examples relevant to Legendre functions

Mathematica examples relevant to Legendre functions Mathematica eamples relevant to Legendre functions Legendre Polynomials are built in Here is Legendre s equation, and Mathematica recognizes as being solved by Legendre polynomials (LegendreP) and the

More information

MECH 375, Heat Transfer Handout #5: Unsteady Conduction

MECH 375, Heat Transfer Handout #5: Unsteady Conduction 1 MECH 375, Heat Transfer Handout #5: Unsteady Conduction Amir Maleki, Fall 2018 2 T H I S PA P E R P R O P O S E D A C A N C E R T R E AT M E N T T H AT U S E S N A N O PA R T I - C L E S W I T H T U

More information

22 t b r 2, 20 h r, th xp t d bl n nd t fr th b rd r t t. f r r z r t l n l th h r t rl T l t n b rd n n l h d, nd n nh rd f pp t t f r n. H v v d n f

22 t b r 2, 20 h r, th xp t d bl n nd t fr th b rd r t t. f r r z r t l n l th h r t rl T l t n b rd n n l h d, nd n nh rd f pp t t f r n. H v v d n f n r t d n 20 2 : 6 T P bl D n, l d t z d http:.h th tr t. r pd l 22 t b r 2, 20 h r, th xp t d bl n nd t fr th b rd r t t. f r r z r t l n l th h r t rl T l t n b rd n n l h d, nd n nh rd f pp t t f r

More information

H NT Z N RT L 0 4 n f lt r h v d lt n r n, h p l," "Fl d nd fl d " ( n l d n l tr l t nt r t t n t nt t nt n fr n nl, th t l n r tr t nt. r d n f d rd n t th nd r nt r d t n th t th n r lth h v b n f

More information

Relativistic Motion of a Charged Particle and Pauli Algebra Jan Vrbik

Relativistic Motion of a Charged Particle and Pauli Algebra Jan Vrbik The Mathematica Journal Relativistic Motion of a Charged Particle and Pauli Algebra Jan Vrbik We introduce some key formulas of special relativity and apply them to the motion of a spinless, charged point

More information

FUNCTIONS AND MODELS

FUNCTIONS AND MODELS 1 FUNCTIONS AND MODELS FUNCTIONS AND MODELS 1.2 MATHEMATICAL MODELS: A CATALOG OF ESSENTIAL FUNCTIONS In this section, we will learn about: The purpose of mathematical models. MATHEMATICAL MODELS A mathematical

More information

y »x 2» x 1. Find x if a = be 2x, lna = 7, and ln b = 3 HAL ln 7 HBL 2 HCL 7 HDL 4 HEL e 3

y »x 2» x 1. Find x if a = be 2x, lna = 7, and ln b = 3 HAL ln 7 HBL 2 HCL 7 HDL 4 HEL e 3 . Find if a = be, lna =, and ln b = HAL ln HBL HCL HDL HEL e a = be and taing the natural log of both sides, we have ln a = ln b + ln e ln a = ln b + = + = B. lim b b b = HAL b HBL b HCL b HDL b HEL b

More information

Non-Linear Problems. Almost Linear Systems Consider the system of equations: (1) Y ' = AY + ghyl

Non-Linear Problems. Almost Linear Systems Consider the system of equations: (1) Y ' = AY + ghyl Non-Linear Problems Almost Linear Systems Consider the system of equations: (1) Y ' = AY + ghyl (here Y is a matrix). Suppose that the origin is an isolated equilibrium point (that is, there is some circle

More information

Quantum Wells The Shooting Method (application to the simple harmonic oscillator and other problems of a particle in a potential)

Quantum Wells The Shooting Method (application to the simple harmonic oscillator and other problems of a particle in a potential) quantumwellsho.nb Quantum Wells The Shooting Method (application to the simple harmonic oscillator and other problems of a particle in a potential) Introduction In the previous handout we found the eigenvalues

More information

Properties of Open-Loop Controllers

Properties of Open-Loop Controllers Properties of Open-Loop Controllers Sven Laur University of Tarty 1 Basics of Open-Loop Controller Design Two most common tasks in controller design is regulation and signal tracking. Regulating controllers

More information

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

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

More information

4. Gaussian derivatives

4. Gaussian derivatives 04 GaussianDerivatives.nb In[3]:=

More information

MSE 310/ECE 340. Instructor: Bill Knowlton. Initialize data Clear somedata, someplot. Place data in list somedata

MSE 310/ECE 340. Instructor: Bill Knowlton. Initialize data Clear somedata, someplot. Place data in list somedata MSE 3/ECE 340 Instructor: Bill Knowlton Examples of Plotting Functions ü Example 1: Using the command ListPlot[ ] to plot data in a scatter plot In[1]:= Initialize data Clear somedata someplot Place data

More information

ME 406 Assignment 6 Solutions

ME 406 Assignment 6 Solutions ME 406 Assignment 6 Solutions sysid Mathematica 6.0.3, DynPac 11.02, 3ê12ê2009 inreset; plotreset; Problem 1 ü Part a We look for equilibria. The first equation requires y = 0, and the second equation

More information

Physicist's Introduction to Mathematica

Physicist's Introduction to Mathematica Physicist's Introduction to Mathematica Physics 200 Physics 50 Lab Revised for V6.0 Fall Semester 2000 Spring Semester 2006 Summer 2007 Nicholas Wheeler John Boccio John Boccio REED COLLEGE Swarthmore

More information

3.3 Unsteady State Heat Conduction

3.3 Unsteady State Heat Conduction 3.3 Unsteady State Heat Conduction For many applications, it is necessary to consider the variation of temperature with time. In this case, the energy equation for classical heat conduction, eq. (3.8),

More information

Showing the shooting method in detail for n = 0

Showing the shooting method in detail for n = 0 11.2.7 Finding Eigenvalues by the Shooting Method The shooting method is a means to compute eigenvalues of a boundary problem defined by a onedimensional differential equation and boundary conditions fixed

More information

Factors of Polynomials Factoring For Experts

Factors of Polynomials Factoring For Experts Factors of Polynomials SUGGESTED LEARNING STRATEGIES: Shared Reading, Activating Prior Knowledge, Discussion Group, Note-taking When you factor a polynomial, you rewrite the original polynomial as a product

More information

Quantum Mechanics using Matrix Methods

Quantum Mechanics using Matrix Methods Quantum Mechanics using Matrix Methods Introduction and the simple harmonic oscillator In this notebook we study some problems in quantum mechanics using matrix methods. We know that we can solve quantum

More information

Physics 235 Chapter 4. Chapter 4 Non-Linear Oscillations and Chaos

Physics 235 Chapter 4. Chapter 4 Non-Linear Oscillations and Chaos Chapter 4 Non-Linear Oscillations and Chaos Non-Linear Differential Equations Up to now we have considered differential equations with terms that are proportional to the acceleration, the velocity, and

More information

Professor Faith Morrison

Professor Faith Morrison CM3215 Fundamentals of Chemical Engineering Laboratory Professor Faith Morrison Department of Chemical Engineering Michigan Technological University 1 Objective: Measure the heat-transfer coefficient to

More information

Logarithmic Functions

Logarithmic Functions Name Student ID Number Group Name Group Members Logarithmic Functions 1. Solve the equations below. xx = xx = 5. Were you able solve both equations above? If so, was one of the equations easier to solve

More information

PHYS 301 HOMEWORK #5

PHYS 301 HOMEWORK #5 PHY 3 HOMEWORK #5 olutions On this homework assignment, you may use Mathematica to compute integrals, but you must submit your Mathematica output with your assignment.. For f x = -, - < x

More information

Practice Questions for Final Exam - Math 1060Q - Fall 2014

Practice Questions for Final Exam - Math 1060Q - Fall 2014 Practice Questions for Final Exam - Math 1060Q - Fall 01 Before anyone asks, the final exam is cumulative. It will consist of about 50% problems on exponential and logarithmic functions, 5% problems on

More information

106 Chapter 5 Curve Sketching. If f(x) has a local extremum at x = a and. THEOREM Fermat s Theorem f is differentiable at a, then f (a) = 0.

106 Chapter 5 Curve Sketching. If f(x) has a local extremum at x = a and. THEOREM Fermat s Theorem f is differentiable at a, then f (a) = 0. 5 Curve Sketching Whether we are interested in a function as a purely mathematical object or in connection with some application to the real world, it is often useful to know what the graph of the function

More information

Using Mathematica to model observations of surface magnetic fields

Using Mathematica to model observations of surface magnetic fields Using Mathematica to model observations of surface magnetic fields version of -Mar-0 (w/ changes marked in red type) Oleg, Thanks for the plots and further info on how Stokes V is computed from B z. While

More information

6 - Theory of Higher-Order Linear Differential Equations

6 - Theory of Higher-Order Linear Differential Equations 6 - Theory of Higher-Order Linear Differential Equations 6.1 Basic Theory of Linear Differential Equations Homework: p. 325-326 #1, 7, 15, 19 ü Introduction A linear differential equation of order n is

More information

1. An Introduction to Mathematica (complete)

1. An Introduction to Mathematica (complete) 1. An Introduction to Mathematica (complete) (Lecture Notes, Thomas Steger, University of Leipzig, summer term 11) This chapter provides a concise introduction to Mathematica. Instead of giving a rigorous

More information

MA 123 September 8, 2016

MA 123 September 8, 2016 Instantaneous velocity and its Today we first revisit the notion of instantaneous velocity, and then we discuss how we use its to compute it. Learning Catalytics session: We start with a question about

More information

LIMITS AND DERIVATIVES

LIMITS AND DERIVATIVES 2 LIMITS AND DERIVATIVES LIMITS AND DERIVATIVES 2.2 The Limit of a Function In this section, we will learn: About limits in general and about numerical and graphical methods for computing them. THE LIMIT

More information

APPPHYS 217 Tuesday 6 April 2010

APPPHYS 217 Tuesday 6 April 2010 APPPHYS 7 Tuesday 6 April Stability and input-output performance: second-order systems Here we present a detailed example to draw connections between today s topics and our prior review of linear algebra

More information

ME 406 Predator-Prey Example Part 1 - Equilibrium

ME 406 Predator-Prey Example Part 1 - Equilibrium predpt1.nb 1 In[299]:= sysid Mathematica 6.0.3, DynPac 11.02, 2ê12ê2009 ME 406 Predator-Prey Example Part 1 - Equilibrium ü Introduction This is a simple model of an ecological system with three components:

More information

Introduction to Techniques for Counting

Introduction to Techniques for Counting Introduction to Techniques for Counting A generating function is a device somewhat similar to a bag. Instead of carrying many little objects detachedly, which could be embarrassing, we put them all in

More information

There are four irrational roots with approximate values of

There are four irrational roots with approximate values of Power of the Quadratic Formula 1 y = (x ) - 8(x ) + 4 a = 1, b = -8, c = 4 Key 1. Consider the equation y = x 4 8x + 4. It may be a surprise, but we can use the quadratic formula to find the x-intercepts

More information

ExACT Exact Analytical Conduction Toolbox

ExACT Exact Analytical Conduction Toolbox ExACT Exact Analytical Conduction Toolbox X23B60T0 case Kevin D. Cole and Lukas G. Brettmann April 28, 2014 "Copyright (c) by Kevin D. Cole and Lukas Brettmann" 1 Description Slab body initially at ambient

More information

Limits at Infinity. Horizontal Asymptotes. Definition (Limits at Infinity) Horizontal Asymptotes

Limits at Infinity. Horizontal Asymptotes. Definition (Limits at Infinity) Horizontal Asymptotes Limits at Infinity If a function f has a domain that is unbounded, that is, one of the endpoints of its domain is ±, we can determine the long term behavior of the function using a it at infinity. Definition

More information

INTRO TO LIMITS & CALCULUS MR. VELAZQUEZ AP CALCULUS

INTRO TO LIMITS & CALCULUS MR. VELAZQUEZ AP CALCULUS INTRO TO LIMITS & CALCULUS MR. VELAZQUEZ AP CALCULUS WHAT IS CALCULUS? Simply put, Calculus is the mathematics of change. Since all things change often and in many ways, we can expect to understand a wide

More information

ENGI 9420 Lecture Notes 8 - PDEs Page 8.01

ENGI 9420 Lecture Notes 8 - PDEs Page 8.01 ENGI 940 ecture Notes 8 - PDEs Page 8.0 8. Partial Differential Equations Partial differential equations (PDEs) are equations involving functions of more than one variable and their partial derivatives

More information

3 Algebraic Methods. we can differentiate both sides implicitly to obtain a differential equation involving x and y:

3 Algebraic Methods. we can differentiate both sides implicitly to obtain a differential equation involving x and y: 3 Algebraic Methods b The first appearance of the equation E Mc 2 in Einstein s handwritten notes. So far, the only general class of differential equations that we know how to solve are directly integrable

More information

The Harmonic Oscillator

The Harmonic Oscillator The Harmonic Oscillator Math 4: Ordinary Differential Equations Chris Meyer May 3, 008 Introduction The harmonic oscillator is a common model used in physics because of the wide range of problems it can

More information

+ 5 x x x (30 pts) tan -1 x 5 + y = x sin x. = tan-1 x 5. (I) Calculate the derivatives of the following functions. NO NEED TO SIMLIFY!

+ 5 x x x (30 pts) tan -1 x 5 + y = x sin x. = tan-1 x 5. (I) Calculate the derivatives of the following functions. NO NEED TO SIMLIFY! MIDTERM 2 - AU 4.nb 3 MIDTERM 2 - SOLUTIONS. (30 pts) (I) Calculate the derivatives of the following functions. NO NEED TO SIMLIFY! (a) (8 pts) y x tan - x 5 d x tan - x 5 + x d tan - x 5 2 x tan - x 5

More information

12) y = -2 sin 1 2 x - 2

12) y = -2 sin 1 2 x - 2 Review -Test 1 - Unit 1 and - Math 41 Name SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question. Find and simplify the difference quotient f(x + h) - f(x),

More information

5 Linear Homotopy. 5-1 Introduction

5 Linear Homotopy. 5-1 Introduction Algebraic Geodesy and Geoinformatics - 2009 PART I METHODS 5 Linear Homotopy 5-1 Introduction Most often, there exist a fundamental task of solving systems of equations in geodesy. In such cases, many

More information

Plot of temperature u versus x and t for the heat conduction problem of. ln(80/π) = 820 sec. τ = 2500 π 2. + xu t. = 0 3. u xx. + u xt 4.

Plot of temperature u versus x and t for the heat conduction problem of. ln(80/π) = 820 sec. τ = 2500 π 2. + xu t. = 0 3. u xx. + u xt 4. 10.5 Separation of Variables; Heat Conduction in a Rod 579 u 20 15 10 5 10 50 20 100 30 150 40 200 50 300 x t FIGURE 10.5.5 Example 1. Plot of temperature u versus x and t for the heat conduction problem

More information

Math 504 (Fall 2011) 1. (*) Consider the matrices

Math 504 (Fall 2011) 1. (*) Consider the matrices Math 504 (Fall 2011) Instructor: Emre Mengi Study Guide for Weeks 11-14 This homework concerns the following topics. Basic definitions and facts about eigenvalues and eigenvectors (Trefethen&Bau, Lecture

More information