XGFIT s Curve Fitting Algorithm with GSL

Size: px
Start display at page:

Download "XGFIT s Curve Fitting Algorithm with GSL"

Transcription

1 XGFIT s Curv Fitti Alorithm ith GSL Ovrvi XGFIT is a GTK+ aliatio that taks as iut a st o (, y) oits, rodus a li rah, ad rorms a aussia it o th data. XGFIT uss th GNU Sitii Lirary (GSL) to rorm th urv it. GSL may doloadd rly via RdHat at htt://sours.rdhat.om/sl. This doumt dsris th aussia quatio, th us o GSL to rorm th urv it, ad doumts th mathmatial ork do to dvlo th od. Curv Fitti Imlmtatio As mtiod aov, th urv itti is o imlmtd usi GSL. Th utio ar itti is ( ) +, hr,, ad rrst th as, ak, tr ad idth o, rstivly. Th atual task rormd y th urv itti alorithm is to id valus or th 4 aramtrs. Th thiqu usd to imlmt th it is th Lvr-Marquardt Mthod. I ordr to rorm th it, GSL rquirs that th rorammr suly thr rodurs:. A utio that ill alulat ad stor () or ah iv valu o.. A utio that ill alulat ad stor () or ah iv valu o. Not that aus ar dali ith a utio o 4 aramtrs, is a vtor utio ad () is th vtor drivativ o. 3. A utio that ill ivok () ad () ith th aroriat aramtrs. Produrs ad 3 ar rlativly asy to udrstad. Hovr, rodur ivolvs advad alulus ad is laid i dtail rstly. Fidi th drivativ o Th drivativ o a vtor v is alulatd y taki artial drivativs ith rst to ah omot i v. I our as, this ivolvs 4 artial drivativs, o ah or,,, ad. I hav data oits, ostrut a 4 matri ad ill ah ro ith th orrsodi artial drivativs o i. This 4 matri is th Jaoia matri o. Th artial drivativs ar rrstd as

2 ,,, ad. Th irst artial drivativ aov is rad th artial drivativ o ith rst to. Th rmaii thr artial drivativs ar rad i a similar ashio. Calulati a artial drivativ is ot muh dirt rom alulati a ormal drivativ. Eah aramtr, t th o i dirtiatd aaist, is tratd lik a ostat. Normal dirtiatio ruls th aly. Th artial drivativ o ith rst to is sho lo. Not that si trat as th oly varial aramtr, th omliatd sod trm alls o omltly. + Nt, s th artial drivativ o ith rst to. This alulatio is oly slihtly mor omliatd tha th rvious o. Baus it is ot rlatd to, th trm disaars omltly. Also, i lt r, ar lt ith r, hih dirtiats to r. + No this i to t a it mor omliatd. Fidi th drivativ ith rst to ivolvs usi th hai rul. Rall that th hai rul ivs us a ay o alulati th drivativ o a omosit utio, F, suh that Hr, lt ( ) '( ) '( ( ) ) ' ( ) F '( ) o. F, ()

3 hih a rok ito th omots ( ) ad (). Noti that () () ( ) F. No, alulat () ad () i ordr to aly th hai rul. For, may i dirtiati immdiatly. () d ' Bor dirtiati, hovr, lt s mak it look mor lik a olyomial. () ( ) + No, a s that ( ) ( ) ' + d. No that hav oth ad, a aly th hai rul. () ( ) ( ) ' ' '

4 At this oit, hav th drivativ o F. Nt, must rmmr to multily this drivativ y i ordr to id th artial drivativ o our oriial ith rst to. Thus, Calulati th artial drivativ o ith rst to is vry similar, ad atr a it o ork arriv at ( ) 3 Poulati th Jaoia Matri No that hav alulatd all our artial drivativs, ill al to oulat our 4 Jaoia matri. ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) I th atual imlmtatio, divid ah lmt o th Jaoia matri y a sima i valu. Iitially, ah valu o sima is st to 0.. Usi FitGSL FitGSL is a utility ratd to rmov th omlity o GSL rom th rorammr. Th olloi aml dmostrats th us o FitGSL.

5 #ilud "itsl.h" #di N_DATA 5 it mai(it ar, har *arv[]) itsl_data *d; it i, r; loat [4]; d itsl_allo_data(n_data); or( i 0; i < N_DATA / ; i++ ) d->t[i]. i; d->t[i].y (loat)(i + ((rad() % 5) - )); } or( i N_DATA / ; i < N_DATA; i++ ) d->t[i]. i; d->t[i].y (loat)((n_data - i) + ((rad() % 5) - )); } r itsl_lm(d,, 0); itsl_r_data(d); rit("\"); rit(" %, ", [B_INDEX]); rit(" %, ", [P_INDEX]); rit(" %, ", [C_INDEX]); rit(" %\\", [W_INDEX]); } rtur EXIT_SUCCESS; First, alloat a ista o a itls_data strutur that ill hold N_DATA data oits. Nt, rod to oulat th strutur ith (, y) valus. Normally, ths valus ould om rom a il or som kid o maiul alulatio. Fially, ivok th it usi th itsl_lm() utio, ad outut th alulatd valus. Not: For a rr o th utios ad tys did y FitGSL, las s Adi A. Th outut rom th rdi roram should 0.588,.86546,.47790, I you ould lik to uild th saml aliatio, sur to lik ith th olloi las: -lsl -lsllas lm Also, sur that GSL is istalld o your systm ad that you hav a oy o th FitGSL modul.

6 A itrsti oit to ot is that th urv it i this as aild. Hovr, rui XGFIT ith th sam data shos that th alulatd valus do it th urv rlativly ll. S Fiur lo. Fiur : A usal it, v o ailur O ours, it s u to th usr to did hthr or ot to us th alulatd valus i th it ails.

7 Adi A: FitGSL Rr Data Tys itsl_oitd - A to-dimsioal oit o th Cartsia lai ith loatioit omots. tyd strut _itsl_oitd loat ; loat y; }itsl_oitd; itsl_data Stors th data that ill it y FitGSL. tyd strut _itsl_data it ; itsl_oitd *t; }itsl_data; S Also: itsl_allo_data(), itsl_r_data() Futios it itsl_lm(ost itsl_data *dat, loat *rsults, it vros); Fid,, ad asd o th data sulid i dat. Th rsults ar stord i rsults, hih is a 4-lmt array o loats. Us th maros B_INDEX, P_INDEX, C_INDEX, ad W_INDEX (did i itsl.h) to t at th idividual omots. Th vros la should st to 0 to surss vros status outut. itsl_data *itsl_allo_data(it ); Alloats a itsl_data strutur ith suiit stora or data oits. void itsl_r_data(itsl_data *dat); Frs a itsl_data strutur. loat itsl_(loat, loat, loat, loat, loat ); Ivok (), usi th siid valus or,,, ad. Usul or rahially omari th urv it to th iut data oits.

Worksheet: Taylor Series, Lagrange Error Bound ilearnmath.net

Worksheet: Taylor Series, Lagrange Error Bound ilearnmath.net Taylor s Thorm & Lagrag Error Bouds Actual Error This is th ral amout o rror, ot th rror boud (worst cas scario). It is th dirc btw th actual () ad th polyomial. Stps:. Plug -valu ito () to gt a valu.

More information

Causes of deadlocks. Four necessary conditions for deadlock to occur are: The first three properties are generally desirable

Causes of deadlocks. Four necessary conditions for deadlock to occur are: The first three properties are generally desirable auss of dadloks Four ssary oditios for dadlok to our ar: Exlusiv ass: prosss rquir xlusiv ass to a rsour Wait whil hold: prosss hold o prviously aquird rsours whil waitig for additioal rsours No prmptio:

More information

Bayesian Economic Cost Plans II. The Average Outgoing Quality

Bayesian Economic Cost Plans II. The Average Outgoing Quality Eltro. J. Math. Phs. Si. 22 Sm. 1 9-15 Eltroi Joural of Mathmatial ad Phsial Sis EJMAPS ISS: 1538-3318 www.jmas.or Basia Eoomi Cost Plas II. Th Avra Outoi Qualit Abraham F. Jalbout 1*$ Hadi Y. Alkahb 2

More information

Chapter Taylor Theorem Revisited

Chapter Taylor Theorem Revisited Captr 0.07 Taylor Torm Rvisitd Atr radig tis captr, you sould b abl to. udrstad t basics o Taylor s torm,. writ trascdtal ad trigoomtric uctios as Taylor s polyomial,. us Taylor s torm to id t valus o

More information

Chapter Five. More Dimensions. is simply the set of all ordered n-tuples of real numbers x = ( x 1

Chapter Five. More Dimensions. is simply the set of all ordered n-tuples of real numbers x = ( x 1 Chatr Fiv Mor Dimsios 51 Th Sac R W ar ow rard to mov o to sacs of dimsio gratr tha thr Ths sacs ar a straightforward gralizatio of our Euclida sac of thr dimsios Lt b a ositiv itgr Th -dimsioal Euclida

More information

Unit 6: Solving Exponential Equations and More

Unit 6: Solving Exponential Equations and More Habrman MTH 111 Sction II: Eonntial and Logarithmic Functions Unit 6: Solving Eonntial Equations and Mor EXAMPLE: Solv th quation 10 100 for. Obtain an act solution. This quation is so asy to solv that

More information

Pipe flow friction, small vs. big pipes

Pipe flow friction, small vs. big pipes Friction actor (t/0 t o pip) Friction small vs larg pips J. Chaurtt May 016 It is an intrsting act that riction is highr in small pips than largr pips or th sam vlocity o low and th sam lngth. Friction

More information

First derivative analysis

First derivative analysis Robrto s Nots on Dirntial Calculus Chaptr 8: Graphical analysis Sction First drivativ analysis What you nd to know alrady: How to us drivativs to idntiy th critical valus o a unction and its trm points

More information

Ordinary Differential Equations

Ordinary Differential Equations Basi Nomlatur MAE 0 all 005 Egirig Aalsis Ltur Nots o: Ordiar Diffrtial Equatios Author: Profssor Albrt Y. Tog Tpist: Sakurako Takahashi Cosidr a gral O. D. E. with t as th idpdt variabl, ad th dpdt variabl.

More information

u x v x dx u x v x v x u x dx d u x v x u x v x dx u x v x dx Integration by Parts Formula

u x v x dx u x v x v x u x dx d u x v x u x v x dx u x v x dx Integration by Parts Formula 7. Intgration by Parts Each drivativ formula givs ris to a corrsponding intgral formula, as w v sn many tims. Th drivativ product rul yilds a vry usful intgration tchniqu calld intgration by parts. Starting

More information

Physics 302 Exam Find the curve that passes through endpoints (0,0) and (1,1) and minimizes 1

Physics 302 Exam Find the curve that passes through endpoints (0,0) and (1,1) and minimizes 1 Physis Exam 6. Fid th urv that passs through dpoits (, ad (, ad miimizs J [ y' y ]dx Solutio: Si th itgrad f dos ot dpd upo th variabl of itgratio x, w will us th sod form of Eulr s quatio: f f y' y' y

More information

How many neutrino species?

How many neutrino species? ow may utrio scis? Two mthods for dtrmii it lium abudac i uivrs At a collidr umbr of utrio scis Exasio of th uivrs is ovrd by th Fridma quatio R R 8G tot Kc R Whr: :ubblcostat G :Gravitatioal costat 6.

More information

Section 11.6: Directional Derivatives and the Gradient Vector

Section 11.6: Directional Derivatives and the Gradient Vector Sction.6: Dirctional Drivativs and th Gradint Vctor Practic HW rom Stwart Ttbook not to hand in p. 778 # -4 p. 799 # 4-5 7 9 9 35 37 odd Th Dirctional Drivativ Rcall that a b Slop o th tangnt lin to th

More information

POSTERIOR ESTIMATES OF TWO PARAMETER EXPONENTIAL DISTRIBUTION USING S-PLUS SOFTWARE

POSTERIOR ESTIMATES OF TWO PARAMETER EXPONENTIAL DISTRIBUTION USING S-PLUS SOFTWARE Joural of Rliabilit ad tatistial tudis [IN: 0974-804 Prit 9-5666 Oli] Vol. 3 Issu 00:7-34 POTERIOR ETIMATE OF TWO PARAMETER EXPONENTIAL DITRIBUTION UING -PLU OFTWARE.P. Ahmad ad Bilal Ahmad Bhat. Dartmt

More information

A Review of Complex Arithmetic

A Review of Complex Arithmetic /0/005 Rviw of omplx Arithmti.do /9 A Rviw of omplx Arithmti A omplx valu has both a ral ad imagiary ompot: { } ad Im{ } a R b so that w a xprss this omplx valu as: whr. a + b Just as a ral valu a b xprssd

More information

Lectures 9 IIR Systems: First Order System

Lectures 9 IIR Systems: First Order System EE3054 Sigals ad Systms Lcturs 9 IIR Systms: First Ordr Systm Yao Wag Polytchic Uivrsity Som slids icludd ar xtractd from lctur prstatios prpard by McCllla ad Schafr Lics Ifo for SPFirst Slids This work

More information

Further Results on Pair Sum Graphs

Further Results on Pair Sum Graphs Applid Mathmatis, 0,, 67-75 http://dx.doi.org/0.46/am.0.04 Publishd Oli Marh 0 (http://www.sirp.org/joural/am) Furthr Rsults o Pair Sum Graphs Raja Poraj, Jyaraj Vijaya Xavir Parthipa, Rukhmoi Kala Dpartmt

More information

Lectures 2 & 3 - Population ecology mathematics refresher

Lectures 2 & 3 - Population ecology mathematics refresher Lcturs & - Poultio cology mthmtics rrshr To s th mov ito vloig oultio mols, th olloig mthmtics crisht is suli I i out r mthmtics ttook! Eots logrithms i i q q q q q q ( tims) / c c c c ) ( ) ( Clculus

More information

07 - SEQUENCES AND SERIES Page 1 ( Answers at he end of all questions ) b, z = n

07 - SEQUENCES AND SERIES Page 1 ( Answers at he end of all questions ) b, z = n 07 - SEQUENCES AND SERIES Pag ( Aswrs at h d of all qustios ) ( ) If = a, y = b, z = c, whr a, b, c ar i A.P. ad = 0 = 0 = 0 l a l

More information

NEW APPLICATIONS OF THE ABEL-LIOUVILLE FORMULA

NEW APPLICATIONS OF THE ABEL-LIOUVILLE FORMULA NE APPLICATIONS OF THE ABEL-LIOUVILLE FORMULA Mirca I CÎRNU Ph Dp o Mathmatics III Faculty o Applid Scincs Univrsity Polithnica o Bucharst Cirnumirca @yahoocom Abstract In a rcnt papr [] 5 th indinit intgrals

More information

Evans, Lipson, Wallace, Greenwood

Evans, Lipson, Wallace, Greenwood Camrig Snior Mathmatial Mthos AC/VCE Units 1& Chaptr Quaratis: Skillsht C 1 Solv ah o th ollowing or x: a (x )(x + 1) = 0 x(5x 1) = 0 x(1 x) = 0 x = 9x Solv ah o th ollowing or x: a x + x 10 = 0 x 8x +

More information

Lecture 14 (Oct. 30, 2017)

Lecture 14 (Oct. 30, 2017) Ltur 14 8.31 Quantum Thory I, Fall 017 69 Ltur 14 (Ot. 30, 017) 14.1 Magnti Monopols Last tim, w onsidrd a magnti fild with a magnti monopol onfiguration, and bgan to approah dsribing th quantum mhanis

More information

Chapter 2 Infinite Series Page 1 of 11. Chapter 2 : Infinite Series

Chapter 2 Infinite Series Page 1 of 11. Chapter 2 : Infinite Series Chatr Ifiit Sris Pag of Sctio F Itgral Tst Chatr : Ifiit Sris By th d of this sctio you will b abl to valuat imror itgrals tst a sris for covrgc by alyig th itgral tst aly th itgral tst to rov th -sris

More information

DEPARTMENT OF MATHEMATICS BIT, MESRA, RANCHI MA2201 Advanced Engg. Mathematics Session: SP/ 2017

DEPARTMENT OF MATHEMATICS BIT, MESRA, RANCHI MA2201 Advanced Engg. Mathematics Session: SP/ 2017 DEARMEN OF MAEMAICS BI, MESRA, RANCI MA Advad Egg. Mathatis Sssio: S/ 7 MODULE I. Cosidr th two futios f utorial Sht No. -- ad g o th itrval [,] a Show that thir Wroskia W f, g vaishs idtially. b Show

More information

INTEGRATION BY PARTS

INTEGRATION BY PARTS Mathmatics Rvision Guids Intgration by Parts Pag of 7 MK HOME TUITION Mathmatics Rvision Guids Lvl: AS / A Lvl AQA : C Edcl: C OCR: C OCR MEI: C INTEGRATION BY PARTS Vrsion : Dat: --5 Eampls - 6 ar copyrightd

More information

Solution to 1223 The Evil Warden.

Solution to 1223 The Evil Warden. Solutio to 1 Th Evil Ward. This is o of thos vry rar PoWs (I caot thik of aothr cas) that o o solvd. About 10 of you submittd th basic approach, which givs a probability of 47%. I was shockd wh I foud

More information

(Reference: sections in Silberberg 5 th ed.)

(Reference: sections in Silberberg 5 th ed.) ALE. Atomic Structur Nam HEM K. Marr Tam No. Sctio What is a atom? What is th structur of a atom? Th Modl th structur of a atom (Rfrc: sctios.4 -. i Silbrbrg 5 th d.) Th subatomic articls that chmists

More information

The Matrix Exponential

The Matrix Exponential Th Matrix Exponntial (with xrciss) by Dan Klain Vrsion 28928 Corrctions and commnts ar wlcom Th Matrix Exponntial For ach n n complx matrix A, dfin th xponntial of A to b th matrix () A A k I + A + k!

More information

nd the particular orthogonal trajectory from the family of orthogonal trajectories passing through point (0; 1).

nd the particular orthogonal trajectory from the family of orthogonal trajectories passing through point (0; 1). Eamn EDO. Givn th family of curvs y + C nd th particular orthogonal trajctory from th family of orthogonal trajctoris passing through point (0; ). Solution: In th rst plac, lt us calculat th di rntial

More information

Higher order derivatives

Higher order derivatives Robrto s Nots on Diffrntial Calculus Chaptr 4: Basic diffrntiation ruls Sction 7 Highr ordr drivativs What you nd to know alrady: Basic diffrntiation ruls. What you can larn hr: How to rpat th procss of

More information

Allowable bearing capacity and settlement Vertical stress increase in soil

Allowable bearing capacity and settlement Vertical stress increase in soil 5 Allwabl barg aaity and ttlmnt Vrtial tr ra il - du t nntratd lad: 3 5 r r x y - du t irularly ladd ara lad:. G t tabl 5..6 Fd / by dtrmg th trm: r/(/) /(/) 3- blw rtangular ladd ara: th t i at th rnr

More information

1 Introduction to Modulo 7 Arithmetic

1 Introduction to Modulo 7 Arithmetic 1 Introution to Moulo 7 Arithmti Bor w try our hn t solvin som hr Moulr KnKns, lt s tk los look t on moulr rithmti, mo 7 rithmti. You ll s in this sminr tht rithmti moulo prim is quit irnt rom th ons w

More information

Economics 201b Spring 2010 Solutions to Problem Set 3 John Zhu

Economics 201b Spring 2010 Solutions to Problem Set 3 John Zhu Economics 20b Spring 200 Solutions to Problm St 3 John Zhu. Not in th 200 vrsion of Profssor Andrson s ctur 4 Nots, th charactrization of th firm in a Robinson Cruso conomy is that it maximizs profit ovr

More information

(2) If we multiplied a row of B by λ, then the value is also multiplied by λ(here lambda could be 0). namely

(2) If we multiplied a row of B by λ, then the value is also multiplied by λ(here lambda could be 0). namely . DETERMINANT.. Dtrminnt. Introution:I you think row vtor o mtrix s oorint o vtors in sp, thn th gomtri mning o th rnk o th mtrix is th imnsion o th prlllppi spnn y thm. But w r not only r out th imnsion,

More information

y = 2xe x + x 2 e x at (0, 3). solution: Since y is implicitly related to x we have to use implicit differentiation: 3 6y = 0 y = 1 2 x ln(b) ln(b)

y = 2xe x + x 2 e x at (0, 3). solution: Since y is implicitly related to x we have to use implicit differentiation: 3 6y = 0 y = 1 2 x ln(b) ln(b) 4. y = y = + 5. Find th quation of th tangnt lin for th function y = ( + ) 3 whn = 0. solution: First not that whn = 0, y = (1 + 1) 3 = 8, so th lin gos through (0, 8) and thrfor its y-intrcpt is 8. y

More information

Class #25 Wednesday, April 19, 2018

Class #25 Wednesday, April 19, 2018 Cla # Wedesday, April 9, 8 PDE: More Heat Equatio with Derivative Boudary Coditios Let s do aother heat equatio problem similar to the previous oe. For this oe, I ll use a square plate (N = ), but I m

More information

EEO 401 Digital Signal Processing Prof. Mark Fowler

EEO 401 Digital Signal Processing Prof. Mark Fowler EEO 401 Digital Signal Procssing Prof. Mark Fowlr Dtails of th ot St #19 Rading Assignmnt: Sct. 7.1.2, 7.1.3, & 7.2 of Proakis & Manolakis Dfinition of th So Givn signal data points x[n] for n = 0,, -1

More information

The Matrix Exponential

The Matrix Exponential Th Matrix Exponntial (with xrciss) by D. Klain Vrsion 207.0.05 Corrctions and commnts ar wlcom. Th Matrix Exponntial For ach n n complx matrix A, dfin th xponntial of A to b th matrix A A k I + A + k!

More information

1985 AP Calculus BC: Section I

1985 AP Calculus BC: Section I 985 AP Calculus BC: Sctio I 9 Miuts No Calculator Nots: () I this amiatio, l dots th atural logarithm of (that is, logarithm to th bas ). () Ulss othrwis spcifid, th domai of a fuctio f is assumd to b

More information

3 2x. 3x 2. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

3 2x. 3x 2.   Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB Math B Intgration Rviw (Solutions) Do ths intgrals. Solutions ar postd at th wbsit blow. If you hav troubl with thm, sk hlp immdiatly! () 8 d () 5 d () d () sin d (5) d (6) cos d (7) d www.clas.ucsb.du/staff/vinc

More information

ENGR 323 BHW 15 Van Bonn 1/7

ENGR 323 BHW 15 Van Bonn 1/7 ENGR 33 BHW 5 Van Bonn /7 4.4 In Eriss and 3 as wll as man othr situations on has th PDF o X and wishs th PDF o Yh. Assum that h is an invrtibl untion so that h an b solvd or to ild. Thn it an b shown

More information

Iterative Methods of Order Four for Solving Nonlinear Equations

Iterative Methods of Order Four for Solving Nonlinear Equations Itrativ Mods of Ordr Four for Solvig Noliar Equatios V.B. Kumar,Vatti, Shouri Domii ad Mouia,V Dpartmt of Egirig Mamatis, Formr Studt of Chmial Egirig Adhra Uivrsity Collg of Egirig A, Adhra Uivrsity Visakhapatam

More information

MA1506 Tutorial 2 Solutions. Question 1. (1a) 1 ) y x. e x. 1 exp (in general, Integrating factor is. ye dx. So ) (1b) e e. e c.

MA1506 Tutorial 2 Solutions. Question 1. (1a) 1 ) y x. e x. 1 exp (in general, Integrating factor is. ye dx. So ) (1b) e e. e c. MA56 utorial Solutions Qustion a Intgrating fator is ln p p in gnral, multipl b p So b ln p p sin his kin is all a Brnoulli quation -- st Sin w fin Y, Y Y, Y Y p Qustion Dfin v / hn our quation is v μ

More information

3.4 Properties of the Stress Tensor

3.4 Properties of the Stress Tensor cto.4.4 Proprts of th trss sor.4. trss rasformato Lt th compots of th Cauchy strss tsor a coordat systm wth bas vctors b. h compots a scod coordat systm wth bas vctors j,, ar gv by th tsor trasformato

More information

u r du = ur+1 r + 1 du = ln u + C u sin u du = cos u + C cos u du = sin u + C sec u tan u du = sec u + C e u du = e u + C

u r du = ur+1 r + 1 du = ln u + C u sin u du = cos u + C cos u du = sin u + C sec u tan u du = sec u + C e u du = e u + C Tchniqus of Intgration c Donald Kridr and Dwight Lahr In this sction w ar going to introduc th first approachs to valuating an indfinit intgral whos intgrand dos not hav an immdiat antidrivativ. W bgin

More information

Equil. Properties of Reacting Gas Mixtures. So far have looked at Statistical Mechanics results for a single (pure) perfect gas

Equil. Properties of Reacting Gas Mixtures. So far have looked at Statistical Mechanics results for a single (pure) perfect gas Shool of roa Engnrng Equl. Prort of Ratng Ga Mxtur So far hav lookd at Stattal Mhan rult for a ngl (ur) rft ga hown how to gt ga rort (,, h, v,,, ) from artton funton () For nonratng rft ga mxtur, gt mxtur

More information

PURE MATHEMATICS A-LEVEL PAPER 1

PURE MATHEMATICS A-LEVEL PAPER 1 -AL P MATH PAPER HONG KONG EXAMINATIONS AUTHORITY HONG KONG ADVANCED LEVEL EXAMINATION PURE MATHEMATICS A-LEVEL PAPER 8 am am ( hours) This papr must b aswrd i Eglish This papr cosists of Sctio A ad Sctio

More information

Fourier Transforms and the Wave Equation. Key Mathematics: More Fourier transform theory, especially as applied to solving the wave equation.

Fourier Transforms and the Wave Equation. Key Mathematics: More Fourier transform theory, especially as applied to solving the wave equation. Lur 7 Fourir Transforms and th Wav Euation Ovrviw and Motivation: W first discuss a fw faturs of th Fourir transform (FT), and thn w solv th initial-valu problm for th wav uation using th Fourir transform

More information

CREATED USING THE RSC COMMUNICATION TEMPLATE (VER. 2.1) - SEE FOR DETAILS

CREATED USING THE RSC COMMUNICATION TEMPLATE (VER. 2.1) - SEE   FOR DETAILS uortig Iormtio: Pti moiitio oirmtio vi 1 MR: j 5 FEFEFKFK 8.6.. 8.6 1 13 1 11 1 9 8 7 6 5 3 1 FEFEFKFK moii 1 13 1 11 1 9 8 7 6 5 3 1 m - - 3 3 g i o i o g m l g m l - - h k 3 h k 3 Figur 1: 1 -MR or th

More information

Discrete Fourier Transform (DFT)

Discrete Fourier Transform (DFT) Discrt Fourir Trasorm DFT Major: All Egirig Majors Authors: Duc guy http://umricalmthods.g.us.du umrical Mthods or STEM udrgraduats 8/3/29 http://umricalmthods.g.us.du Discrt Fourir Trasorm Rcalld th xpotial

More information

Frequency Measurement in Noise

Frequency Measurement in Noise Frqucy Masurmt i ois Porat Sctio 6.5 /4 Frqucy Mas. i ois Problm Wat to o look at th ct o ois o usig th DFT to masur th rqucy o a siusoid. Cosidr sigl complx siusoid cas: j y +, ssum Complx Whit ois Gaussia,

More information

CDS 101: Lecture 5.1 Reachability and State Space Feedback

CDS 101: Lecture 5.1 Reachability and State Space Feedback CDS, Lctur 5. CDS : Lctur 5. Rachability ad Stat Spac Fdback Richard M. Murray ad Hido Mabuchi 5 Octobr 4 Goals: Di rachability o a cotrol systm Giv tsts or rachability o liar systms ad apply to ampls

More information

KISS: A Bit Too Simple. Greg Rose

KISS: A Bit Too Simple. Greg Rose KI: A Bit Too impl Grg Ros ggr@qualcomm.com Outli KI radom umbr grator ubgrators Efficit attack N KI ad attack oclusio PAGE 2 O approach to PRNG scurity "A radom umbr grator is lik sx: Wh it's good, its

More information

Partial Derivatives: Suppose that z = f(x, y) is a function of two variables.

Partial Derivatives: Suppose that z = f(x, y) is a function of two variables. Chaptr Functions o Two Variabls Applid Calculus 61 Sction : Calculus o Functions o Two Variabls Now that ou hav som amiliarit with unctions o two variabls it s tim to start appling calculus to hlp us solv

More information

Aim To manage files and directories using Linux commands. 1. file Examines the type of the given file or directory

Aim To manage files and directories using Linux commands. 1. file Examines the type of the given file or directory m E x. N o. 3 F I L E M A N A G E M E N T Aim To manag ils and dirctoris using Linux commands. I. F i l M a n a g m n t 1. il Examins th typ o th givn il or dirctory i l i l n a m > ( o r ) < d i r c t

More information

Tracking Performance of the MMax Conjugate Gradient Algorithm Bei Xie and Tamal Bose

Tracking Performance of the MMax Conjugate Gradient Algorithm Bei Xie and Tamal Bose racki Performace of the MMa Cojuate Gradiet Alorithm Bei Xie ad amal Bose Wireless@V Bradley Det. of Electrical ad Comuter Eieeri Viriia ech Outlie Motivatio Backroud Cojuate Gradiet CG Alorithm Partial

More information

Lecture 1: Numerical Integration The Trapezoidal and Simpson s Rule

Lecture 1: Numerical Integration The Trapezoidal and Simpson s Rule Lcur : Numrical ngraion Th Trapzoidal and Simpson s Rul A problm Th probabiliy of a normally disribud (man µ and sandard dviaion σ ) vn occurring bwn h valus a and b is B A P( a x b) d () π whr a µ b -

More information

82A Engineering Mathematics

82A Engineering Mathematics Class Nos 5: Sod Ordr Diffrial Eqaio No Homoos 8A Eiri Mahmais Sod Ordr Liar Diffrial Eqaios Homoos & No Homoos v q Homoos No-homoos q ar iv oios fios o h o irval I Sod Ordr Liar Diffrial Eqaios Homoos

More information

(8) 1f = f. can be viewed as a real vector space where addition is defined by ( a1+ bi

(8) 1f = f. can be viewed as a real vector space where addition is defined by ( a1+ bi Geeral Liear Spaes (Vetor Spaes) ad Solutios o ODEs Deiitio: A vetor spae V is a set, with additio ad salig o elemet deied or all elemets o the set, that is losed uder additio ad salig, otais a zero elemet

More information

Solutions to Homework 5

Solutions to Homework 5 Solutions to Homwork 5 Pro. Silvia Frnánz Disrt Mathmatis Math 53A, Fall 2008. [3.4 #] (a) Thr ar x olor hois or vrtx an x or ah o th othr thr vrtis. So th hromati polynomial is P (G, x) =x (x ) 3. ()

More information

Searching Linked Lists. Perfect Skip List. Building a Skip List. Skip List Analysis (1) Assume the list is sorted, but is stored in a linked list.

Searching Linked Lists. Perfect Skip List. Building a Skip List. Skip List Analysis (1) Assume the list is sorted, but is stored in a linked list. 3 3 4 8 6 3 3 4 8 6 3 3 4 8 6 () (d) 3 Sarching Linkd Lists Sarching Linkd Lists Sarching Linkd Lists ssum th list is sortd, but is stord in a linkd list. an w us binary sarch? omparisons? Work? What if

More information

AP Calculus BC Problem Drill 16: Indeterminate Forms, L Hopital s Rule, & Improper Intergals

AP Calculus BC Problem Drill 16: Indeterminate Forms, L Hopital s Rule, & Improper Intergals AP Calulus BC Problm Drill 6: Indtrminat Forms, L Hopital s Rul, & Impropr Intrgals Qustion No. of Instrutions: () Rad th problm and answr hois arfully () Work th problms on papr as ndd () Pik th answr

More information

Cramér-Rao Inequality: Let f(x; θ) be a probability density function with continuous parameter

Cramér-Rao Inequality: Let f(x; θ) be a probability density function with continuous parameter WHEN THE CRAMÉR-RAO INEQUALITY PROVIDES NO INFORMATION STEVEN J. MILLER Abstract. W invstigat a on-paramtr family of probability dnsitis (rlatd to th Parto distribution, which dscribs many natural phnomna)

More information

Petru P. Blaga-Reducing of variance by a combined scheme based on Bernstein polynomials

Petru P. Blaga-Reducing of variance by a combined scheme based on Bernstein polynomials Ptru P Blaa-Rdu o vara by a obd sh basd o Brst olyoals REUCG OF VARACE BY A COMBE SCHEME BASE O BERSTE POYOMAS by Ptru P Blaa Abstrat A obd sh o th otrol varats ad whtd uor sal thods or rdu o vara s vstatd

More information

APPENDIX: STATISTICAL TOOLS

APPENDIX: STATISTICAL TOOLS I. Nots o radom samplig Why do you d to sampl radomly? APPENDI: STATISTICAL TOOLS I ordr to masur som valu o a populatio of orgaisms, you usually caot masur all orgaisms, so you sampl a subst of th populatio.

More information

2. Background Material

2. Background Material S. Blair Sptmbr 3, 003 4. Background Matrial Th rst of this cours dals with th gnration, modulation, propagation, and ction of optical radiation. As such, bic background in lctromagntics and optics nds

More information

Instrumentation for Characterization of Nanomaterials (v11) 11. Crystal Potential

Instrumentation for Characterization of Nanomaterials (v11) 11. Crystal Potential Istumtatio o Chaactizatio o Naomatials (v). Cystal Pottial Dlta uctio W d som mathmatical tools to dvlop a physical thoy o lcto diactio om cystal. Idal cystals a iiit this, so th will b som iiitis lii

More information

Exponential Functions

Exponential Functions Eponntial Functions Dinition: An Eponntial Function is an unction tat as t orm a, wr a > 0. T numbr a is calld t bas. Eampl: Lt i.. at intgrs. It is clar wat t unction mans or som valus o. 0 0,,, 8,,.,.

More information

Calculus 2 TAYLOR SERIES CONVERGENCE AND TAYLOR REMAINDER

Calculus 2 TAYLOR SERIES CONVERGENCE AND TAYLOR REMAINDER Calulus TAYLO SEIES CONVEGENCE AND TAYLO EMAINDE Let the differee betwee f () ad its Taylor polyomial approimatio of order be (). f ( ) P ( ) + ( ) Cosider to be the remaider with the eat value ad the

More information

Integration by Parts

Integration by Parts Intgration by Parts Intgration by parts is a tchniqu primarily for valuating intgrals whos intgrand is th product of two functions whr substitution dosn t work. For ampl, sin d or d. Th rul is: u ( ) v'(

More information

(1) Then we could wave our hands over this and it would become:

(1) Then we could wave our hands over this and it would become: MAT* K285 Spring 28 Anthony Bnoit 4/17/28 Wk 12: Laplac Tranform Rading: Kohlr & Johnon, Chaptr 5 to p. 35 HW: 5.1: 3, 7, 1*, 19 5.2: 1, 5*, 13*, 19, 45* 5.3: 1, 11*, 19 * Pla writ-up th problm natly and

More information

ELEC9721: Digital Signal Processing Theory and Applications

ELEC9721: Digital Signal Processing Theory and Applications ELEC97: Digital Sigal Pocssig Thoy ad Applicatios Tutoial ad solutios Not: som of th solutios may hav som typos. Q a Show that oth digital filts giv low hav th sam magitud spos: i [] [ ] m m i i i x c

More information

Edge-Triggered D Flip-flop. Formal Analysis. Fundamental-Mode Sequential Circuits. D latch: How do flip-flops work?

Edge-Triggered D Flip-flop. Formal Analysis. Fundamental-Mode Sequential Circuits. D latch: How do flip-flops work? E-Trir D Flip-Flop Funamntal-Mo Squntial Ciruits PR A How o lip-lops work? How to analys aviour o lip-lops? R How to sin unamntal-mo iruits? Funamntal mo rstrition - only on input an an at a tim; iruit

More information

priority queue ADT heaps 1

priority queue ADT heaps 1 COMP 250 Lctur 23 priority quu ADT haps 1 Nov. 1/2, 2017 1 Priority Quu Li a quu, but now w hav a mor gnral dinition o which lmnt to rmov nxt, namly th on with highst priority..g. hospital mrgncy room

More information

How many neutrons does this aluminium atom contain? A 13 B 14 C 27 D 40

How many neutrons does this aluminium atom contain? A 13 B 14 C 27 D 40 alumiium atom has a uclo umbr of 7 ad a roto umbr of 3. How may utros dos this alumiium atom cotai? 3 4 7 40 atom of lmt Q cotais 9 lctros, 9 rotos ad 0 utros. What is Q? calcium otassium strotium yttrium

More information

CS 6353 Compiler Construction, Homework #1. 1. Write regular expressions for the following informally described languages:

CS 6353 Compiler Construction, Homework #1. 1. Write regular expressions for the following informally described languages: CS 6353 Compilr Construction, Homwork #1 1. Writ rgular xprssions for th following informally dscribd languags: a. All strings of 0 s and 1 s with th substring 01*1. Answr: (0 1)*01*1(0 1)* b. All strings

More information

176 5 t h Fl oo r. 337 P o ly me r Ma te ri al s

176 5 t h Fl oo r. 337 P o ly me r Ma te ri al s A g la di ou s F. L. 462 E l ec tr on ic D ev el op me nt A i ng er A.W.S. 371 C. A. M. A l ex an de r 236 A d mi ni st ra ti on R. H. (M rs ) A n dr ew s P. V. 326 O p ti ca l Tr an sm is si on A p ps

More information

Statistics 3858 : Likelihood Ratio for Exponential Distribution

Statistics 3858 : Likelihood Ratio for Exponential Distribution Statistics 3858 : Liklihood Ratio for Expotial Distributio I ths two xampl th rjctio rjctio rgio is of th form {x : 2 log (Λ(x)) > c} for a appropriat costat c. For a siz α tst, usig Thorm 9.5A w obtai

More information

Electron energy in crystal potential

Electron energy in crystal potential Elctron nry in crystal potntial r r p c mc mc mc Expand: r r r mc mc mc r r p c mc mc mc r pc m c mc p m m m m r E E m m m r p E m r nr nr whr: E V mc E m c Wav quation Hamiltonian: Tim-Indpndnt Schrodinr

More information

Rectangular Waveguides

Rectangular Waveguides Rtgulr Wvguids Wvguids tt://www.tllguid.o/wvguidlirit.tl Uss To rdu ttutio loss ig rquis ig owr C ort ol ov rti rquis Ats s ig-ss iltr Norll irulr or rtgulr W will ssu losslss rtgulr tt://www..surr..u/prsol/d.jris/wguid.tl

More information

and integrated over all, the result is f ( 0) ] //Fourier transform ] //inverse Fourier transform

and integrated over all, the result is f ( 0) ] //Fourier transform ] //inverse Fourier transform NANO 70-Nots Chapt -Diactd bams Dlta uctio W d som mathmatical tools to dvlop a physical thoy o lcto diactio. Idal cystals a iiit this, so th will b som iiitis lii about. Usually, th iiit quatity oly ists

More information

, each of which is a tree, and whose roots r 1. , respectively, are children of r. Data Structures & File Management

, each of which is a tree, and whose roots r 1. , respectively, are children of r. Data Structures & File Management nrl tr T is init st o on or mor nos suh tht thr is on sint no r, ll th root o T, n th rminin nos r prtition into n isjoint susts T, T,, T n, h o whih is tr, n whos roots r, r,, r n, rsptivly, r hilrn o

More information

Module 2 Motion Instructions

Module 2 Motion Instructions Moul 2 Motion Instrutions CAUTION: Bor you strt this xprimnt, unrstn tht you r xpt to ollow irtions EXPLICITLY! Tk your tim n r th irtions or h stp n or h prt o th xprimnt. You will rquir to ntr t in prtiulr

More information

State-space behaviours 2 using eigenvalues

State-space behaviours 2 using eigenvalues 1 Stat-spac bhaviours 2 using ignvalus J A Rossitr Slids by Anthony Rossitr Introduction Th first vido dmonstratd that on can solv 2 x x( ( x(0) Th stat transition matrix Φ( can b computd using Laplac

More information

Thomas J. Osler. 1. INTRODUCTION. This paper gives another proof for the remarkable simple

Thomas J. Osler. 1. INTRODUCTION. This paper gives another proof for the remarkable simple 5/24/5 A PROOF OF THE CONTINUED FRACTION EXPANSION OF / Thomas J Oslr INTRODUCTION This ar givs aothr roof for th rmarkabl siml cotiud fractio = 3 5 / Hr is ay ositiv umbr W us th otatio x= [ a; a, a2,

More information

CS553 Lecture Register Allocation I 3

CS553 Lecture Register Allocation I 3 Low-Lvl Issus Last ltur Intrproural analysis Toay Start low-lvl issus Rgistr alloation Latr Mor rgistr alloation Instrution shuling CS553 Ltur Rgistr Alloation I 2 Rgistr Alloation Prolm Assign an unoun

More information

ECE COMBINATIONAL BUILDING BLOCKS - INVEST 13 DECODERS AND ENCODERS

ECE COMBINATIONAL BUILDING BLOCKS - INVEST 13 DECODERS AND ENCODERS C 24 - COMBINATIONAL BUILDING BLOCKS - INVST 3 DCODS AND NCODS FALL 23 AP FLZ To o "wll" on this invstition you must not only t th riht nswrs ut must lso o nt, omplt n onis writups tht mk ovious wht h

More information

Logarithms. Secondary Mathematics 3 Page 164 Jordan School District

Logarithms. Secondary Mathematics 3 Page 164 Jordan School District Logarithms Sondary Mathmatis Pag 6 Jordan Shool Distrit Unit Clustr 6 (F.LE. and F.BF.): Logarithms Clustr 6: Logarithms.6 For ponntial modls, prss as a arithm th solution to a and d ar numrs and th as

More information

Chapter 5: Take Home Test

Chapter 5: Take Home Test Chapter : Take Home Test AB Calulus - Hardtke Name Date: Tuesday, / MAY USE YOUR CALCULATOR FOR THIS PAGE. Roud aswers to three plaes. Sore: / Show diagrams ad work to justify eah aswer.. Approimate the

More information

Junction Tree Algorithm 1. David Barber

Junction Tree Algorithm 1. David Barber Juntion Tr Algorithm 1 David Barbr Univrsity Collg London 1 Ths slids aompany th book Baysian Rasoning and Mahin Larning. Th book and dmos an b downloadd from www.s.ul.a.uk/staff/d.barbr/brml. Fdbak and

More information

( ) Differential Equations. Unit-7. Exact Differential Equations: M d x + N d y = 0. Verify the condition

( ) Differential Equations. Unit-7. Exact Differential Equations: M d x + N d y = 0. Verify the condition Diffrntial Equations Unit-7 Eat Diffrntial Equations: M d N d 0 Vrif th ondition M N Thn intgrat M d with rspt to as if wr onstants, thn intgrat th trms in N d whih do not ontain trms in and quat sum of

More information

Basic Polyhedral theory

Basic Polyhedral theory Basic Polyhdral thory Th st P = { A b} is calld a polyhdron. Lmma 1. Eithr th systm A = b, b 0, 0 has a solution or thr is a vctorπ such that π A 0, πb < 0 Thr cass, if solution in top row dos not ist

More information

EECE 301 Signals & Systems Prof. Mark Fowler

EECE 301 Signals & Systems Prof. Mark Fowler EECE 301 Signals & Systms Prof. Mark Fowlr ot St #21 D-T Signals: Rlation btwn DFT, DTFT, & CTFT 1/16 W can us th DFT to implmnt numrical FT procssing This nabls us to numrically analyz a signal to find

More information

Explicit and closed formed solution of a differential equation. Closed form: since finite algebraic combination of. converges for x x0

Explicit and closed formed solution of a differential equation. Closed form: since finite algebraic combination of. converges for x x0 Chapter 4 Series Solutios Epliit ad losed formed solutio of a differetial equatio y' y ; y() 3 ( ) ( 5 e ) y Closed form: sie fiite algebrai ombiatio of elemetary futios Series solutio: givig y ( ) as

More information

Frequency Response & Digital Filters

Frequency Response & Digital Filters Frquy Rspos & Digital Filtrs S Wogsa Dpt. of Cotrol Systms ad Istrumtatio Egirig, KUTT Today s goals Frquy rspos aalysis of digital filtrs LTI Digital Filtrs Digital filtr rprstatios ad struturs Idal filtrs

More information

Observer Design with Reduced Measurement Information

Observer Design with Reduced Measurement Information Observer Desig with Redued Measuremet Iformatio I pratie all the states aot be measured so that SVF aot be used Istead oly a redued set of measuremets give by y = x + Du p is available where y( R We assume

More information

CS 103 BFS Alorithm. Mark Redekopp

CS 103 BFS Alorithm. Mark Redekopp CS 3 BFS Aloritm Mrk Rkopp Brt-First Sr (BFS) HIGHLIGHTED ALGORITHM 3 Pt Plnnin W'v sn BFS in t ontxt o inin t sortst pt trou mz? S?? 4 Pt Plnnin W xplor t 4 niors s on irtion 3 3 3 S 3 3 3 3 3 F I you

More information

VTU NOTES QUESTION PAPERS NEWS RESULTS FORUMS

VTU NOTES QUESTION PAPERS NEWS RESULTS FORUMS Diffrntial Equations Unit-7 Eat Diffrntial Equations: M d N d 0 Vrif th ondition M N Thn intgrat M d with rspt to as if wr onstants, thn intgrat th trms in N d whih do not ontain trms in and quat sum of

More information

Homotopy perturbation technique

Homotopy perturbation technique Comput. Mthods Appl. Mch. Engrg. 178 (1999) 257±262 www.lsvir.com/locat/cma Homotopy prturbation tchniqu Ji-Huan H 1 Shanghai Univrsity, Shanghai Institut of Applid Mathmatics and Mchanics, Shanghai 272,

More information

Lecture contents. Density of states Distribution function Statistic of carriers. Intrinsic Extrinsic with no compensation Compensation

Lecture contents. Density of states Distribution function Statistic of carriers. Intrinsic Extrinsic with no compensation Compensation Ltur otts Dsity of stats Distributio futio Statisti of arrirs Itrisi trisi with o ompsatio ompsatio S 68 Ltur #7 Dsity of stats Problm: alulat umbr of stats pr uit rgy pr uit volum V() Larg 3D bo (L is

More information