Numerical Differentiation

Size: px
Start display at page:

Download "Numerical Differentiation"

Transcription

1 College o Egeerg ad Computer Scece Mecacal Egeerg Departmet ME 9 Numercal Aalyss Marc 4, 4 Istructor: Larry Caretto Numercal Deretato Itroducto Tese otes provde a basc troducto to umercal deretato usg te- derece grds. Tey cosder te terplay betwee trucato error ad roudo error. Fte-derece grds I a te-derece grd, a rego s subdvded to a set o dscrete pots. Te spacg betwee te pots may be uorm or o-uorm. For example, a grd te x drecto, xm x xmax may be wrtte as ollows. Frst we place a seres o N+ odes umbered rom zero to N ts rego. Te coordate o te rst ode, x equals xm. Te al grd ode, xn = xmax. Te spacg betwee ay two grd odes, x ad x-, as te symbol Δx. Tese relatos are summarzed as equato []. x = xm xn = xmax x x- = Δx [] A o-uorm grd, wt deret spacg betwee deret odes, s llustrated below ~ ~ x x x x xn- xn- xn For a uorm grd, all values o Δx are te same. I ts case, te uorm grd spacg, a oedmesoal problem s usually gve te symbol. I.e., = x x- or all values o. I ME 9 we wll lmt our cosderato to oe-dmesoal te-derece problems. However, advaced courses cosder multple space dmesos dscussed below I two space dmesos a grd s requred or bot te x ad y, drectos, wc results te ollowg grd ad geometry detos, assumg tat tere are M+ grd odes te y drecto. x = xm xn = xmax x x- = Δx y = ymj ym = ymay yj yj- = Δyj [] For a tree-dmesoal traset problem tere would be our depedet varables: te tree space dmesos, x, y ad z, ad tme. Eac o tese varables would be deed at dscrete pots,.e. x = xm xn = xmax x x- = Δx y = ymj ym = ymay yj yj- = Δyj [] z = zmk zk = zmaz zk zk- = Δzk t = tm tl = tmay t t- = Δt Ay depedet varable suc as u(x,y,z,t) a cotuous represetato would be deed oly at dscrete grd pots a te-derece represetato. Te ollowg otato s used or a oe dmesoal problem. Jacarada Hall 4 Mal Code Poe:N/A Emal: lcaretto@csu.edu 848 Fax:

2 Numercal metods ME 9, L. S. Caretto, Marc 4, 4 Page x ) [4] k Ts otato ca be exteded to problems more ta oe dmeso cludg traset problems. I te most complex case te otato u x, y, z, t ) ( k u s used to deote te jk ( j k value o te depedet at a partcular pot te rego, (x, yj, zk, t) were te varable s deed. Fte-derece Expressos Derved rom Taylor Seres Te Taylor seres provdes a smple tool or dervg te-derece approxmatos. It also gves a dcato o te error caused by te te derece expresso. Recall tat te Taylor seres or a ucto o oe varable, (x), expaded about some pot x = a, s gve by te te seres, ( x) ( a) d xa ( x a)! d xa! d xa... [5] Te x = a subscrpt o te dervatves reorces te act tat tese dervatves are evaluated at te expaso pot, x = a. We ca wrte te te seres usg a summato otato as ollows: d ( x) []! xa I te equato above, we use te detos o! =! = ad te deto o te zerot dervatve as te ucto tsel. I.e., d / x=a = (a). I te seres s trucated ater some te umber o terms, say m terms, te omtted terms are called te trucato error. Tese omtted terms are also a te seres. Ts s llustrated below. ( x) m d d x a ( - )! m x a! xa Terms used Trucato error [7] I ts equato te secod sum represets te trucato error, εm, rom trucatg te seres ater m terms. d m [8]! m Te teorem o te mea ca be used to sow tat te te-seres trucato error ca be expressed terms o te rst term te trucato error, tat s xa m ( m m d m m )! x [9]

3 Numercal metods ME 9, L. S. Caretto, Marc 4, 4 Page Here te subscrpt, x = ξ, o te dervatve dcates tat ts dervatve s o loger evaluated at te kow pot x = a, but s to be evaluated at x = ξ, a ukow pot betwee x ad a. Tus, te prce we pay or reducg te te seres or te trucato error to a sgle term s tat we lose te certaty about te pot were te dervatve s evaluated. I prcple, ts would allow us to compute a boud o te error by dg te value o ξ, betwee x ad a, tat made te error computed by equato [9] a maxmum. I practce, we do ot usually kow te exact uctoal orm, (x), let aloe ts (m+) t dervatve. I usg Taylor seres to derve te basc te-derece expressos, we start wt uorm oedmesoal grd spacg. Te derece, Δx, betwee ay two grd pots s te same ad s gve te symbol,. Ts uorm grd ca be expressed as ollows. Δx = x x- = or x = x + or all =,,N [] Varous cremets x at ay pot alog te grd ca be wrtte as ollows: x+ x- = x+ x = x- x = x x+ = x- x+ = x x+ = [] Usg te cremets x deed above ad te otato = (x) te ollowg Taylor seres ca be wrtte usg expaso about te pot x = x to express te values o at some specc grd pots, x+, x-, x+ ad x-. Te covetoal Taylor seres expresso or (x) equato [5] ca be adapted or use te dereces by wrtg a expaso equato about a partcular grd pot, x = x, to determe te value o (x) at aoter grd pot, x+k. From equato [], we see tat x+k = x + k so tat (x+k) = (x + k). Te derece, x, te depedet varable, x, betwee te evaluato pot, x + k, ad te expaso pot, x, s equal to k. Usg a = x as te expaso pot ad k as x allows us to rewrte equato [5] as sow below. ( x k) ( x ) d k d! ( k) d! ( k)... [] xx xx xx Te ext step s to use te otato tat (x + k) = +k, ad te ollowg otato or te t dervatve, evaluated at x = x. d d... xx xx d xx [] Wt tese otatoal cages, te Taylor seres equato [] ca be wrtte as ollows. ( k)! ( k)! k k... [4] Fte-derece expressos or varous dervatves ca be obtaed by wrtg te Taylor seres sow above or deret values o k, combg te results, ad solvg or te dervatve. Te smplest example o ts s to use oly te seres or k =.... [5] We ca rearrage ts equato to solve or te rst dervatve, ; recall tat ts s te rst dervatve at te pot x = x.

4 Numercal metods ME 9, L. S. Caretto, Marc 4, 4 Page 4... O( ) [] Te rst term to te rgt o te equal sg gves us a smple expresso or te rst dervatve; t s smply te derece te ucto at two pots, (x+) (x), dvded by, wc s te derece x betwee tose two pots. Te remag terms te rst orm o te equato are a te seres. Tat te seres gves us a equato or te error tat we would ave we used te smple te derece expresso to evaluate te rst dervatve. As oted above, we ca replace te te seres or te trucato error by te leadg term tat seres. Remember tat we pay a prce or ts replacemet; we o loger kow te pot at wc te leadg term s to be evaluated. Because o ts we ote wrte te trucato error as sow te secod equato. Here we use a captal o ollowed by te grd sze pareteses. I geeral te grd sze s rased to some power. (Here we ave te rst power o te grd sze, =.) I geeral we would ave te otato, O( ). Ts otato tells us ow te trucato error depeds o te step sze. Ts s a mportat cocept. I te error s proportoal to, cuttg al would cut te error al. I te error s proportoal to, te cuttg te step sze al would reduce te error by ¼. We te trucato error s wrtte wt ts O( ) otato, we call te order o te error. I two calculatos, wt step szes ad, we expect te ollowg relato betwee te trucato errors, ε ad ε or te calculatos. [7] We use te approxmato sg ( ) rater ta te equalty sg ts equato because te error term also cludes a ukow actor o some ger order dervatve, evaluated at some ukow pot te rego. Te approxmato sow equato [7] would be a equalty ts oter actor were te same or bot step szes. Aoter mportat dea about te order o te error s tat a t order te-derece expresso wll gve a exact value or te dervatve o a t order polyomal. Because a Taylor seres s a polyomal seres, t ca represet a polyomal exactly a sucet umber o terms are used. Ts s llustrated urter below. Te expresso or te rst dervatve tat we derved equato [] s sad to ave a rst order error. We ca obta a smlar te derece approxmato by wrtg te geeral seres equato [4] or k = -. Ts gves te ollowg result.... [8] We ca rearrage ts equato to solve or te rst dervatve, ; recall tat ts s te rst dervatve at te pot x = x.... O( ) [9] Here aga, as equato [], we ave a smple te-derece expresso or te rst dervatve tat as a rst-order error. Te expresso equato [] s called a orward derece. It gves a approxmato to te dervatve at pot terms o values at tat pot

5 Numercal metods ME 9, L. S. Caretto, Marc 4, 4 Page 5 ad pots orward ( te +x drec to) o tat pot. Te expresso equato [9] s called a backwards derece or smlar reasos. A expresso or te rst dervatve tat as a secod-order error ca be oud by subtractg equato [8] rom equato [5]. We ts s doe, terms wt eve powers o cacel gvg [] Solvg ts equato or te rst dervatve gves te ollowg result O( ) [] Te te-derece expresso or te rst dervatve equato [] s called a cetral derece. Te pot at wc te dervatve s evaluated, x, s cetral to te two pots (x+ ad x-) at wc te ucto s evaluated. Te cetral derece expresso provdes a ger order (more accurate) expresso or te rst dervatve as compared to te orward or backward dervatves. Tere s oly a small amout o extra work (a dvso by ) gettg ts more accurate result. Because o ter ger accuracy, cetral dereces are usually preerred te derece expressos. Cetral derece expressos are ot possble at te start o ed o a boudary. It s possble to get ger order te derece expressos or suc pots by usg more complex expressos. For example, at te start o a rego, x = x, we ca wrte te Taylor seres equato [4] or te rst two pots rom te boudary, x ad x, expadg aroud te boudary pot, x.... [] () () ()... [] Tese equatos ca be combed to elmate te terms. To start, we multply equato [] by 4 ad subtract t rom equato []. 4 () () Ts equato ca be smpled as ollows ()... 4 ( ) ( ) ( ).. ( ) 4 () 4... [4] We ts equato s solved or te rst dervatve at te start o te rego a secod order accurate expresso s obtaed O( ) [5]

6 Numercal metods ME 9, L. S. Caretto, Marc 4, 4 Page A smlar equato ca be oud at te ed o te rego, x = xn, by obtag te Taylor seres expasos about te pot x = xn, or te values o (x) at x = xn- ad x = xn-. Ts dervato parallels te dervato used to obta equato [5]. Te result s sow below. N N 4 N N N 4 N N N... O( ) [] Equatos [5] ad [] gve secod-order accurate expressos or te rst dervatve. Te expresso equato [5] s a orward derece; te oe equato [] s a backwards derece. Te evaluato o tree expressos or te rst dervatve s sow Table -. Tese are () te secod-order, cetral-derece expresso rom equato [], () te rst-order, orwardderece rom equato [], ad () te secod-order, orward-derece rom equato [5]. Te rst dervatve s evaluated or (x) = e x. For ts ucto, te rst dervatve, d/ = e x. Sce we kow te exact value o te rst dervatve, we ca calculate te error te te derece results. I Table, te results are computed or tree deret step szes: =.4, =. ad =.. Te table also sows te rato o te error as te step sze s caged. Te ext-to-last colum sows te rato o te error or =.4 to te error or =.. Te al colum sows te rato o te error or =. to te error or =.. Table Tests o Fte-Derece Formulae to Compute te Frst Dervatve (x) = exp(x) x x x x x x x Results usg secod-order cetral dereces Results usg rst-order orward dereces

7 Numercal metods ME 9, L. S. Caretto, Marc 4, 4 Page 7 Table Tests o Fte-Derece Formulae to Compute te Frst Dervatve (x) = exp(x) x (x) =.4 =. =. Error Ratos Exact (x) (=.4)/ (=.)/ (x) Error (x) Error (x) Error (=.) (=.) Results usg secod-order orward dereces For te secod-order ormulae, te error ratos te last two colums o Table - are about 4, sowg tat te secod-order error creases by a actor o 4 as te step sze s doubled. For te rst order expresso, tese ratos are about. Ts sows tat te error creases by te same actor as te step sze or te rst order expressos. Te expected values o te error ratos are oly obtaed te lmt o very small step szes. We see tat te values te last colum o ts table (were te actual values o are smaller ta tey are te ext-to-last colum) are closer to te deal error rato. Trucato errors are ot te oly kd o error tat we ecouter te derece expressos. As te step szes get very small te terms te umerator o te te derece expressos become very close to eac oter. We lose sgcat gure we we do te subtracto. For example, cosder te prevous problem o dg te umercal dervatve o (x) = e x. Pck x = as te pot were we wat to evaluate te dervatve. Wt =. we ave te ollowg data or calculatg te dervatve by te cetral-derece ormula equato []. ( x) ( x ) ( x ) (.) Sce te rst dervatve o e x s e x, te correct value o te dervatve at x = s e =.788; so te error ts value o te rst dervatve s 4.5x -. For =., te umercal value o te rst dervatve s oud as ollows. ( x) ( x ) ( x ) (.) Here, te error s 4.5x -9. Ts looks lke our secod-order error. We cut te step sze by a actor o, ad our error decreased by a actor o,,, as we would expect or a secod order error. We are startg to see potetal problems te subtracto o te two umbers te umerator. Because te rst our dgts are te same, we ave lost our sgcat gures dog ts subtracto. Wat appes we decrease by a actor o, aga? Here s te result or = -7. ( x) ( x ) ( x ) (.)

8 Error Numercal metods ME 9, L. S. Caretto, Marc 4, 4 Page 8 Our trucato aalyss leads us to expect aoter actor o oe mllo te error reducto as we decrease te step sze by,. Ts sould gve us a error o 4.5x -5. However, we d tat te actual error s 5.9x -9. We see te reaso or ts te umerator o te te derece expresso. As te derece betwee (x+) ad (x-) srks, we are takg te derece o early equal umbers. Ts kd o error s called roudo error because t results rom te ecessty o a computer to roud o real umbers to some te sze. (Tese calculatos were doe wt a excel spreadseet wc as about 5 sgcat gures.) Fgure - sows te eect o step sze o error or a large rage o step szes. For te large step szes to te rgt o Fgure -, te plot o error versus step sze appears to be a stragt le o ts log-log plot. Ts s cosstet wt equato [7]. I we take logs o bot sdes o tat equato ad solve or, we get te ollowg result. log log log( ) log( ) log( ) log( ) [7] Equato [7] sows tat te order o te error s just te slope o a log(error) versus log() plot. I we take te slope o te stragt-le rego o te rgt o Fgure -, we get a value o approxmately two or te slope, cormg te secod order error or te cetral derece expresso tat we are usg ere. However, we also see tat as te step sze reaces about -5, te error starts to level o ad te crease. At very small step szes te umerator o te te-derece expresso becomes zero o a computer ad te error s just te exact value o te dervatve. Fgure. Eect o Step Sze o Error.E+.E+.E-.E-.E-.E-4.E-5.E-.E-7.E-8.E-9.E-.E-.E-8.E-.E-4.E-.E-.E-8.E-.E-4.E-.E+ Step Sze

9 Numercal metods ME 9, L. S. Caretto, Marc 4, 4 Page 9 Fal Observatos o Fte-Derece Expressos rom Taylor Seres Te otes above ave ocused o te geeral approac to te dervato o te-derece expressos usg Taylor seres. Suc dervatos lead to a expresso or te trucato error. Tat error s due to omttg te ger order terms te Taylor seres. We ave caracterzed tat trucato error by te power or order o te step sze te rst term tat s trucated. Te trucato error s a mportat actor te accuracy o te results. However, we also saw tat very small step szes lead to roudo errors tat ca be eve larger ta trucato errors. Te use o Taylor seres to derve te derece expressos ca be exteded to ger order dervatves ad expressos tat are more complex, but ave a ger order trucato error. Te cetral-derece expresso or te secod dervatve ca be oud by addg equatos [5] ad [8] [8] We ca solve ts equato to obta a te-derece expresso or te secod dervatve.... O( ) [9] Altoug we ave bee dervg expressos ere or ordary dervatves, we wll apply te same expressos to partal dervatves. For example, te expresso equato [9] or te secod dervatve could represet d / or / x. Te Taylor seres we ave bee usg ere ave cosdered x as te depedet varable. However, tese expressos ca be appled to ay coordate drecto or tme. Altoug we ave used Taylor seres to derve te te-derece expressos, tey could also be derved rom terpolatg polyomals. I ts approac, oe uses umercal metods or developg polyomal approxmatos to uctos, te takes te dervatves o te approxmatg polyomals to approxmate te dervatves o te uctos. A te-derece expresso wt a t order error tat gves te value o ay quatty sould be able to represet te gve quatty exactly or a t order polyomal. * Te expressos tat we ave cosdered are or costat step sze. It s also possble to wrte te Taylor seres or varable step sze ad derve te derece expressos wt varable step szes. Suc expressos ave lower-order trucato error terms or te same amout o work computg te te derece expresso. Altoug accuracy tells us tat we sould ormally preer cetral-derece expressos or dervatves, some specal applcatos use oe-sded dereces. Te ma example o ts s * I a secod order polyomal s wrtte as y = a + bx + cx ; ts rst dervatve at a pot x = x s gve by te ollowg equato: [dy/]x=x = b + cx. I we use te secod-order cetral-derece expresso equato [] to evaluate te rst dervatve, we get te same result as sow below: dy y( x ) y( x ) a b( x ) c( x ) [ a b( x ) c( x ) ] x x b c( x x ) c( x x ) b 4cx b cx

10 Numercal metods ME 9, L. S. Caretto, Marc 4, 4 Page suc as covecto terms computatoal lud dyamcs were oe-sded dereces, called upwd dereces, are used. I solvg deretal equatos by te-derece metods, te deretal equato s replaced by ts te derece equvalet at eac ode. Ts gves a set o smultaeous algebrac equatos tat are solved or te values o te depedet varable at eac grd pot. Fte derece expressos ca be derved rom Taylor seres. Ts approac leads to a expresso or te trucato error tat provdes us wt kowledge o ow ts error depeds o te step sze. Ts s called te order o te error. I te-derece approaces, we eed to be cocered about bot trucato errors ad roudo errors. Roudo errors were more o a cocer earler computer applcatos were lmtatos o avalable computer tme ad memory restrcted te sze o real words, or practcal applcatos, to bts. Ts correspods to te sgle precso type Fortra or te Sgle type VBA. Wt moder computers, t s possble to do route calculatos usg 4-bt real words. Ts correspods to te double precso type Fortra * or te double type VBA. Te -bt real word allows about 7 sgcat gures; te 4-bt real word allows almost sgcat gures. * Also kow as real(8) or real(kind=8) Fortra 9 ad later versos; sgle precso s typed as real, real(4) or real(kind=4) tese versos o Fortra.

Numerical Differentiation

Numerical Differentiation College o Egeerg ad Computer Scece Mecacal Egeerg Departmet Numercal Aalyss Notes November 4, 7 Istructor: Larry Caretto Numercal Deretato Itroducto Tese otes provde a basc troducto to umercal deretato

More information

Introduction to Numerical Differentiation and Interpolation March 10, !=1 1!=1 2!=2 3!=6 4!=24 5!= 120

Introduction to Numerical Differentiation and Interpolation March 10, !=1 1!=1 2!=2 3!=6 4!=24 5!= 120 Itroducto to Numercal Deretato ad Iterpolato Marc, Itroducto to Numercal Deretato ad Iterpolato Larr Caretto Mecacal Egeerg 9 Numercal Aalss o Egeerg stems Marc, Itroducto Iterpolato s te use o a dscrete

More information

Basic Concepts in Numerical Analysis November 6, 2017

Basic Concepts in Numerical Analysis November 6, 2017 Basc Cocepts Nuercal Aalyss Noveber 6, 7 Basc Cocepts Nuercal Aalyss Larry Caretto Mecacal Egeerg 5AB Sear Egeerg Aalyss Noveber 6, 7 Outle Revew last class Mdter Exa Noveber 5 covers ateral o deretal

More information

4 Round-Off and Truncation Errors

4 Round-Off and Truncation Errors HK Km Slgtly moded 3//9, /8/6 Frstly wrtte at Marc 5 4 Roud-O ad Trucato Errors Errors Roud-o Errors Trucato Errors Total Numercal Errors Bluders, Model Errors, ad Data Ucertaty Recallg, dv dt Δv v t Δt

More information

Outline. Numerical Heat Transfer. Review All Black Surfaces. Review View Factor, F i j or F ij. Review Gray Diffuse Opaque II

Outline. Numerical Heat Transfer. Review All Black Surfaces. Review View Factor, F i j or F ij. Review Gray Diffuse Opaque II umercao Heat raser ay 9 ad, 7 umercal Heat raser arry Caretto ecacal geerg 75 Heat raser ay 9 ad, 7 Outle Wat s umercal aalyss Cosderatos o coducto, covecto ad radato evew umercal aalyss bascs ervatve

More information

General Method for Calculating Chemical Equilibrium Composition

General Method for Calculating Chemical Equilibrium Composition AE 6766/Setzma Sprg 004 Geeral Metod for Calculatg Cemcal Equlbrum Composto For gve tal codtos (e.g., for gve reactats, coose te speces to be cluded te products. As a example, for combusto of ydroge wt

More information

CHAPTER 4 RADICAL EXPRESSIONS

CHAPTER 4 RADICAL EXPRESSIONS 6 CHAPTER RADICAL EXPRESSIONS. The th Root of a Real Number A real umber a s called the th root of a real umber b f Thus, for example: s a square root of sce. s also a square root of sce ( ). s a cube

More information

Idea is to sample from a different distribution that picks points in important regions of the sample space. Want ( ) ( ) ( ) E f X = f x g x dx

Idea is to sample from a different distribution that picks points in important regions of the sample space. Want ( ) ( ) ( ) E f X = f x g x dx Importace Samplg Used for a umber of purposes: Varace reducto Allows for dffcult dstrbutos to be sampled from. Sestvty aalyss Reusg samples to reduce computatoal burde. Idea s to sample from a dfferet

More information

Cubic Nonpolynomial Spline Approach to the Solution of a Second Order Two-Point Boundary Value Problem

Cubic Nonpolynomial Spline Approach to the Solution of a Second Order Two-Point Boundary Value Problem Joural of Amerca Scece ;6( Cubc Nopolyomal Sple Approach to the Soluto of a Secod Order Two-Pot Boudary Value Problem W.K. Zahra, F.A. Abd El-Salam, A.A. El-Sabbagh ad Z.A. ZAk * Departmet of Egeerg athematcs

More information

Bounds on the expected entropy and KL-divergence of sampled multinomial distributions. Brandon C. Roy

Bounds on the expected entropy and KL-divergence of sampled multinomial distributions. Brandon C. Roy Bouds o the expected etropy ad KL-dvergece of sampled multomal dstrbutos Brado C. Roy bcroy@meda.mt.edu Orgal: May 18, 2011 Revsed: Jue 6, 2011 Abstract Iformato theoretc quattes calculated from a sampled

More information

Numerical Analysis Formulae Booklet

Numerical Analysis Formulae Booklet Numercal Aalyss Formulae Booklet. Iteratve Scemes for Systems of Lear Algebrac Equatos:.... Taylor Seres... 3. Fte Dfferece Approxmatos... 3 4. Egevalues ad Egevectors of Matrces.... 3 5. Vector ad Matrx

More information

CS475 Parallel Programming

CS475 Parallel Programming CS475 Parallel Programmg Deretato ad Itegrato Wm Bohm Colorado State Uversty Ecept as otherwse oted, the cotet o ths presetato s lcesed uder the Creatve Commos Attrbuto.5 lcese. Pheomea Physcs: heat, low,

More information

Functions of Random Variables

Functions of Random Variables Fuctos of Radom Varables Chapter Fve Fuctos of Radom Varables 5. Itroducto A geeral egeerg aalyss model s show Fg. 5.. The model output (respose) cotas the performaces of a system or product, such as weght,

More information

Simple Linear Regression

Simple Linear Regression Statstcal Methods I (EST 75) Page 139 Smple Lear Regresso Smple regresso applcatos are used to ft a model descrbg a lear relatoshp betwee two varables. The aspects of least squares regresso ad correlato

More information

Chapter 5 Properties of a Random Sample

Chapter 5 Properties of a Random Sample Lecture 6 o BST 63: Statstcal Theory I Ku Zhag, /0/008 Revew for the prevous lecture Cocepts: t-dstrbuto, F-dstrbuto Theorems: Dstrbutos of sample mea ad sample varace, relatoshp betwee sample mea ad sample

More information

Chapter 5. Curve fitting

Chapter 5. Curve fitting Chapter 5 Curve ttg Assgmet please use ecell Gve the data elow use least squares regresso to t a a straght le a power equato c a saturato-growthrate equato ad d a paraola. Fd the r value ad justy whch

More information

Beam Warming Second-Order Upwind Method

Beam Warming Second-Order Upwind Method Beam Warmg Secod-Order Upwd Method Petr Valeta Jauary 6, 015 Ths documet s a part of the assessmet work for the subject 1DRP Dfferetal Equatos o Computer lectured o FNSPE CTU Prague. Abstract Ths documet

More information

Basics of Information Theory: Markku Juntti. Basic concepts and tools 1 Introduction 2 Entropy, relative entropy and mutual information

Basics of Information Theory: Markku Juntti. Basic concepts and tools 1 Introduction 2 Entropy, relative entropy and mutual information : Markku Jutt Overvew Te basc cocepts o ormato teory lke etropy mutual ormato ad EP are eeralzed or cotuous-valued radom varables by troduc deretal etropy ource Te materal s maly based o Capter 9 o te

More information

UNIT 2 SOLUTION OF ALGEBRAIC AND TRANSCENDENTAL EQUATIONS

UNIT 2 SOLUTION OF ALGEBRAIC AND TRANSCENDENTAL EQUATIONS Numercal Computg -I UNIT SOLUTION OF ALGEBRAIC AND TRANSCENDENTAL EQUATIONS Structure Page Nos..0 Itroducto 6. Objectves 7. Ital Approxmato to a Root 7. Bsecto Method 8.. Error Aalyss 9.4 Regula Fals Method

More information

. The set of these sums. be a partition of [ ab, ]. Consider the sum f( x) f( x 1)

. The set of these sums. be a partition of [ ab, ]. Consider the sum f( x) f( x 1) Chapter 7 Fuctos o Bouded Varato. Subject: Real Aalyss Level: M.Sc. Source: Syed Gul Shah (Charma, Departmet o Mathematcs, US Sargodha Collected & Composed by: Atq ur Rehma (atq@mathcty.org, http://www.mathcty.org

More information

Lecture 3. Sampling, sampling distributions, and parameter estimation

Lecture 3. Sampling, sampling distributions, and parameter estimation Lecture 3 Samplg, samplg dstrbutos, ad parameter estmato Samplg Defto Populato s defed as the collecto of all the possble observatos of terest. The collecto of observatos we take from the populato s called

More information

1. A real number x is represented approximately by , and we are told that the relative error is 0.1 %. What is x? Note: There are two answers.

1. A real number x is represented approximately by , and we are told that the relative error is 0.1 %. What is x? Note: There are two answers. PROBLEMS A real umber s represeted appromately by 63, ad we are told that the relatve error s % What s? Note: There are two aswers Ht : Recall that % relatve error s What s the relatve error volved roudg

More information

A stopping criterion for Richardson s extrapolation scheme. under finite digit arithmetic.

A stopping criterion for Richardson s extrapolation scheme. under finite digit arithmetic. A stoppg crtero for cardso s extrapoato sceme uder fte dgt artmetc MAKOO MUOFUSHI ad HIEKO NAGASAKA epartmet of Lbera Arts ad Sceces Poytecc Uversty 4-1-1 Hasmotoda,Sagamara,Kaagawa 229-1196 JAPAN Abstract:

More information

Lecture 12 APPROXIMATION OF FIRST ORDER DERIVATIVES

Lecture 12 APPROXIMATION OF FIRST ORDER DERIVATIVES FDM: Appromato of Frst Order Dervatves Lecture APPROXIMATION OF FIRST ORDER DERIVATIVES. INTRODUCTION Covectve term coservato equatos volve frst order dervatves. The smplest possble approach for dscretzato

More information

The equation is sometimes presented in form Y = a + b x. This is reasonable, but it s not the notation we use.

The equation is sometimes presented in form Y = a + b x. This is reasonable, but it s not the notation we use. INTRODUCTORY NOTE ON LINEAR REGREION We have data of the form (x y ) (x y ) (x y ) These wll most ofte be preseted to us as two colum of a spreadsheet As the topc develops we wll see both upper case ad

More information

Ordinary Least Squares Regression. Simple Regression. Algebra and Assumptions.

Ordinary Least Squares Regression. Simple Regression. Algebra and Assumptions. Ordary Least Squares egresso. Smple egresso. Algebra ad Assumptos. I ths part of the course we are gog to study a techque for aalysg the lear relatoshp betwee two varables Y ad X. We have pars of observatos

More information

ENGI 4421 Propagation of Error Page 8-01

ENGI 4421 Propagation of Error Page 8-01 ENGI 441 Propagato of Error Page 8-01 Propagato of Error [Navd Chapter 3; ot Devore] Ay realstc measuremet procedure cotas error. Ay calculatos based o that measuremet wll therefore also cota a error.

More information

ESS Line Fitting

ESS Line Fitting ESS 5 014 17. Le Fttg A very commo problem data aalyss s lookg for relatoshpetwee dfferet parameters ad fttg les or surfaces to data. The smplest example s fttg a straght le ad we wll dscuss that here

More information

Mu Sequences/Series Solutions National Convention 2014

Mu Sequences/Series Solutions National Convention 2014 Mu Sequeces/Seres Solutos Natoal Coveto 04 C 6 E A 6C A 6 B B 7 A D 7 D C 7 A B 8 A B 8 A C 8 E 4 B 9 B 4 E 9 B 4 C 9 E C 0 A A 0 D B 0 C C Usg basc propertes of arthmetc sequeces, we fd a ad bm m We eed

More information

FREQUENCY ANALYSIS OF A DOUBLE-WALLED NANOTUBES SYSTEM

FREQUENCY ANALYSIS OF A DOUBLE-WALLED NANOTUBES SYSTEM Joural of Appled Matematcs ad Computatoal Mecacs 04, 3(4), 7-34 FREQUENCY ANALYSIS OF A DOUBLE-WALLED NANOTUBES SYSTEM Ata Cekot, Stasław Kukla Isttute of Matematcs, Czestocowa Uversty of Tecology Częstocowa,

More information

MOLECULAR VIBRATIONS

MOLECULAR VIBRATIONS MOLECULAR VIBRATIONS Here we wsh to vestgate molecular vbratos ad draw a smlarty betwee the theory of molecular vbratos ad Hückel theory. 1. Smple Harmoc Oscllator Recall that the eergy of a oe-dmesoal

More information

EVALUATION OF FUNCTIONAL INTEGRALS BY MEANS OF A SERIES AND THE METHOD OF BOREL TRANSFORM

EVALUATION OF FUNCTIONAL INTEGRALS BY MEANS OF A SERIES AND THE METHOD OF BOREL TRANSFORM EVALUATION OF FUNCTIONAL INTEGRALS BY MEANS OF A SERIES AND THE METHOD OF BOREL TRANSFORM Jose Javer Garca Moreta Ph. D research studet at the UPV/EHU (Uversty of Basque coutry) Departmet of Theoretcal

More information

MEASURES OF DISPERSION

MEASURES OF DISPERSION MEASURES OF DISPERSION Measure of Cetral Tedecy: Measures of Cetral Tedecy ad Dsperso ) Mathematcal Average: a) Arthmetc mea (A.M.) b) Geometrc mea (G.M.) c) Harmoc mea (H.M.) ) Averages of Posto: a) Meda

More information

Derivation of 3-Point Block Method Formula for Solving First Order Stiff Ordinary Differential Equations

Derivation of 3-Point Block Method Formula for Solving First Order Stiff Ordinary Differential Equations Dervato of -Pot Block Method Formula for Solvg Frst Order Stff Ordary Dfferetal Equatos Kharul Hamd Kharul Auar, Kharl Iskadar Othma, Zara Bb Ibrahm Abstract Dervato of pot block method formula wth costat

More information

Chapter 14 Logistic Regression Models

Chapter 14 Logistic Regression Models Chapter 4 Logstc Regresso Models I the lear regresso model X β + ε, there are two types of varables explaatory varables X, X,, X k ad study varable y These varables ca be measured o a cotuous scale as

More information

Assignment 7/MATH 247/Winter, 2010 Due: Friday, March 19. Powers of a square matrix

Assignment 7/MATH 247/Winter, 2010 Due: Friday, March 19. Powers of a square matrix Assgmet 7/MATH 47/Wter, 00 Due: Frday, March 9 Powers o a square matrx Gve a square matrx A, ts powers A or large, or eve arbtrary, teger expoets ca be calculated by dagoalzg A -- that s possble (!) Namely,

More information

C-1: Aerodynamics of Airfoils 1 C-2: Aerodynamics of Airfoils 2 C-3: Panel Methods C-4: Thin Airfoil Theory

C-1: Aerodynamics of Airfoils 1 C-2: Aerodynamics of Airfoils 2 C-3: Panel Methods C-4: Thin Airfoil Theory ROAD MAP... AE301 Aerodyamcs I UNIT C: 2-D Arfols C-1: Aerodyamcs of Arfols 1 C-2: Aerodyamcs of Arfols 2 C-3: Pael Methods C-4: Th Arfol Theory AE301 Aerodyamcs I Ut C-3: Lst of Subects Problem Solutos?

More information

5 Short Proofs of Simplified Stirling s Approximation

5 Short Proofs of Simplified Stirling s Approximation 5 Short Proofs of Smplfed Strlg s Approxmato Ofr Gorodetsky, drtymaths.wordpress.com Jue, 20 0 Itroducto Strlg s approxmato s the followg (somewhat surprsg) approxmato of the factoral,, usg elemetary fuctos:

More information

X X X E[ ] E X E X. is the ()m n where the ( i,)th. j element is the mean of the ( i,)th., then

X X X E[ ] E X E X. is the ()m n where the ( i,)th. j element is the mean of the ( i,)th., then Secto 5 Vectors of Radom Varables Whe workg wth several radom varables,,..., to arrage them vector form x, t s ofte coveet We ca the make use of matrx algebra to help us orgaze ad mapulate large umbers

More information

TESTS BASED ON MAXIMUM LIKELIHOOD

TESTS BASED ON MAXIMUM LIKELIHOOD ESE 5 Toy E. Smth. The Basc Example. TESTS BASED ON MAXIMUM LIKELIHOOD To llustrate the propertes of maxmum lkelhood estmates ad tests, we cosder the smplest possble case of estmatg the mea of the ormal

More information

PGE 310: Formulation and Solution in Geosystems Engineering. Dr. Balhoff. Interpolation

PGE 310: Formulation and Solution in Geosystems Engineering. Dr. Balhoff. Interpolation PGE 30: Formulato ad Soluto Geosystems Egeerg Dr. Balhoff Iterpolato Numercal Methods wth MATLAB, Recktewald, Chapter 0 ad Numercal Methods for Egeers, Chapra ad Caale, 5 th Ed., Part Fve, Chapter 8 ad

More information

Outline. Finite Difference Grids. Numerical Analysis. Finite Difference Grids II. Finite Difference Grids III

Outline. Finite Difference Grids. Numerical Analysis. Finite Difference Grids II. Finite Difference Grids III Itrodcto to Nmercl Alyss Mrc, 9 Nmercl Metods or PDEs Lrry Cretto Meccl Egeerg 5B Semr Egeerg Alyss Mrc, 9 Otle Revew mdterm soltos Revew bsc mterl o mercl clcls Expressos or dervtves, error d error order

More information

Chapter 3. Differentiation 3.3 Differentiation Rules

Chapter 3. Differentiation 3.3 Differentiation Rules 3.3 Dfferetato Rules 1 Capter 3. Dfferetato 3.3 Dfferetato Rules Dervatve of a Costat Fucto. If f as te costat value f(x) = c, te f x = [c] = 0. x Proof. From te efto: f (x) f(x + ) f(x) o c c 0 = 0. QED

More information

Chapter 2 - Free Vibration of Multi-Degree-of-Freedom Systems - II

Chapter 2 - Free Vibration of Multi-Degree-of-Freedom Systems - II CEE49b Chapter - Free Vbrato of Mult-Degree-of-Freedom Systems - II We ca obta a approxmate soluto to the fudametal atural frequecy through a approxmate formula developed usg eergy prcples by Lord Raylegh

More information

Overview of the weighting constants and the points where we evaluate the function for The Gaussian quadrature Project two

Overview of the weighting constants and the points where we evaluate the function for The Gaussian quadrature Project two Overvew of the weghtg costats ad the pots where we evaluate the fucto for The Gaussa quadrature Project two By Ashraf Marzouk ChE 505 Fall 005 Departmet of Mechacal Egeerg Uversty of Teessee Koxvlle, TN

More information

X ε ) = 0, or equivalently, lim

X ε ) = 0, or equivalently, lim Revew for the prevous lecture Cocepts: order statstcs Theorems: Dstrbutos of order statstcs Examples: How to get the dstrbuto of order statstcs Chapter 5 Propertes of a Radom Sample Secto 55 Covergece

More information

UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS

UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS UNIVERSITY OF OSLO DEPARTMENT OF ECONOMICS Postpoed exam: ECON430 Statstcs Date of exam: Jauary 0, 0 Tme for exam: 09:00 a.m. :00 oo The problem set covers 5 pages Resources allowed: All wrtte ad prted

More information

Taylor s Series and Interpolation. Interpolation & Curve-fitting. CIS Interpolation. Basic Scenario. Taylor Series interpolates at a specific

Taylor s Series and Interpolation. Interpolation & Curve-fitting. CIS Interpolation. Basic Scenario. Taylor Series interpolates at a specific CIS 54 - Iterpolato Roger Crawfs Basc Scearo We are able to prod some fucto, but do ot kow what t really s. Ths gves us a lst of data pots: [x,f ] f(x) f f + x x + August 2, 25 OSU/CIS 54 3 Taylor s Seres

More information

8.1 Hashing Algorithms

8.1 Hashing Algorithms CS787: Advaced Algorthms Scrbe: Mayak Maheshwar, Chrs Hrchs Lecturer: Shuch Chawla Topc: Hashg ad NP-Completeess Date: September 21 2007 Prevously we looked at applcatos of radomzed algorthms, ad bega

More information

best estimate (mean) for X uncertainty or error in the measurement (systematic, random or statistical) best

best estimate (mean) for X uncertainty or error in the measurement (systematic, random or statistical) best Error Aalyss Preamble Wheever a measuremet s made, the result followg from that measuremet s always subject to ucertaty The ucertaty ca be reduced by makg several measuremets of the same quatty or by mprovg

More information

Lecture 7. Confidence Intervals and Hypothesis Tests in the Simple CLR Model

Lecture 7. Confidence Intervals and Hypothesis Tests in the Simple CLR Model Lecture 7. Cofdece Itervals ad Hypothess Tests the Smple CLR Model I lecture 6 we troduced the Classcal Lear Regresso (CLR) model that s the radom expermet of whch the data Y,,, K, are the outcomes. The

More information

The conformations of linear polymers

The conformations of linear polymers The coformatos of lear polymers Marc R. Roussel Departmet of Chemstry ad Bochemstry Uversty of Lethbrdge February 19, 9 Polymer scece s a rch source of problems appled statstcs ad statstcal mechacs. I

More information

1 Review and Overview

1 Review and Overview CS9T/STATS3: Statstcal Learg Teory Lecturer: Tegyu Ma Lecture #7 Scrbe: Bra Zag October 5, 08 Revew ad Overvew We wll frst gve a bref revew of wat as bee covered so far I te frst few lectures, we stated

More information

Numerical Simulations of the Complex Modied Korteweg-de Vries Equation. Thiab R. Taha. The University of Georgia. Abstract

Numerical Simulations of the Complex Modied Korteweg-de Vries Equation. Thiab R. Taha. The University of Georgia. Abstract Numercal Smulatos of the Complex Moded Korteweg-de Vres Equato Thab R. Taha Computer Scece Departmet The Uversty of Georga Athes, GA 002 USA Tel 0-542-2911 e-mal thab@cs.uga.edu Abstract I ths paper mplemetatos

More information

Initial-Value Problems for ODEs. numerical errors (round-off and truncation errors) Consider a perturbed system: dz dt

Initial-Value Problems for ODEs. numerical errors (round-off and truncation errors) Consider a perturbed system: dz dt Ital-Value Problems or ODEs d GIVEN: t t,, a FIND: t or atb umercal errors (roud-o ad trucato errors) Cosder a perturbed sstem: dz t, z t, at b z a a Does z(t) (t)? () (uqueess) a uque soluto (t) exsts

More information

12.2 Estimating Model parameters Assumptions: ox and y are related according to the simple linear regression model

12.2 Estimating Model parameters Assumptions: ox and y are related according to the simple linear regression model 1. Estmatg Model parameters Assumptos: ox ad y are related accordg to the smple lear regresso model (The lear regresso model s the model that says that x ad y are related a lear fasho, but the observed

More information

Estimation of Stress- Strength Reliability model using finite mixture of exponential distributions

Estimation of Stress- Strength Reliability model using finite mixture of exponential distributions Iteratoal Joural of Computatoal Egeerg Research Vol, 0 Issue, Estmato of Stress- Stregth Relablty model usg fte mxture of expoetal dstrbutos K.Sadhya, T.S.Umamaheswar Departmet of Mathematcs, Lal Bhadur

More information

Evaluating Polynomials

Evaluating Polynomials Uverst of Nebraska - Lcol DgtalCommos@Uverst of Nebraska - Lcol MAT Exam Expostor Papers Math the Mddle Isttute Partershp 7-7 Evaluatg Polomals Thomas J. Harrgto Uverst of Nebraska-Lcol Follow ths ad addtoal

More information

Chapter 3. Differentiation 3.2 Differentiation Rules for Polynomials, Exponentials, Products and Quotients

Chapter 3. Differentiation 3.2 Differentiation Rules for Polynomials, Exponentials, Products and Quotients 3.2 Dfferetato Rules 1 Capter 3. Dfferetato 3.2 Dfferetato Rules for Polyomals, Expoetals, Proucts a Quotets Rule 1. Dervatve of a Costat Fucto. If f as te costat value f(x) = c, te f x = [c] = 0. x Proof.

More information

A Primer on Summation Notation George H Olson, Ph. D. Doctoral Program in Educational Leadership Appalachian State University Spring 2010

A Primer on Summation Notation George H Olson, Ph. D. Doctoral Program in Educational Leadership Appalachian State University Spring 2010 Summato Operator A Prmer o Summato otato George H Olso Ph D Doctoral Program Educatoal Leadershp Appalacha State Uversty Sprg 00 The summato operator ( ) {Greek letter captal sgma} s a structo to sum over

More information

{ }{ ( )} (, ) = ( ) ( ) ( ) Chapter 14 Exercises in Sampling Theory. Exercise 1 (Simple random sampling): Solution:

{ }{ ( )} (, ) = ( ) ( ) ( ) Chapter 14 Exercises in Sampling Theory. Exercise 1 (Simple random sampling): Solution: Chapter 4 Exercses Samplg Theory Exercse (Smple radom samplg: Let there be two correlated radom varables X ad A sample of sze s draw from a populato by smple radom samplg wthout replacemet The observed

More information

PTAS for Bin-Packing

PTAS for Bin-Packing CS 663: Patter Matchg Algorthms Scrbe: Che Jag /9/00. Itroducto PTAS for B-Packg The B-Packg problem s NP-hard. If we use approxmato algorthms, the B-Packg problem could be solved polyomal tme. For example,

More information

Third handout: On the Gini Index

Third handout: On the Gini Index Thrd hadout: O the dex Corrado, a tala statstca, proposed (, 9, 96) to measure absolute equalt va the mea dfferece whch s defed as ( / ) where refers to the total umber of dvduals socet. Assume that. The

More information

CHAPTER 3 POSTERIOR DISTRIBUTIONS

CHAPTER 3 POSTERIOR DISTRIBUTIONS CHAPTER 3 POSTERIOR DISTRIBUTIONS If scece caot measure the degree of probablt volved, so much the worse for scece. The practcal ma wll stck to hs apprecatve methods utl t does, or wll accept the results

More information

1 Onto functions and bijections Applications to Counting

1 Onto functions and bijections Applications to Counting 1 Oto fuctos ad bectos Applcatos to Coutg Now we move o to a ew topc. Defto 1.1 (Surecto. A fucto f : A B s sad to be surectve or oto f for each b B there s some a A so that f(a B. What are examples of

More information

Mean is only appropriate for interval or ratio scales, not ordinal or nominal.

Mean is only appropriate for interval or ratio scales, not ordinal or nominal. Mea Same as ordary average Sum all the data values ad dvde by the sample sze. x = ( x + x +... + x Usg summato otato, we wrte ths as x = x = x = = ) x Mea s oly approprate for terval or rato scales, ot

More information

2.28 The Wall Street Journal is probably referring to the average number of cubes used per glass measured for some population that they have chosen.

2.28 The Wall Street Journal is probably referring to the average number of cubes used per glass measured for some population that they have chosen. .5 x 54.5 a. x 7. 786 7 b. The raked observatos are: 7.4, 7.5, 7.7, 7.8, 7.9, 8.0, 8.. Sce the sample sze 7 s odd, the meda s the (+)/ 4 th raked observato, or meda 7.8 c. The cosumer would more lkely

More information

Lecture 3 Probability review (cont d)

Lecture 3 Probability review (cont d) STATS 00: Itroducto to Statstcal Iferece Autum 06 Lecture 3 Probablty revew (cot d) 3. Jot dstrbutos If radom varables X,..., X k are depedet, the ther dstrbuto may be specfed by specfyg the dvdual dstrbuto

More information

Laboratory I.10 It All Adds Up

Laboratory I.10 It All Adds Up Laboratory I. It All Adds Up Goals The studet wll work wth Rema sums ad evaluate them usg Derve. The studet wll see applcatos of tegrals as accumulatos of chages. The studet wll revew curve fttg sklls.

More information

Investigation of Partially Conditional RP Model with Response Error. Ed Stanek

Investigation of Partially Conditional RP Model with Response Error. Ed Stanek Partally Codtoal Radom Permutato Model 7- vestgato of Partally Codtoal RP Model wth Respose Error TRODUCTO Ed Staek We explore the predctor that wll result a smple radom sample wth respose error whe a

More information

Solving Constrained Flow-Shop Scheduling. Problems with Three Machines

Solving Constrained Flow-Shop Scheduling. Problems with Three Machines It J Cotemp Math Sceces, Vol 5, 2010, o 19, 921-929 Solvg Costraed Flow-Shop Schedulg Problems wth Three Maches P Pada ad P Rajedra Departmet of Mathematcs, School of Advaced Sceces, VIT Uversty, Vellore-632

More information

d dt d d dt dt Also recall that by Taylor series, / 2 (enables use of sin instead of cos-see p.27 of A&F) dsin

d dt d d dt dt Also recall that by Taylor series, / 2 (enables use of sin instead of cos-see p.27 of A&F) dsin Learzato of the Swg Equato We wll cover sectos.5.-.6 ad begg of Secto 3.3 these otes. 1. Sgle mache-fte bus case Cosder a sgle mache coected to a fte bus, as show Fg. 1 below. E y1 V=1./_ Fg. 1 The admttace

More information

Chapter -2 Simple Random Sampling

Chapter -2 Simple Random Sampling Chapter - Smple Radom Samplg Smple radom samplg (SRS) s a method of selecto of a sample comprsg of umber of samplg uts out of the populato havg umber of samplg uts such that every samplg ut has a equal

More information

Parameter, Statistic and Random Samples

Parameter, Statistic and Random Samples Parameter, Statstc ad Radom Samples A parameter s a umber that descrbes the populato. It s a fxed umber, but practce we do ot kow ts value. A statstc s a fucto of the sample data,.e., t s a quatty whose

More information

Johns Hopkins University Department of Biostatistics Math Review for Introductory Courses

Johns Hopkins University Department of Biostatistics Math Review for Introductory Courses Johs Hopks Uverst Departmet of Bostatstcs Math Revew for Itroductor Courses Ratoale Bostatstcs courses wll rel o some fudametal mathematcal relatoshps, fuctos ad otato. The purpose of ths Math Revew s

More information

Lecture 9: Tolerant Testing

Lecture 9: Tolerant Testing Lecture 9: Tolerat Testg Dael Kae Scrbe: Sakeerth Rao Aprl 4, 07 Abstract I ths lecture we prove a quas lear lower boud o the umber of samples eeded to do tolerat testg for L dstace. Tolerat Testg We have

More information

CHAPTER VI Statistical Analysis of Experimental Data

CHAPTER VI Statistical Analysis of Experimental Data Chapter VI Statstcal Aalyss of Expermetal Data CHAPTER VI Statstcal Aalyss of Expermetal Data Measuremets do ot lead to a uque value. Ths s a result of the multtude of errors (maly radom errors) that ca

More information

ENGI 4430 Numerical Integration Page 5-01

ENGI 4430 Numerical Integration Page 5-01 ENGI 443 Numercal Itegrato Page 5-5. Numercal Itegrato I some o our prevous work, (most otaly the evaluato o arc legth), t has ee dcult or mpossle to d the dete tegral. Varous symolc algera ad calculus

More information

ECE606: Solid State Devices Lecture 13 Solutions of the Continuity Eqs. Analytical & Numerical

ECE606: Solid State Devices Lecture 13 Solutions of the Continuity Eqs. Analytical & Numerical ECE66: Sold State Devces Lecture 13 Solutos of the Cotuty Eqs. Aalytcal & Numercal Gerhard Klmeck gekco@purdue.edu Outle Aalytcal Solutos to the Cotuty Equatos 1) Example problems ) Summary Numercal Solutos

More information

Introduction to local (nonparametric) density estimation. methods

Introduction to local (nonparametric) density estimation. methods Itroducto to local (oparametrc) desty estmato methods A slecture by Yu Lu for ECE 66 Sprg 014 1. Itroducto Ths slecture troduces two local desty estmato methods whch are Parze desty estmato ad k-earest

More information

Lecture Note to Rice Chapter 8

Lecture Note to Rice Chapter 8 ECON 430 HG revsed Nov 06 Lecture Note to Rce Chapter 8 Radom matrces Let Y, =,,, m, =,,, be radom varables (r.v. s). The matrx Y Y Y Y Y Y Y Y Y Y = m m m s called a radom matrx ( wth a ot m-dmesoal dstrbuto,

More information

Multivariate Transformation of Variables and Maximum Likelihood Estimation

Multivariate Transformation of Variables and Maximum Likelihood Estimation Marquette Uversty Multvarate Trasformato of Varables ad Maxmum Lkelhood Estmato Dael B. Rowe, Ph.D. Assocate Professor Departmet of Mathematcs, Statstcs, ad Computer Scece Copyrght 03 by Marquette Uversty

More information

Simple Linear Regression

Simple Linear Regression Correlato ad Smple Lear Regresso Berl Che Departmet of Computer Scece & Iformato Egeerg Natoal Tawa Normal Uversty Referece:. W. Navd. Statstcs for Egeerg ad Scetsts. Chapter 7 (7.-7.3) & Teachg Materal

More information

Part 4b Asymptotic Results for MRR2 using PRESS. Recall that the PRESS statistic is a special type of cross validation procedure (see Allen (1971))

Part 4b Asymptotic Results for MRR2 using PRESS. Recall that the PRESS statistic is a special type of cross validation procedure (see Allen (1971)) art 4b Asymptotc Results for MRR usg RESS Recall that the RESS statstc s a specal type of cross valdato procedure (see Alle (97)) partcular to the regresso problem ad volves fdg Y $,, the estmate at the

More information

n -dimensional vectors follow naturally from the one

n -dimensional vectors follow naturally from the one B. Vectors ad sets B. Vectors Ecoomsts study ecoomc pheomea by buldg hghly stylzed models. Uderstadg ad makg use of almost all such models requres a hgh comfort level wth some key mathematcal sklls. I

More information

Assignment 5/MATH 247/Winter Due: Friday, February 19 in class (!) (answers will be posted right after class)

Assignment 5/MATH 247/Winter Due: Friday, February 19 in class (!) (answers will be posted right after class) Assgmet 5/MATH 7/Wter 00 Due: Frday, February 9 class (!) (aswers wll be posted rght after class) As usual, there are peces of text, before the questos [], [], themselves. Recall: For the quadratc form

More information

Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand DIS 10b

Discrete Mathematics and Probability Theory Fall 2016 Seshia and Walrand DIS 10b CS 70 Dscrete Mathematcs ad Probablty Theory Fall 206 Sesha ad Walrad DIS 0b. Wll I Get My Package? Seaky delvery guy of some compay s out delverg packages to customers. Not oly does he had a radom package

More information

Chapter Business Statistics: A First Course Fifth Edition. Learning Objectives. Correlation vs. Regression. In this chapter, you learn:

Chapter Business Statistics: A First Course Fifth Edition. Learning Objectives. Correlation vs. Regression. In this chapter, you learn: Chapter 3 3- Busess Statstcs: A Frst Course Ffth Edto Chapter 2 Correlato ad Smple Lear Regresso Busess Statstcs: A Frst Course, 5e 29 Pretce-Hall, Ic. Chap 2- Learg Objectves I ths chapter, you lear:

More information

Lecture 02: Bounding tail distributions of a random variable

Lecture 02: Bounding tail distributions of a random variable CSCI-B609: A Theorst s Toolkt, Fall 206 Aug 25 Lecture 02: Boudg tal dstrbutos of a radom varable Lecturer: Yua Zhou Scrbe: Yua Xe & Yua Zhou Let us cosder the ubased co flps aga. I.e. let the outcome

More information

CS286.2 Lecture 4: Dinur s Proof of the PCP Theorem

CS286.2 Lecture 4: Dinur s Proof of the PCP Theorem CS86. Lecture 4: Dur s Proof of the PCP Theorem Scrbe: Thom Bohdaowcz Prevously, we have prove a weak verso of the PCP theorem: NP PCP 1,1/ (r = poly, q = O(1)). Wth ths result we have the desred costat

More information

Johns Hopkins University Department of Biostatistics Math Review for Introductory Courses

Johns Hopkins University Department of Biostatistics Math Review for Introductory Courses Johs Hopks Uverst Departmet of Bostatstcs Math Revew for Itroductor Courses Ratoale Bostatstcs courses wll rel o some fudametal mathematcal relatoshps, fuctos ad otato. The purpose of ths Math Revew s

More information

STK4011 and STK9011 Autumn 2016

STK4011 and STK9011 Autumn 2016 STK4 ad STK9 Autum 6 Pot estmato Covers (most of the followg materal from chapter 7: Secto 7.: pages 3-3 Secto 7..: pages 3-33 Secto 7..: pages 35-3 Secto 7..3: pages 34-35 Secto 7.3.: pages 33-33 Secto

More information

16 Homework lecture 16

16 Homework lecture 16 Quees College, CUNY, Departmet of Computer Scece Numercal Methods CSCI 361 / 761 Fall 2018 Istructor: Dr. Sateesh Mae c Sateesh R. Mae 2018 16 Homework lecture 16 Please emal your soluto, as a fle attachmet,

More information

Lecture Notes Forecasting the process of estimating or predicting unknown situations

Lecture Notes Forecasting the process of estimating or predicting unknown situations Lecture Notes. Ecoomc Forecastg. Forecastg the process of estmatg or predctg ukow stuatos Eample usuall ecoomsts predct future ecoomc varables Forecastg apples to a varet of data () tme seres data predctg

More information

MA/CSSE 473 Day 27. Dynamic programming

MA/CSSE 473 Day 27. Dynamic programming MA/CSSE 473 Day 7 Dyamc Programmg Bomal Coeffcets Warshall's algorthm (Optmal BSTs) Studet questos? Dyamc programmg Used for problems wth recursve solutos ad overlappg subproblems Typcally, we save (memoze)

More information

Differential Entropy 吳家麟教授

Differential Entropy 吳家麟教授 Deretl Etropy 吳家麟教授 Deto Let be rdom vrble wt cumultve dstrbuto ucto I F s cotuous te r.v. s sd to be cotuous. Let = F we te dervtve s deed. I te s clled te pd or. Te set were > 0 s clled te support set

More information

Summary of the lecture in Biostatistics

Summary of the lecture in Biostatistics Summary of the lecture Bostatstcs Probablty Desty Fucto For a cotuos radom varable, a probablty desty fucto s a fucto such that: 0 dx a b) b a dx A probablty desty fucto provdes a smple descrpto of the

More information

Objectives of Multiple Regression

Objectives of Multiple Regression Obectves of Multple Regresso Establsh the lear equato that best predcts values of a depedet varable Y usg more tha oe eplaator varable from a large set of potetal predctors {,,... k }. Fd that subset of

More information

Lecture Notes Types of economic variables

Lecture Notes Types of economic variables Lecture Notes 3 1. Types of ecoomc varables () Cotuous varable takes o a cotuum the sample space, such as all pots o a le or all real umbers Example: GDP, Polluto cocetrato, etc. () Dscrete varables fte

More information