Lecture 4: Numerical differentiation

Size: px
Start display at page:

Download "Lecture 4: Numerical differentiation"

Transcription

1 Handout 5 05/08/02 1 Lecture 4: Numercal dfferentaton Fnte dfference formulas Suppose you are gven a data set of N non-equspaced ponts at x = x wth values f(x ) as shown n Fgure 1. Because the data are not equspaced n general, then x x +1. Fgure 1: Data set of N ponts at x = x wth values f(x ) Let s say we wanted to compute the dervatve f (x) at x = x. For smplcty of notaton, we wll refer to the value of f(x) at x = x as f. Because, n general, we do not know the form of f(x) when dealng wth dsrete ponts, then we need to determne the dervatves of f(x) at x = x n terms of the known quanttes f. Formulas for the dervatves of a data set can be derved usng Taylor seres. The value of f(x) at x = x +1 can be wrtten n terms of the Taylor seres expanson of f about x = x as f +1 = f + x +1 f + x x O ( x 4 +1). (1) Ths can be rearranged to gve us the value of the frst dervatve at x = x as f = f +1 f x +1 x +1 2 x2 +1 f + O ( x+1) 3. (2) 6 If we assume that the value of f does not change sgnfcantly wth changes n x +1, then ths s the frst order dervatve of f(x) at x = x, whch s wrtten as f = f +1 f x +1 + O ( x +1 ). (3)

2 Handout 5 05/08/02 2 Ths s known as a forward dfference. The frst order backward dfference can be obtaned by wrtng the Taylor seres expanson about f to obtan f 1 as f 1 = f x f + x2 2 f x3 6 f + O ( ) x 4, (4) whch can be rearranged to yeld the backward dfference of f(x) at x as f = f f 1 x + O ( x ). (5) The frst order forward and backward dfference formulas are frst order accurate approxmatons to the frst dervatve. Ths means that decreasng the grd spacng by a factor of two wll only ncrease the accuracy of the approxmaton by a factor of two. We can ncrease the accuracy of the fnte dfference formula for the frst dervatve by usng both of the Taylor seres expansons about f, f +1 = f + x +1 f + x x f + O ( ) x 4 +1 f 1 = f x f + x2 2 f x3 6 f + O ( ) x 4. (7) Subtractng equaton (7) from (6) yelds f +1 f 1 = ( x +1 + x ) f + x2 +1 x O ( ) ( ) x O x 4 + x x 3 6 f +1 f 1 = f + x2 +1 x 2 x +1 + x 2 ( x +1 + x ) f + x x 3 6 ( x +1 + x ) f ( ) ( ) + O x 4 +1 x +1 + x + O x 4 x +1 + x (6), (8) whch can be rearranged to yeld f = f +1 f 1 x +1 + x x2 +1 x 2 2 ( x +1 + x ) f + O ( x x 3 ) 6 ( x +1 + x ) (9) In most cases f the spacng of the grd ponts s not too eratc, such that x +1 x, equaton (9) can be wrtten as the central dfference formula for the frst dervatve as f = f +1 f 1 2 x + O ( x 2 ). (10) What s meant by the order of accuracy? Suppose we are gven a data set of N = 16 ponts on an equspaced grd as shown n Fgure 2, and we are asked to compute the frst dervatve f at = 2,..., N 1 usng the forward, backward, and central dfference formulas (3), (5), and (10). If we refer to the approxmaton

3 Handout 5 05/08/02 3 Fgure 2: A data set consstng of N = 16 ponts. of the frst dervatve as, then these three formulas for the frst dervatve on an equspaced δx grd wth x = x can be approxmated as Forward dfference Backward dfference Central dfference δx = f +1 f, x (11) δx = f f 1, x (12) δx = f +1 f 1. 2 x (13) These three approxmatons to the frst dervatve of the data shown n Fgure 2 are shown n Fgure 3. Now let s say we are gven fve more data sets, each of whch defnes the same functon f(x ), but each one has twce as many grd ponts as the prevous one to defne the functon, as shown n Fgure 4. The most accurate approxmatons to the frst dervatves wll be those that use the most refned data wth N = 512 data ponts. In order to quantfy how much more accurate the soluton gets as we add more data ponts, we can compare the dervatve computed wth each data set to the most resolved data set. To compare them, we can plot the dfference n the dervatve at x = 0.5 and call t the error, such that ) Error = ) (14) δx δx where n = 1,..., 5 s the data set and n = 6 corresponds to the most refned data set. The result s shown n Fgure 5 on a log-log plot. For all three cases we can see that the error closely follows the form Error = k x n, (15) where k = 1.08 and n = 1 for the forward and backward dfference approxmatons, and k = 8.64 and n = 2 for the central dfference approxmaton. When we plot the error of a numercal method and t follows the form of equaton (15), then we say that the method s n n=6

4 Handout 5 05/08/02 4 Fgure 3: Approxmaton to the frst dervatve of the data shown n Fgure 2 usng three dfferent approxmatons. n th order and that the error can be wrtten as O ( x n ). Because n = 1 for the forward and backward approxmatons, they are sad to be frst order methods, whle snce n = 2 for the central approxmaton, t s a second order method. Taylor tables The frst order fnte dfference formulas n the prevous sectons were wrtten n the form df dx = + Error, (16) δx where df s the approxmate form of the frst dervatve wth some error that determnes δx dx the order of accuracy of the approxmaton. In ths secton we defne a general method of estmatng dervatves of arbtrary order of accuracy. We wll assume equspaced ponts, but the analyss can be extended to arbtrarly spaced ponts. The n th dervatve of a dscrete functon f at ponts x = x can be wrtten n the form d n f dx n = δn f x=x δx + O n ( xm ), (17) where δ n j=+nr f δx = a n j+nl f +j, (18) j= N l and m s the order of accuracy of the approxmaton, a j+nl are the coeffcents of the approxmaton, and N l and N r defne the wdth of the approxmaton stencl. For example, n the central dfference approxmaton to the frst dervatve, f = 1 2 x f 1 + 0f x f +1 + O ( x 2), (19) = a 0 f 1 + a 1 f + a 2 f +1 + O ( x 2). (20)

5 Handout 5 05/08/02 5 Fgure 4: The orgnal data set and 5 more, each wth twce as many grd ponts as the prevous one. In ths case, N l = 1, N r = 1, a 0 = 1/2 x, a 1 = 0, and a 2 = +1/2 x. In equaton (18) the dscrete values f +j can be wrtten n terms of the Taylor seres expanson about x = x as f +j = f + j xf + (j x)2 2 (j x) k = f + k! k= (21) f (k). (22) Usng ths Taylor seres approxmaton wth m + 2 terms for the f +j n equaton (18), where m s the order of accuracy of the fnte dfference formula, we can substtute these values nto equaton (17) and solve for the coeffcents a j+nl to derve the approprate fnte dfference formula. As an example, suppose we would lke to determne a second order accurate approxmaton to the second dervatve of a functon f(x) at x = x usng the data at x 1, x, and

6 Handout 5 05/08/02 6 Fgure 5: Depcton of the error n computng the frst dervatve for the forward, backward, and central dfference formulas x +1. Wrtng ths n the form of equaton (17) yelds d 2 f dx 2 = δx + O ( x 2), (23) where, from equaton (18), δx = a 0f 1 + a 1 f + a 2 f +1. (24) The Taylor seres approxmatons to f 1 and f +1 to O ( x 4 ) are gven by f 1 f xf + x2 2 f x3 6 f + x4 24 f v, (25) f +1 f + xf + x2 2 f + x3 6 f + x4 24 f v, (26) Rather than substtute these nto equaton (24), we create a Taylor table, whch requres much less wrtng, as follows. If we add the columns n the table then we have a 0 f 1 + a 1 f + a 2 f +1 = (a 0 + a 1 + a 2 )f + ( a 0 + a 2 ) xf + (a 0 + a 2 ) x2 2 f + ( a 0 + a 2 ) x3 6 f + (a 0 + a 2 ) x4 24 f v. (27)

7 Handout 5 05/08/02 7 Term n (24) f xf x 2 f x 3 f x 4 f v a 0 f 1 a 0 a 0 a 0 /2 a 0 /6 a 0 /24 a 1 f a a 2 f +1 a 2 a 2 a 2 /2 a 2 /6 a 2 / ?? Because we would lke the terms contanng f and f on the rght hand sde to vansh, then we must have a 0 + a 1 + a 2 = 0 and a 0 + a 2 = 0. Furthermore, snce we want to retan the second dervatve on the rght hand sde, then we must have a 0 + a 2 = 1. Ths yelds three equatons n three unknowns for a 0, a 1, and a 2, namely, a 0 + a 1 + a 2 = 0 a 0 + a 2 = 0 a 0 /2 + a 2 /2 = 1, (28) n whch the soluton s gven by a 0 = a 2 = 1 and a 1 = 2. Substtutng these values nto equaton (27) results n f 1 2f + f +1 = x 2 + x4 12 f v, (29) whch, after rearrangng, yelds the second order accurate fnte dfference formula for the second dervatve as f = f 1 2f + f +1 + O ( x 2), (30) x 2 where the error term s gven by Error = x2 12 f v. (31) As another example, let us compute the second order accurate one-sded dfference formula for the frst dervatve of f(x) at x = x usng x, x 1, and x 2. The Taylor table for ths example s gven below. By requrng that a 0 + a 1 + a 2 = 0, 2a 0 a 1 = 1, and Term f xf x 2 f x 3 f x 4 f v a 0 f 2 a 0 2a 0 2a 0 4a 0 /3 2a 0 /3 a 1 f 1 a 1 a 1 +a 1 /2 a 1 /6 a 1 /24 a 2 f a ?? 2a 0 + a 1 /2 = 0, we have a 0 = 1/2, a 1 = 2, and a 2 = 3/2. Therefore, the second order accurate one-sded fnte dfference formula for the frst dervatve s gven by where the error term s gven by df dx = f 2 4f 1 + 3f + O ( x 2), (32) 2 x Error = x2 3. (33)

8 Handout 5 05/08/02 8 Hgher order fnte dfference formulas can be derved usng the Taylor table method descrbed n ths secton. These are shown n Appled numercal analyss, sxth edton, by C. F. Gerald & P. O. Wheatley, Addson-Welsley, 1999., pp

BERNSTEIN POLYNOMIALS

BERNSTEIN POLYNOMIALS On-Lne Geometrc Modelng Notes BERNSTEIN POLYNOMIALS Kenneth I. Joy Vsualzaton and Graphcs Research Group Department of Computer Scence Unversty of Calforna, Davs Overvew Polynomals are ncredbly useful

More information

Recurrence. 1 Definitions and main statements

Recurrence. 1 Definitions and main statements Recurrence 1 Defntons and man statements Let X n, n = 0, 1, 2,... be a MC wth the state space S = (1, 2,...), transton probabltes p j = P {X n+1 = j X n = }, and the transton matrx P = (p j ),j S def.

More information

1 Example 1: Axis-aligned rectangles

1 Example 1: Axis-aligned rectangles COS 511: Theoretcal Machne Learnng Lecturer: Rob Schapre Lecture # 6 Scrbe: Aaron Schld February 21, 2013 Last class, we dscussed an analogue for Occam s Razor for nfnte hypothess spaces that, n conjuncton

More information

Finite Math Chapter 10: Study Guide and Solution to Problems

Finite Math Chapter 10: Study Guide and Solution to Problems Fnte Math Chapter 10: Study Gude and Soluton to Problems Basc Formulas and Concepts 10.1 Interest Basc Concepts Interest A fee a bank pays you for money you depost nto a savngs account. Prncpal P The amount

More information

The Mathematical Derivation of Least Squares

The Mathematical Derivation of Least Squares Pscholog 885 Prof. Federco The Mathematcal Dervaton of Least Squares Back when the powers that e forced ou to learn matr algera and calculus, I et ou all asked ourself the age-old queston: When the hell

More information

8.5 UNITARY AND HERMITIAN MATRICES. The conjugate transpose of a complex matrix A, denoted by A*, is given by

8.5 UNITARY AND HERMITIAN MATRICES. The conjugate transpose of a complex matrix A, denoted by A*, is given by 6 CHAPTER 8 COMPLEX VECTOR SPACES 5. Fnd the kernel of the lnear transformaton gven n Exercse 5. In Exercses 55 and 56, fnd the mage of v, for the ndcated composton, where and are gven by the followng

More information

Section 5.4 Annuities, Present Value, and Amortization

Section 5.4 Annuities, Present Value, and Amortization Secton 5.4 Annutes, Present Value, and Amortzaton Present Value In Secton 5.2, we saw that the present value of A dollars at nterest rate per perod for n perods s the amount that must be deposted today

More information

Linear Circuits Analysis. Superposition, Thevenin /Norton Equivalent circuits

Linear Circuits Analysis. Superposition, Thevenin /Norton Equivalent circuits Lnear Crcuts Analyss. Superposton, Theenn /Norton Equalent crcuts So far we hae explored tmendependent (resste) elements that are also lnear. A tmendependent elements s one for whch we can plot an / cure.

More information

How To Calculate The Accountng Perod Of Nequalty

How To Calculate The Accountng Perod Of Nequalty Inequalty and The Accountng Perod Quentn Wodon and Shlomo Ytzha World Ban and Hebrew Unversty September Abstract Income nequalty typcally declnes wth the length of tme taen nto account for measurement.

More information

We are now ready to answer the question: What are the possible cardinalities for finite fields?

We are now ready to answer the question: What are the possible cardinalities for finite fields? Chapter 3 Fnte felds We have seen, n the prevous chapters, some examples of fnte felds. For example, the resdue class rng Z/pZ (when p s a prme) forms a feld wth p elements whch may be dentfed wth the

More information

DEFINING %COMPLETE IN MICROSOFT PROJECT

DEFINING %COMPLETE IN MICROSOFT PROJECT CelersSystems DEFINING %COMPLETE IN MICROSOFT PROJECT PREPARED BY James E Aksel, PMP, PMI-SP, MVP For Addtonal Informaton about Earned Value Management Systems and reportng, please contact: CelersSystems,

More information

Support Vector Machines

Support Vector Machines Support Vector Machnes Max Wellng Department of Computer Scence Unversty of Toronto 10 Kng s College Road Toronto, M5S 3G5 Canada wellng@cs.toronto.edu Abstract Ths s a note to explan support vector machnes.

More information

Consider a 1-D stationary state diffusion-type equation, which we will call the generalized diffusion equation from now on:

Consider a 1-D stationary state diffusion-type equation, which we will call the generalized diffusion equation from now on: Chapter 1 Boundary value problems Numercal lnear algebra technques can be used for many physcal problems. In ths chapter we wll gve some examples of how these technques can be used to solve certan boundary

More information

An Overview of Financial Mathematics

An Overview of Financial Mathematics An Overvew of Fnancal Mathematcs Wllam Benedct McCartney July 2012 Abstract Ths document s meant to be a quck ntroducton to nterest theory. It s wrtten specfcally for actuaral students preparng to take

More information

+ + + - - This circuit than can be reduced to a planar circuit

+ + + - - This circuit than can be reduced to a planar circuit MeshCurrent Method The meshcurrent s analog of the nodeoltage method. We sole for a new set of arables, mesh currents, that automatcally satsfy KCLs. As such, meshcurrent method reduces crcut soluton to

More information

Immersed interface methods for moving interface problems

Immersed interface methods for moving interface problems Numercal Algorthms 14 (1997) 69 93 69 Immersed nterface methods for movng nterface problems Zhln L Department of Mathematcs, Unversty of Calforna at Los Angeles, Los Angeles, CA 90095, USA E-mal: zhln@math.ucla.edu

More information

What is Candidate Sampling

What is Candidate Sampling What s Canddate Samplng Say we have a multclass or mult label problem where each tranng example ( x, T ) conssts of a context x a small (mult)set of target classes T out of a large unverse L of possble

More information

Section 5.3 Annuities, Future Value, and Sinking Funds

Section 5.3 Annuities, Future Value, and Sinking Funds Secton 5.3 Annutes, Future Value, and Snkng Funds Ordnary Annutes A sequence of equal payments made at equal perods of tme s called an annuty. The tme between payments s the payment perod, and the tme

More information

Ring structure of splines on triangulations

Ring structure of splines on triangulations www.oeaw.ac.at Rng structure of splnes on trangulatons N. Vllamzar RICAM-Report 2014-48 www.rcam.oeaw.ac.at RING STRUCTURE OF SPLINES ON TRIANGULATIONS NELLY VILLAMIZAR Introducton For a trangulated regon

More information

Applied Research Laboratory. Decision Theory and Receiver Design

Applied Research Laboratory. Decision Theory and Receiver Design Decson Theor and Recever Desgn Sgnal Detecton and Performance Estmaton Sgnal Processor Decde Sgnal s resent or Sgnal s not resent Nose Nose Sgnal? Problem: How should receved sgnals be rocessed n order

More information

Extending Probabilistic Dynamic Epistemic Logic

Extending Probabilistic Dynamic Epistemic Logic Extendng Probablstc Dynamc Epstemc Logc Joshua Sack May 29, 2008 Probablty Space Defnton A probablty space s a tuple (S, A, µ), where 1 S s a set called the sample space. 2 A P(S) s a σ-algebra: a set

More information

benefit is 2, paid if the policyholder dies within the year, and probability of death within the year is ).

benefit is 2, paid if the policyholder dies within the year, and probability of death within the year is ). REVIEW OF RISK MANAGEMENT CONCEPTS LOSS DISTRIBUTIONS AND INSURANCE Loss and nsurance: When someone s subject to the rsk of ncurrng a fnancal loss, the loss s generally modeled usng a random varable or

More information

Luby s Alg. for Maximal Independent Sets using Pairwise Independence

Luby s Alg. for Maximal Independent Sets using Pairwise Independence Lecture Notes for Randomzed Algorthms Luby s Alg. for Maxmal Independent Sets usng Parwse Independence Last Updated by Erc Vgoda on February, 006 8. Maxmal Independent Sets For a graph G = (V, E), an ndependent

More information

Finite difference method

Finite difference method grd ponts x = mesh sze = X NÜÆ Fnte dfference method Prncple: dervatves n the partal dfferental eqaton are approxmated by lnear combnatons of fncton vales at the grd ponts 1D: Ω = (0, X), (x ), = 0,1,...,

More information

Series Solutions of ODEs 2 the Frobenius method. The basic idea of the Frobenius method is to look for solutions of the form 3

Series Solutions of ODEs 2 the Frobenius method. The basic idea of the Frobenius method is to look for solutions of the form 3 Royal Holloway Unversty of London Department of Physs Seres Solutons of ODEs the Frobenus method Introduton to the Methodology The smple seres expanson method works for dfferental equatons whose solutons

More information

In our example i = r/12 =.0825/12 At the end of the first month after your payment is received your amount in the account, the balance, is

In our example i = r/12 =.0825/12 At the end of the first month after your payment is received your amount in the account, the balance, is Payout annutes: Start wth P dollars, e.g., P = 100, 000. Over a 30 year perod you receve equal payments of A dollars at the end of each month. The amount of money left n the account, the balance, earns

More information

Answer: A). There is a flatter IS curve in the high MPC economy. Original LM LM after increase in M. IS curve for low MPC economy

Answer: A). There is a flatter IS curve in the high MPC economy. Original LM LM after increase in M. IS curve for low MPC economy 4.02 Quz Solutons Fall 2004 Multple-Choce Questons (30/00 ponts) Please, crcle the correct answer for each of the followng 0 multple-choce questons. For each queston, only one of the answers s correct.

More information

Modelling of Hot Water Flooding

Modelling of Hot Water Flooding Unversty of Readng Modellng of Hot Water Floodng as an Enhanced Ol Recovery Method by Zenab Zargar August 013 Department of Mathematcs Submtted to the Department of Mathematcs, Unversty of Readng, n Partal

More information

8.4. Annuities: Future Value. INVESTIGATE the Math. 504 8.4 Annuities: Future Value

8.4. Annuities: Future Value. INVESTIGATE the Math. 504 8.4 Annuities: Future Value 8. Annutes: Future Value YOU WILL NEED graphng calculator spreadsheet software GOAL Determne the future value of an annuty earnng compound nterest. INVESTIGATE the Math Chrstne decdes to nvest $000 at

More information

v a 1 b 1 i, a 2 b 2 i,..., a n b n i.

v a 1 b 1 i, a 2 b 2 i,..., a n b n i. SECTION 8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS 455 8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS All the vector spaces we have studed thus far n the text are real vector spaces snce the scalars are

More information

A) 3.1 B) 3.3 C) 3.5 D) 3.7 E) 3.9 Solution.

A) 3.1 B) 3.3 C) 3.5 D) 3.7 E) 3.9 Solution. ACTS 408 Instructor: Natala A. Humphreys SOLUTION TO HOMEWOR 4 Secton 7: Annutes whose payments follow a geometrc progresson. Secton 8: Annutes whose payments follow an arthmetc progresson. Problem Suppose

More information

A high-order compact method for nonlinear Black-Scholes option pricing equations of American Options

A high-order compact method for nonlinear Black-Scholes option pricing equations of American Options Bergsche Unverstät Wuppertal Fachberech Mathematk und Naturwssenschaften Lehrstuhl für Angewandte Mathematk und Numersche Mathematk Lehrstuhl für Optmerung und Approxmaton Preprnt BUW-AMNA-OPAP 10/13 II

More information

SIMPLE LINEAR CORRELATION

SIMPLE LINEAR CORRELATION SIMPLE LINEAR CORRELATION Smple lnear correlaton s a measure of the degree to whch two varables vary together, or a measure of the ntensty of the assocaton between two varables. Correlaton often s abused.

More information

FINANCIAL MATHEMATICS. A Practical Guide for Actuaries. and other Business Professionals

FINANCIAL MATHEMATICS. A Practical Guide for Actuaries. and other Business Professionals FINANCIAL MATHEMATICS A Practcal Gude for Actuares and other Busness Professonals Second Edton CHRIS RUCKMAN, FSA, MAAA JOE FRANCIS, FSA, MAAA, CFA Study Notes Prepared by Kevn Shand, FSA, FCIA Assstant

More information

THE DISTRIBUTION OF LOAN PORTFOLIO VALUE * Oldrich Alfons Vasicek

THE DISTRIBUTION OF LOAN PORTFOLIO VALUE * Oldrich Alfons Vasicek HE DISRIBUION OF LOAN PORFOLIO VALUE * Oldrch Alfons Vascek he amount of captal necessary to support a portfolo of debt securtes depends on the probablty dstrbuton of the portfolo loss. Consder a portfolo

More information

CHOLESTEROL REFERENCE METHOD LABORATORY NETWORK. Sample Stability Protocol

CHOLESTEROL REFERENCE METHOD LABORATORY NETWORK. Sample Stability Protocol CHOLESTEROL REFERENCE METHOD LABORATORY NETWORK Sample Stablty Protocol Background The Cholesterol Reference Method Laboratory Network (CRMLN) developed certfcaton protocols for total cholesterol, HDL

More information

CHAPTER 14 MORE ABOUT REGRESSION

CHAPTER 14 MORE ABOUT REGRESSION CHAPTER 14 MORE ABOUT REGRESSION We learned n Chapter 5 that often a straght lne descrbes the pattern of a relatonshp between two quanttatve varables. For nstance, n Example 5.1 we explored the relatonshp

More information

Mean Molecular Weight

Mean Molecular Weight Mean Molecular Weght The thermodynamc relatons between P, ρ, and T, as well as the calculaton of stellar opacty requres knowledge of the system s mean molecular weght defned as the mass per unt mole of

More information

Quantization Effects in Digital Filters

Quantization Effects in Digital Filters Quantzaton Effects n Dgtal Flters Dstrbuton of Truncaton Errors In two's complement representaton an exact number would have nfntely many bts (n general). When we lmt the number of bts to some fnte value

More information

HÜCKEL MOLECULAR ORBITAL THEORY

HÜCKEL MOLECULAR ORBITAL THEORY 1 HÜCKEL MOLECULAR ORBITAL THEORY In general, the vast maorty polyatomc molecules can be thought of as consstng of a collecton of two electron bonds between pars of atoms. So the qualtatve pcture of σ

More information

Joe Pimbley, unpublished, 2005. Yield Curve Calculations

Joe Pimbley, unpublished, 2005. Yield Curve Calculations Joe Pmbley, unpublshed, 005. Yeld Curve Calculatons Background: Everythng s dscount factors Yeld curve calculatons nclude valuaton of forward rate agreements (FRAs), swaps, nterest rate optons, and forward

More information

Logistic Regression. Lecture 4: More classifiers and classes. Logistic regression. Adaboost. Optimization. Multiple class classification

Logistic Regression. Lecture 4: More classifiers and classes. Logistic regression. Adaboost. Optimization. Multiple class classification Lecture 4: More classfers and classes C4B Machne Learnng Hlary 20 A. Zsserman Logstc regresson Loss functons revsted Adaboost Loss functons revsted Optmzaton Multple class classfcaton Logstc Regresson

More information

7.5. Present Value of an Annuity. Investigate

7.5. Present Value of an Annuity. Investigate 7.5 Present Value of an Annuty Owen and Anna are approachng retrement and are puttng ther fnances n order. They have worked hard and nvested ther earnngs so that they now have a large amount of money on

More information

Causal, Explanatory Forecasting. Analysis. Regression Analysis. Simple Linear Regression. Which is Independent? Forecasting

Causal, Explanatory Forecasting. Analysis. Regression Analysis. Simple Linear Regression. Which is Independent? Forecasting Causal, Explanatory Forecastng Assumes cause-and-effect relatonshp between system nputs and ts output Forecastng wth Regresson Analyss Rchard S. Barr Inputs System Cause + Effect Relatonshp The job of

More information

21 Vectors: The Cross Product & Torque

21 Vectors: The Cross Product & Torque 21 Vectors: The Cross Product & Torque Do not use our left hand when applng ether the rght-hand rule for the cross product of two vectors dscussed n ths chapter or the rght-hand rule for somethng curl

More information

Multiple stage amplifiers

Multiple stage amplifiers Multple stage amplfers Ams: Examne a few common 2-transstor amplfers: -- Dfferental amplfers -- Cascode amplfers -- Darlngton pars -- current mrrors Introduce formal methods for exactly analysng multple

More information

A Three-Point Combined Compact Difference Scheme

A Three-Point Combined Compact Difference Scheme JOURNAL OF COMPUTATIONAL PHYSICS 140, 370 399 (1998) ARTICLE NO. CP985899 A Three-Pont Combned Compact Derence Scheme Peter C. Chu and Chenwu Fan Department o Oceanography, Naval Postgraduate School, Monterey,

More information

The OC Curve of Attribute Acceptance Plans

The OC Curve of Attribute Acceptance Plans The OC Curve of Attrbute Acceptance Plans The Operatng Characterstc (OC) curve descrbes the probablty of acceptng a lot as a functon of the lot s qualty. Fgure 1 shows a typcal OC Curve. 10 8 6 4 1 3 4

More information

An Alternative Way to Measure Private Equity Performance

An Alternative Way to Measure Private Equity Performance An Alternatve Way to Measure Prvate Equty Performance Peter Todd Parlux Investment Technology LLC Summary Internal Rate of Return (IRR) s probably the most common way to measure the performance of prvate

More information

Brigid Mullany, Ph.D University of North Carolina, Charlotte

Brigid Mullany, Ph.D University of North Carolina, Charlotte Evaluaton And Comparson Of The Dfferent Standards Used To Defne The Postonal Accuracy And Repeatablty Of Numercally Controlled Machnng Center Axes Brgd Mullany, Ph.D Unversty of North Carolna, Charlotte

More information

Module 2 LOSSLESS IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur

Module 2 LOSSLESS IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur Module LOSSLESS IMAGE COMPRESSION SYSTEMS Lesson 3 Lossless Compresson: Huffman Codng Instructonal Objectves At the end of ths lesson, the students should be able to:. Defne and measure source entropy..

More information

Lecture 3: Annuity. Study annuities whose payments form a geometric progression or a arithmetic progression.

Lecture 3: Annuity. Study annuities whose payments form a geometric progression or a arithmetic progression. Lecture 3: Annuty Goals: Learn contnuous annuty and perpetuty. Study annutes whose payments form a geometrc progresson or a arthmetc progresson. Dscuss yeld rates. Introduce Amortzaton Suggested Textbook

More information

PSYCHOLOGICAL RESEARCH (PYC 304-C) Lecture 12

PSYCHOLOGICAL RESEARCH (PYC 304-C) Lecture 12 14 The Ch-squared dstrbuton PSYCHOLOGICAL RESEARCH (PYC 304-C) Lecture 1 If a normal varable X, havng mean µ and varance σ, s standardsed, the new varable Z has a mean 0 and varance 1. When ths standardsed

More information

Analysis of Reactivity Induced Accident for Control Rods Ejection with Loss of Cooling

Analysis of Reactivity Induced Accident for Control Rods Ejection with Loss of Cooling Analyss of Reactvty Induced Accdent for Control Rods Ejecton wth Loss of Coolng Hend Mohammed El Sayed Saad 1, Hesham Mohammed Mohammed Mansour 2 Wahab 1 1. Nuclear and Radologcal Regulatory Authorty,

More information

(6)(2) (-6)(-4) (-4)(6) + (-2)(-3) + (4)(3) + (2)(-3) = -12-24 + 24 + 6 + 12 6 = 0

(6)(2) (-6)(-4) (-4)(6) + (-2)(-3) + (4)(3) + (2)(-3) = -12-24 + 24 + 6 + 12 6 = 0 Chapter 3 Homework Soluton P3.-, 4, 6, 0, 3, 7, P3.3-, 4, 6, P3.4-, 3, 6, 9, P3.5- P3.6-, 4, 9, 4,, 3, 40 ---------------------------------------------------- P 3.- Determne the alues of, 4,, 3, and 6

More information

Solution: Let i = 10% and d = 5%. By definition, the respective forces of interest on funds A and B are. i 1 + it. S A (t) = d (1 dt) 2 1. = d 1 dt.

Solution: Let i = 10% and d = 5%. By definition, the respective forces of interest on funds A and B are. i 1 + it. S A (t) = d (1 dt) 2 1. = d 1 dt. Chapter 9 Revew problems 9.1 Interest rate measurement Example 9.1. Fund A accumulates at a smple nterest rate of 10%. Fund B accumulates at a smple dscount rate of 5%. Fnd the pont n tme at whch the forces

More information

substances (among other variables as well). ( ) Thus the change in volume of a mixture can be written as

substances (among other variables as well). ( ) Thus the change in volume of a mixture can be written as Mxtures and Solutons Partal Molar Quanttes Partal molar volume he total volume of a mxture of substances s a functon of the amounts of both V V n,n substances (among other varables as well). hus the change

More information

Simple Interest Loans (Section 5.1) :

Simple Interest Loans (Section 5.1) : Chapter 5 Fnance The frst part of ths revew wll explan the dfferent nterest and nvestment equatons you learned n secton 5.1 through 5.4 of your textbook and go through several examples. The second part

More information

ADVA FINAN QUAN ADVANCED FINANCE AND QUANTITATIVE INTERVIEWS VAULT GUIDE TO. Customized for: Jason (jason.barquero@cgu.edu) 2002 Vault Inc.

ADVA FINAN QUAN ADVANCED FINANCE AND QUANTITATIVE INTERVIEWS VAULT GUIDE TO. Customized for: Jason (jason.barquero@cgu.edu) 2002 Vault Inc. ADVA FINAN QUAN 00 Vault Inc. VAULT GUIDE TO ADVANCED FINANCE AND QUANTITATIVE INTERVIEWS Copyrght 00 by Vault Inc. All rghts reserved. All nformaton n ths book s subject to change wthout notce. Vault

More information

An Analysis of Central Processor Scheduling in Multiprogrammed Computer Systems

An Analysis of Central Processor Scheduling in Multiprogrammed Computer Systems STAN-CS-73-355 I SU-SE-73-013 An Analyss of Central Processor Schedulng n Multprogrammed Computer Systems (Dgest Edton) by Thomas G. Prce October 1972 Techncal Report No. 57 Reproducton n whole or n part

More information

THE METHOD OF LEAST SQUARES THE METHOD OF LEAST SQUARES

THE METHOD OF LEAST SQUARES THE METHOD OF LEAST SQUARES The goal: to measure (determne) an unknown quantty x (the value of a RV X) Realsaton: n results: y 1, y 2,..., y j,..., y n, (the measured values of Y 1, Y 2,..., Y j,..., Y n ) every result s encumbered

More information

1. Fundamentals of probability theory 2. Emergence of communication traffic 3. Stochastic & Markovian Processes (SP & MP)

1. Fundamentals of probability theory 2. Emergence of communication traffic 3. Stochastic & Markovian Processes (SP & MP) 6.3 / -- Communcaton Networks II (Görg) SS20 -- www.comnets.un-bremen.de Communcaton Networks II Contents. Fundamentals of probablty theory 2. Emergence of communcaton traffc 3. Stochastc & Markovan Processes

More information

Lecture 3: Force of Interest, Real Interest Rate, Annuity

Lecture 3: Force of Interest, Real Interest Rate, Annuity Lecture 3: Force of Interest, Real Interest Rate, Annuty Goals: Study contnuous compoundng and force of nterest Dscuss real nterest rate Learn annuty-mmedate, and ts present value Study annuty-due, and

More information

1. Measuring association using correlation and regression

1. Measuring association using correlation and regression How to measure assocaton I: Correlaton. 1. Measurng assocaton usng correlaton and regresson We often would lke to know how one varable, such as a mother's weght, s related to another varable, such as a

More information

SPEE Recommended Evaluation Practice #6 Definition of Decline Curve Parameters Background:

SPEE Recommended Evaluation Practice #6 Definition of Decline Curve Parameters Background: SPEE Recommended Evaluaton Practce #6 efnton of eclne Curve Parameters Background: The producton hstores of ol and gas wells can be analyzed to estmate reserves and future ol and gas producton rates and

More information

An Analysis of Pricing Methods for Baskets Options

An Analysis of Pricing Methods for Baskets Options An Analyss of Prcng Methods for Baskets Optons Martn Krekel, Johan de Kock, Ralf Korn, Tn-Kwa Man Fraunhofer ITWM, Department of Fnancal Mathematcs, 67653 Kaserslautern, Germany, emal: krekel@twm.fhg.de

More information

Texas Instruments 30X IIS Calculator

Texas Instruments 30X IIS Calculator Texas Instruments 30X IIS Calculator Keystrokes for the TI-30X IIS are shown for a few topcs n whch keystrokes are unque. Start by readng the Quk Start secton. Then, before begnnng a specfc unt of the

More information

Efficient Striping Techniques for Variable Bit Rate Continuous Media File Servers æ

Efficient Striping Techniques for Variable Bit Rate Continuous Media File Servers æ Effcent Strpng Technques for Varable Bt Rate Contnuous Meda Fle Servers æ Prashant J. Shenoy Harrck M. Vn Department of Computer Scence, Department of Computer Scences, Unversty of Massachusetts at Amherst

More information

CHAPTER 5 RELATIONSHIPS BETWEEN QUANTITATIVE VARIABLES

CHAPTER 5 RELATIONSHIPS BETWEEN QUANTITATIVE VARIABLES CHAPTER 5 RELATIONSHIPS BETWEEN QUANTITATIVE VARIABLES In ths chapter, we wll learn how to descrbe the relatonshp between two quanttatve varables. Remember (from Chapter 2) that the terms quanttatve varable

More information

8 Algorithm for Binary Searching in Trees

8 Algorithm for Binary Searching in Trees 8 Algorthm for Bnary Searchng n Trees In ths secton we present our algorthm for bnary searchng n trees. A crucal observaton employed by the algorthm s that ths problem can be effcently solved when the

More information

How To Understand The Results Of The German Meris Cloud And Water Vapour Product

How To Understand The Results Of The German Meris Cloud And Water Vapour Product Ttel: Project: Doc. No.: MERIS level 3 cloud and water vapour products MAPP MAPP-ATBD-ClWVL3 Issue: 1 Revson: 0 Date: 9.12.1998 Functon Name Organsaton Sgnature Date Author: Bennartz FUB Preusker FUB Schüller

More information

Description of the Force Method Procedure. Indeterminate Analysis Force Method 1. Force Method con t. Force Method con t

Description of the Force Method Procedure. Indeterminate Analysis Force Method 1. Force Method con t. Force Method con t Indeternate Analyss Force Method The force (flexblty) ethod expresses the relatonshps between dsplaceents and forces that exst n a structure. Prary objectve of the force ethod s to deterne the chosen set

More information

YIELD CURVE FITTING 2.0 Constructing Bond and Money Market Yield Curves using Cubic B-Spline and Natural Cubic Spline Methodology.

YIELD CURVE FITTING 2.0 Constructing Bond and Money Market Yield Curves using Cubic B-Spline and Natural Cubic Spline Methodology. YIELD CURVE FITTING 2.0 Constructng Bond and Money Market Yeld Curves usng Cubc B-Splne and Natural Cubc Splne Methodology Users Manual YIELD CURVE FITTING 2.0 Users Manual Authors: Zhuosh Lu, Moorad Choudhry

More information

Using Series to Analyze Financial Situations: Present Value

Using Series to Analyze Financial Situations: Present Value 2.8 Usng Seres to Analyze Fnancal Stuatons: Present Value In the prevous secton, you learned how to calculate the amount, or future value, of an ordnary smple annuty. The amount s the sum of the accumulated

More information

Interest Rate Forwards and Swaps

Interest Rate Forwards and Swaps Interest Rate Forwards and Swaps Forward rate agreement (FRA) mxn FRA = agreement that fxes desgnated nterest rate coverng a perod of (n-m) months, startng n m months: Example: Depostor wants to fx rate

More information

Marginal Benefit Incidence Analysis Using a Single Cross-section of Data. Mohamed Ihsan Ajwad and Quentin Wodon 1. World Bank.

Marginal Benefit Incidence Analysis Using a Single Cross-section of Data. Mohamed Ihsan Ajwad and Quentin Wodon 1. World Bank. Margnal Beneft Incdence Analyss Usng a Sngle Cross-secton of Data Mohamed Ihsan Ajwad and uentn Wodon World Bank August 200 Abstract In a recent paper, Lanjouw and Ravallon proposed an attractve and smple

More information

Calibration and Linear Regression Analysis: A Self-Guided Tutorial

Calibration and Linear Regression Analysis: A Self-Guided Tutorial Calbraton and Lnear Regresson Analyss: A Self-Guded Tutoral Part The Calbraton Curve, Correlaton Coeffcent and Confdence Lmts CHM314 Instrumental Analyss Department of Chemstry, Unversty of Toronto Dr.

More information

) of the Cell class is created containing information about events associated with the cell. Events are added to the Cell instance

) of the Cell class is created containing information about events associated with the cell. Events are added to the Cell instance Calbraton Method Instances of the Cell class (one nstance for each FMS cell) contan ADC raw data and methods assocated wth each partcular FMS cell. The calbraton method ncludes event selecton (Class Cell

More information

Research Article Enhanced Two-Step Method via Relaxed Order of α-satisfactory Degrees for Fuzzy Multiobjective Optimization

Research Article Enhanced Two-Step Method via Relaxed Order of α-satisfactory Degrees for Fuzzy Multiobjective Optimization Hndaw Publshng Corporaton Mathematcal Problems n Engneerng Artcle ID 867836 pages http://dxdoorg/055/204/867836 Research Artcle Enhanced Two-Step Method va Relaxed Order of α-satsfactory Degrees for Fuzzy

More information

NPAR TESTS. One-Sample Chi-Square Test. Cell Specification. Observed Frequencies 1O i 6. Expected Frequencies 1EXP i 6

NPAR TESTS. One-Sample Chi-Square Test. Cell Specification. Observed Frequencies 1O i 6. Expected Frequencies 1EXP i 6 PAR TESTS If a WEIGHT varable s specfed, t s used to replcate a case as many tmes as ndcated by the weght value rounded to the nearest nteger. If the workspace requrements are exceeded and samplng has

More information

Least Squares Fitting of Data

Least Squares Fitting of Data Least Squares Fttng of Data Davd Eberly Geoetrc Tools, LLC http://www.geoetrctools.co/ Copyrght c 1998-2016. All Rghts Reserved. Created: July 15, 1999 Last Modfed: January 5, 2015 Contents 1 Lnear Fttng

More information

Field-induced coordinates for the determination of dynamic vibrational nonlinear optical properties

Field-induced coordinates for the determination of dynamic vibrational nonlinear optical properties JOURNA O CHEMICA PHYSICS VOUME 115, NUMBER 10 8 SEPTEMBER 2001 eld-nduced coordnates for the determnaton of dynamc vbratonal nonlnear optcal propertes Josep M. us and Mquel Duran Insttute of Computatonal

More information

Politecnico di Torino. Porto Institutional Repository

Politecnico di Torino. Porto Institutional Repository Poltecnco d orno Porto Insttutonal Repostory [Proceedng] rbt dynamcs and knematcs wth full quaternons rgnal Ctaton: Andres D; Canuto E. (5). rbt dynamcs and knematcs wth full quaternons. In: 16th IFAC

More information

Mathematics of Finance

Mathematics of Finance 5 Mathematcs of Fnance 5.1 Smple and Compound Interest 5.2 Future Value of an Annuty 5.3 Present Value of an Annuty;Amortzaton Chapter 5 Revew Extended Applcaton:Tme, Money, and Polynomals Buyng a car

More information

Time Value of Money Module

Time Value of Money Module Tme Value of Money Module O BJECTIVES After readng ths Module, you wll be able to: Understand smple nterest and compound nterest. 2 Compute and use the future value of a sngle sum. 3 Compute and use the

More information

An Evaluation of the Extended Logistic, Simple Logistic, and Gompertz Models for Forecasting Short Lifecycle Products and Services

An Evaluation of the Extended Logistic, Simple Logistic, and Gompertz Models for Forecasting Short Lifecycle Products and Services An Evaluaton of the Extended Logstc, Smple Logstc, and Gompertz Models for Forecastng Short Lfecycle Products and Servces Charles V. Trappey a,1, Hsn-yng Wu b a Professor (Management Scence), Natonal Chao

More information

Effect of a spectrum of relaxation times on the capillary thinning of a filament of elastic liquid

Effect of a spectrum of relaxation times on the capillary thinning of a filament of elastic liquid J. Non-Newtonan Flud Mech., 72 (1997) 31 53 Effect of a spectrum of relaxaton tmes on the capllary thnnng of a flament of elastc lqud V.M. Entov a, E.J. Hnch b, * a Laboratory of Appled Contnuum Mechancs,

More information

Institute of Informatics, Faculty of Business and Management, Brno University of Technology,Czech Republic

Institute of Informatics, Faculty of Business and Management, Brno University of Technology,Czech Republic Lagrange Multplers as Quanttatve Indcators n Economcs Ivan Mezník Insttute of Informatcs, Faculty of Busness and Management, Brno Unversty of TechnologCzech Republc Abstract The quanttatve role of Lagrange

More information

A Study on Secure Data Storage Strategy in Cloud Computing

A Study on Secure Data Storage Strategy in Cloud Computing Journal of Convergence Informaton Technology Volume 5, Number 7, Setember 00 A Study on Secure Data Storage Strategy n Cloud Comutng Danwe Chen, Yanjun He, Frst Author College of Comuter Technology, Nanjng

More information

On the Solution of Indefinite Systems Arising in Nonlinear Optimization

On the Solution of Indefinite Systems Arising in Nonlinear Optimization On the Soluton of Indefnte Systems Arsng n Nonlnear Optmzaton Slva Bonettn, Valera Ruggero and Federca Tnt Dpartmento d Matematca, Unverstà d Ferrara Abstract We consder the applcaton of the precondtoned

More information

Comparison between the Provisions of the Egyptian Code of Practice and the Eurocodes for Reinforced Concrete Structures Design

Comparison between the Provisions of the Egyptian Code of Practice and the Eurocodes for Reinforced Concrete Structures Design Comparson between the Provsons of the Egyptan Code of Practce and the Eurocodes for Renforced Concrete Structures Desgn El-Shennawy, Ahmed (ASH) 1 ; Boros, Vazul (VB) 2 ; Novák, Balthasar (BN) 3 1 German

More information

Logistic Regression. Steve Kroon

Logistic Regression. Steve Kroon Logstc Regresson Steve Kroon Course notes sectons: 24.3-24.4 Dsclamer: these notes do not explctly ndcate whether values are vectors or scalars, but expects the reader to dscern ths from the context. Scenaro

More information

Problem Set 3. a) We are asked how people will react, if the interest rate i on bonds is negative.

Problem Set 3. a) We are asked how people will react, if the interest rate i on bonds is negative. Queston roblem Set 3 a) We are asked how people wll react, f the nterest rate on bonds s negatve. When

More information

Calculating the high frequency transmission line parameters of power cables

Calculating the high frequency transmission line parameters of power cables < ' Calculatng the hgh frequency transmsson lne parameters of power cables Authors: Dr. John Dcknson, Laboratory Servces Manager, N 0 RW E B Communcatons Mr. Peter J. Ncholson, Project Assgnment Manager,

More information

total A A reag total A A r eag

total A A reag total A A r eag hapter 5 Standardzng nalytcal Methods hapter Overvew 5 nalytcal Standards 5B albratng the Sgnal (S total ) 5 Determnng the Senstvty (k ) 5D Lnear Regresson and albraton urves 5E ompensatng for the Reagent

More information

Pricing Overage and Underage Penalties for Inventory with Continuous Replenishment and Compound Renewal Demand via Martingale Methods

Pricing Overage and Underage Penalties for Inventory with Continuous Replenishment and Compound Renewal Demand via Martingale Methods Prcng Overage and Underage Penaltes for Inventory wth Contnuous Replenshment and Compound Renewal emand va Martngale Methods RAF -Jun-3 - comments welcome, do not cte or dstrbute wthout permsson Junmn

More information

Adaptive Fractal Image Coding in the Frequency Domain

Adaptive Fractal Image Coding in the Frequency Domain PROCEEDINGS OF INTERNATIONAL WORKSHOP ON IMAGE PROCESSING: THEORY, METHODOLOGY, SYSTEMS AND APPLICATIONS 2-22 JUNE,1994 BUDAPEST,HUNGARY Adaptve Fractal Image Codng n the Frequency Doman K AI UWE BARTHEL

More information

SUMMARY. Topology optimization, buckling, eigenvalue, derivative, structural optimization 1. INTRODUCTION

SUMMARY. Topology optimization, buckling, eigenvalue, derivative, structural optimization 1. INTRODUCTION INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN ENGINEERING Int. J. Numer. Meth. Engng 0000; 00:1 20 Publshed onlne n Wley InterScence (www.nterscence.wley.com). A fast method for solvng bnary programmng

More information

On the Approximation Error of Mean-Field Models

On the Approximation Error of Mean-Field Models On the Approxmaton Error of Mean-Feld Models Le Yng School of Electrcal, Computer and Energy Engneerng Arzona State Unversty Tempe, AZ 85287 le.yng.2@asu.edu ABSTRACT Mean-feld models have been used to

More information

Faraday's Law of Induction

Faraday's Law of Induction Introducton Faraday's Law o Inducton In ths lab, you wll study Faraday's Law o nducton usng a wand wth col whch swngs through a magnetc eld. You wll also examne converson o mechanc energy nto electrc energy

More information