Chapter Floating Point Representation
|
|
- Gyles Hodge
- 5 years ago
- Views:
Transcription
1 Chaper Floaing Poin Represenaion Afer reading his chaper, you should be able o: 1. conver a base- number o a binary floaing poin represenaion,. conver a binary floaing poin number o is equivalen base- number, 3. undersand he IEEE-754 specificaions of a floaing poin represenaion in a ypical compuer, 4. calculae he machine epsilon of a represenaion. Consider an old ime cash regiser ha would ring any purchase beween 0 and unis of money. Noe ha here are five (no six) working spaces in he cash regiser (he decimal number is shown jus for clarificaion). Q: How will he smalles number 0 be represened? A: The number 0 will be represened as Q: How will he larges number be represened? A: The number will be represened as Q: Now look a any ypical number beween 0 and , such as How would i be represened? A: The number will be represened as Q: Wha is he smalles change beween consecuive numbers? A: I is 0.01, like beween he numbers and Q: Wha amoun would one pay for an iem, if i coss ? A: The amoun one would pay would be rounded off o or chopped o In eiher case, he maximum error in he paymen would be less han Q: Wha magniude of relaive errors would occur in a ransacion? A: Relaive error for represening small numbers is going o be high, while for large numbers he relaive error is going o be small
2 Chaper For example, for , rounding i off o accouns for a round-off error of = The relaive error in his case is = = %. For anoher number, 3.546, rounding i off o 3.55 accouns for he same round-off error of = The relaive error in his case is = = %. Q: If I am ineresed in keeping relaive errors of similar magniude for he range of numbers, wha alernaives do I have? A: To keep he relaive error of similar order for all numbers, one may use a floaing-poin represenaion of he number. For example, in floaing-poin represenaion, a number is wrien as , is wrien as , and is wrien as The general represenaion of a number in base- forma is given as exponen sign manissa or for a number y, e y = σ m Where σ = sign of he number, + 1or -1 m = manissa, 1 m < e = ineger exponen (also called ficand) Le us go back o he example where we have five spaces available for a number. Le us also limi ourselves o posiive numbers wih posiive exponens for his example. If we use he same five spaces, hen le us use four for he manissa and he las one for he exponen. So 9 he smalles number ha can be represened is 1 bu he larges number would be By using he floaing-poin represenaion, wha we lose in accuracy, we gain in he range of numbers ha can be represened. For our example, he maximum number represened 9 changed from o Wha is he error in represening numbers in he scienific forma? Take he previous example of I would be represened as.568 and in he five spaces as Anoher example, he number would be represened as and in five spaces as So, how much error is caused by such represenaion. In represening 56.78, he round off error creaed is = 0. 0, and he relaive error is
3 Floaing Poin Represenaion = 0 = %, In represening , he round off error creaed is = 9. 78, and he relaive error is 9.78 = 0 = % Wha you are seeing now is ha alhough he errors are large for large numbers, bu he relaive errors are of he same order for boh large and small numbers. Q: How does his floaing-poin forma relae o binary forma? A: A number y would be wrien as e y = σ m Where σ = sign of number (negaive or posiive use 0 for posiive and 1 for negaive), m = manissa, () 1 m < ( ), ha is, ( 1 ) m < ( ), and e = ineger exponen. Example 1 Represen ( 54.75) in floaing poin binary forma. Assuming ha he number is wrien o a hypoheical word ha is 9 bis long where he firs bi is used for he sign of he number, he second bi for he sign of he exponen, he nex four bis for he manissa, and he nex hree bis for he exponen, Soluion (5) (.75) = (11.11) = ( 1.111) 54 The exponen 5 is equivalen in binary forma as () 5 = ( 1) Hence ( 54.75) ( 1.111) (1) = The sign of he number is posiive, so he bi for he sign of he number will have zero in i. σ = 0 The sign of he exponen is posiive. So he bi for he sign of he exponen will have zero in i. The manissa m = 11 (There are only 4 places for he manissa, and he leading 1 is no sored as i is always expeced o be here), and he exponen e = 1. we have he represenaion as
4 Chaper Example Wha number does he below given floaing poin forma represen in base- forma. Assume a hypoheical 9-bi word, where he firs bi is used for he sign of he number, second bi for he sign of he exponen, nex four bis for he manissa and nex hree for he exponen. Soluion Given Bi Represenaion Par of Floaing poin number 0 Sign of number 1 Sign of exponen 11 Magniude of manissa 1 Magniude of exponen The firs bi is 0, so he number is posiive. The second bi is 1, so he exponen is negaive. The nex four bis, 11, are he magniude of he manissa, so m = 1.11 = = The las hree bis, 1, are he magniude of he exponen, so 1 0 e = ( 1 ) = ( ) = ( 6) The number in binary forma hen is ( 1) ( 1.11) The number in base- forma is 6 = = ( ) ( ) ( ) Example 3 A machine sores floaing-poin numbers in a hypoheical -bi binary word. I employs he firs bi for he sign of he number, he second one for he sign of he exponen, he nex four for he exponen, and he las four for he magniude of he manissa. a) Find how will be represened in he floaing-poin -bi word. b) Wha is he decimal equivalen of he -bi word represenaion of par (a)? Soluion a) For he number, we have he ineger par as 0 and he fracional par as Le us firs find he binary equivalen of he ineger par Ineger par ( 0 ) = ( 0) Now we find he binary equivalen of he fracional par Fracional par:
5 Floaing Poin Represenaion Hence ( 0.083) ( ) 6 = ( 1.101) 6 ( 1.10) The binary equivalen of exponen is found as follows Quoien Remainder 6/ 3 0 = a0 3/ 1 1= a1 1/ 0 1 = a So So ( 6 ) = ( 1) ( 1) ( 0.083) ( ) = 1.10 ( 01) = ( 1.10) Par of Floaing poin number Bi Represenaion Sign of number is posiive 0 Sign of exponen is negaive 1 Magniude of he exponen 01 Magniude of manissa 10 The en-bi represenaion bi by bi is b) Convering he above floaing poin represenaion from par (a) o base by following Example gives ( 01) ( 1.10) = ( ) ( ) ( 6) = ( 1.75) = Q: How do you deermine he accuracy of a floaing-poin represenaion of a number?
6 Chaper A: The machine epsilon, mach is a measure of he accuracy of a floaing poin represenaion and is found by calculaing he difference beween 1 and he nex number ha can be represened. For example, assume a -bi hypoheical compuer where he firs bi is used for he sign of he number, he second bi for he sign of he exponen, he nex four bis for he exponen and he nex four for he manissa. We represen 1 as and he nex higher number ha can be represened is The difference beween he wo numbers is (0000) (0000) ( ) ( ) = ( ) = (1 4 ) = (0.065). The machine epsilon is mach = The machine epsilon, mach is also simply calculaed as wo o he negaive power of he number of bis used for manissa. As far as deermining accuracy, machine epsilon, mach is an upper bound of he magniude of relaive error ha is creaed by he approximae represenaion of a number (See Example 4). Example 4 A machine sores floaing-poin numbers in a hypoheical -bi binary word. I employs he firs bi for he sign of he number, he second one for he sign of he exponen, he nex four for he exponen, and he las four for he magniude of he manissa. Confirm ha he magniude of he relaive rue error ha resuls from approximae represenaion of in he -bi forma (as found in previous example) is less han he machine epsilon. Soluion From Example, he en-bi represenaion of bi-by-bi is Again from Example, convering he above floaing poin represenaion o base- gives ( 01) ( 1.10) ( 6) = ( 1.75) = ( ) The absolue relaive rue error beween he number and is approximae represenaion is = = which is less han he machine epsilon for a compuer ha uses 4 bis for manissa, ha is,
7 Floaing Poin Represenaion = 4 mach. = Q: How are numbers acually represened in floaing poin in a real compuer? A: In an acual ypical compuer, a real number is sored as per he IEEE-754 (Insiue of Elecrical and Elecronics Engineers) floaing-poin arihmeic forma. To keep he discussion shor and simple, le us poin ou he salien feaures of he single precision forma. A single precision number uses 3 bis. A number y is represened as e (. a a a ) y = σ where σ = sign of he number (posiive or negaive) a i = enries of he manissa, can be only 0 or 1, i = 1,..,3 e =he exponen Noe he 1 before he radix poin. The firs bi represens he sign of he number (0 for posiive number and 1 for a negaive number). The nex eigh bis represen he exponen. Noe ha here is no separae bi for he sign of he exponen. The sign of he exponen is aken care of by normalizing by adding 17 o he acual exponen. For example in he previous example, he exponen was 6. I would be sored as he binary equivalen of = 133. Why is 17 and no some oher number added o he acual exponen? Because in eigh bis he larges ineger ha can be represened is ( ) = 55, and halfway of 55 is 17. This allows negaive and posiive exponens o be represened equally. The normalized (also called biased) exponen has he range from 0 o 55, and hence he exponen e has he range of 17 e 18. If insead of using he biased exponen, le us suppose we sill used eigh bis for he exponen bu used one bi for he sign of he exponen and seven bis for he exponen magniude. In seven bis, he larges ineger ha can be represened is ( ) = 17 in which case he exponen e range would have been smaller, ha is, 17 e 17. By biasing he exponen, he unnecessary represenaion of a negaive zero and posiive zero exponen (which are he same) is also avoided. Acually, he biased exponen range used in he IEEE-754 forma is no 0 o 55, bu 1 o 54. Hence, exponen e has he range of 16 e 17. So wha are e = 17 and e = 18 used for? If e = 18 and all he manissa enries are zeros, he number is ± ( he sign of infiniy is governed by he sign bi), if e = 18 and he manissa enries are no zero, he number being represened is No a Number (NaN). Because of he leading 1 in he floaing poin represenaion, he number zero canno be represened exacly. Tha is why he number zero (0) is represened by e = 17 and all he manissa enries being zero. The nex weny-hree bis are used for he manissa. The larges number by magniude ha is represened by his forma is ( ) 38 = 3.40 The smalles number by magniude ha is represened, oher han zero, is
8 Chaper ( ) Since 3 bis are used for he manissa, he machine epsilon, 3 mach =. 7 = 1.19 = 1.18 Q: How are numbers represened in floaing poin in double precision in a compuer? A: In double precision IEEE-754 forma, a real number is sored in 64 bis. The firs bi is used for he sign, he nex 11 bis are used for he exponen, and he res of he bis, ha is 5, are used for manissa. Can you find in double precision he range of he biased exponen, smalles number ha can be represened, larges number ha can be represened, and machine epsilon? 38 INTRODUCTION TO NUMERICAL METHODS Topic Floaing Poin Represenaion Summary Texbook noes on floaing poin represenaion Major General Engineering Auhors Auar Kaw Dae April 4, 009 Web Sie hp://numericalmehods.eng.usf.edu
Chapter 4. Truncation Errors
Chaper 4. Truncaion Errors and he Taylor Series Truncaion Errors and he Taylor Series Non-elemenary funcions such as rigonomeric, eponenial, and ohers are epressed in an approimae fashion using Taylor
More information23.2. Representing Periodic Functions by Fourier Series. Introduction. Prerequisites. Learning Outcomes
Represening Periodic Funcions by Fourier Series 3. Inroducion In his Secion we show how a periodic funcion can be expressed as a series of sines and cosines. We begin by obaining some sandard inegrals
More informationVehicle Arrival Models : Headway
Chaper 12 Vehicle Arrival Models : Headway 12.1 Inroducion Modelling arrival of vehicle a secion of road is an imporan sep in raffic flow modelling. I has imporan applicaion in raffic flow simulaion where
More information3.6 Derivatives as Rates of Change
3.6 Derivaives as Raes of Change Problem 1 John is walking along a sraigh pah. His posiion a he ime >0 is given by s = f(). He sars a =0from his house (f(0) = 0) and he graph of f is given below. (a) Describe
More informationChapter 7: Solving Trig Equations
Haberman MTH Secion I: The Trigonomeric Funcions Chaper 7: Solving Trig Equaions Le s sar by solving a couple of equaions ha involve he sine funcion EXAMPLE a: Solve he equaion sin( ) The inverse funcions
More informationMath 2142 Exam 1 Review Problems. x 2 + f (0) 3! for the 3rd Taylor polynomial at x = 0. To calculate the various quantities:
Mah 4 Eam Review Problems Problem. Calculae he 3rd Taylor polynomial for arcsin a =. Soluion. Le f() = arcsin. For his problem, we use he formula f() + f () + f ()! + f () 3! for he 3rd Taylor polynomial
More informationKINEMATICS IN ONE DIMENSION
KINEMATICS IN ONE DIMENSION PREVIEW Kinemaics is he sudy of how hings move how far (disance and displacemen), how fas (speed and velociy), and how fas ha how fas changes (acceleraion). We say ha an objec
More informationNotes 8B Day 1 Doubling Time
Noes 8B Day 1 Doubling ime Exponenial growh leads o repeaed doublings (see Graph in Noes 8A) and exponenial decay leads o repeaed halvings. In his uni we ll be convering beween growh (or decay) raes and
More information5.2. The Natural Logarithm. Solution
5.2 The Naural Logarihm The number e is an irraional number, similar in naure o π. Is non-erminaing, non-repeaing value is e 2.718 281 828 59. Like π, e also occurs frequenly in naural phenomena. In fac,
More informationEXERCISES FOR SECTION 1.5
1.5 Exisence and Uniqueness of Soluions 43 20. 1 v c 21. 1 v c 1 2 4 6 8 10 1 2 2 4 6 8 10 Graph of approximae soluion obained using Euler s mehod wih = 0.1. Graph of approximae soluion obained using Euler
More information5.1 - Logarithms and Their Properties
Chaper 5 Logarihmic Funcions 5.1 - Logarihms and Their Properies Suppose ha a populaion grows according o he formula P 10, where P is he colony size a ime, in hours. When will he populaion be 2500? We
More informationErrata (1 st Edition)
P Sandborn, os Analysis of Elecronic Sysems, s Ediion, orld Scienific, Singapore, 03 Erraa ( s Ediion) S K 05D Page 8 Equaion (7) should be, E 05D E Nu e S K he L appearing in he equaion in he book does
More informationLecture 2-1 Kinematics in One Dimension Displacement, Velocity and Acceleration Everything in the world is moving. Nothing stays still.
Lecure - Kinemaics in One Dimension Displacemen, Velociy and Acceleraion Everyhing in he world is moving. Nohing says sill. Moion occurs a all scales of he universe, saring from he moion of elecrons in
More informationFinal Spring 2007
.615 Final Spring 7 Overview The purpose of he final exam is o calculae he MHD β limi in a high-bea oroidal okamak agains he dangerous n = 1 exernal ballooning-kink mode. Effecively, his corresponds o
More information4.1 - Logarithms and Their Properties
Chaper 4 Logarihmic Funcions 4.1 - Logarihms and Their Properies Wha is a Logarihm? We define he common logarihm funcion, simply he log funcion, wrien log 10 x log x, as follows: If x is a posiive number,
More informationAnnouncements: Warm-up Exercise:
Fri Apr 13 7.1 Sysems of differenial equaions - o model muli-componen sysems via comparmenal analysis hp//en.wikipedia.org/wiki/muli-comparmen_model Announcemens Warm-up Exercise Here's a relaively simple
More informationBias in Conditional and Unconditional Fixed Effects Logit Estimation: a Correction * Tom Coupé
Bias in Condiional and Uncondiional Fixed Effecs Logi Esimaion: a Correcion * Tom Coupé Economics Educaion and Research Consorium, Naional Universiy of Kyiv Mohyla Academy Address: Vul Voloska 10, 04070
More information15. Vector Valued Functions
1. Vecor Valued Funcions Up o his poin, we have presened vecors wih consan componens, for example, 1, and,,4. However, we can allow he componens of a vecor o be funcions of a common variable. For example,
More informationReading from Young & Freedman: For this topic, read sections 25.4 & 25.5, the introduction to chapter 26 and sections 26.1 to 26.2 & 26.4.
PHY1 Elecriciy Topic 7 (Lecures 1 & 11) Elecric Circuis n his opic, we will cover: 1) Elecromoive Force (EMF) ) Series and parallel resisor combinaions 3) Kirchhoff s rules for circuis 4) Time dependence
More informationExam 3 Review (Sections Covered: , )
19 Exam Review (Secions Covered: 776 8184) 1 Adieisloadedandihasbeendeerminedhaheprobabiliydisribuionassociaedwih he experimen of rolling he die and observing which number falls uppermos is given by he
More informationTwo Coupled Oscillators / Normal Modes
Lecure 3 Phys 3750 Two Coupled Oscillaors / Normal Modes Overview and Moivaion: Today we ake a small, bu significan, sep owards wave moion. We will no ye observe waves, bu his sep is imporan in is own
More information!!"#"$%&#'()!"#&'(*%)+,&',-)./0)1-*23)
"#"$%&#'()"#&'(*%)+,&',-)./)1-*) #$%&'()*+,&',-.%,/)*+,-&1*#$)()5*6$+$%*,7&*-'-&1*(,-&*6&,7.$%$+*&%'(*8$&',-,%'-&1*(,-&*6&,79*(&,%: ;..,*&1$&$.$%&'()*1$$.,'&',-9*(&,%)?%*,('&5
More information2.7. Some common engineering functions. Introduction. Prerequisites. Learning Outcomes
Some common engineering funcions 2.7 Inroducion This secion provides a caalogue of some common funcions ofen used in Science and Engineering. These include polynomials, raional funcions, he modulus funcion
More informationEECE 301 Signals & Systems Prof. Mark Fowler
EECE 31 Signals & Sysems Prof. Mark Fowler Noe Se #1 C-T Sysems: Convoluion Represenaion Reading Assignmen: Secion 2.6 of Kamen and Heck 1/11 Course Flow Diagram The arrows here show concepual flow beween
More informationLet us start with a two dimensional case. We consider a vector ( x,
Roaion marices We consider now roaion marices in wo and hree dimensions. We sar wih wo dimensions since wo dimensions are easier han hree o undersand, and one dimension is a lile oo simple. However, our
More informationRadical Expressions. Terminology: A radical will have the following; a radical sign, a radicand, and an index.
Radical Epressions Wha are Radical Epressions? A radical epression is an algebraic epression ha conains a radical. The following are eamples of radical epressions + a Terminology: A radical will have he
More informationMATH 128A, SUMMER 2009, FINAL EXAM SOLUTION
MATH 28A, SUMME 2009, FINAL EXAM SOLUTION BENJAMIN JOHNSON () (8 poins) [Lagrange Inerpolaion] (a) (4 poins) Le f be a funcion defined a some real numbers x 0,..., x n. Give a defining equaion for he Lagrange
More information6.003 Homework 1. Problems. Due at the beginning of recitation on Wednesday, February 10, 2010.
6.003 Homework Due a he beginning of reciaion on Wednesday, February 0, 200. Problems. Independen and Dependen Variables Assume ha he heigh of a waer wave is given by g(x v) where x is disance, v is velociy,
More informationBiol. 356 Lab 8. Mortality, Recruitment, and Migration Rates
Biol. 356 Lab 8. Moraliy, Recruimen, and Migraion Raes (modified from Cox, 00, General Ecology Lab Manual, McGraw Hill) Las week we esimaed populaion size hrough several mehods. One assumpion of all hese
More informationLongest Common Prefixes
Longes Common Prefixes The sandard ordering for srings is he lexicographical order. I is induced by an order over he alphabe. We will use he same symbols (,
More informationModule 2 F c i k c s la l w a s o s f dif di fusi s o i n
Module Fick s laws of diffusion Fick s laws of diffusion and hin film soluion Adolf Fick (1855) proposed: d J α d d d J (mole/m s) flu (m /s) diffusion coefficien and (mole/m 3 ) concenraion of ions, aoms
More informationMath 2214 Solution Test 1A Spring 2016
Mah 14 Soluion Tes 1A Spring 016 sec Problem 1: Wha is he larges -inerval for which ( 4) = has a guaraneed + unique soluion for iniial value (-1) = 3 according o he Exisence Uniqueness Theorem? Soluion
More informationInventory Analysis and Management. Multi-Period Stochastic Models: Optimality of (s, S) Policy for K-Convex Objective Functions
Muli-Period Sochasic Models: Opimali of (s, S) Polic for -Convex Objecive Funcions Consider a seing similar o he N-sage newsvendor problem excep ha now here is a fixed re-ordering cos (> 0) for each (re-)order.
More informationOn Measuring Pro-Poor Growth. 1. On Various Ways of Measuring Pro-Poor Growth: A Short Review of the Literature
On Measuring Pro-Poor Growh 1. On Various Ways of Measuring Pro-Poor Growh: A Shor eview of he Lieraure During he pas en years or so here have been various suggesions concerning he way one should check
More informationPredator - Prey Model Trajectories and the nonlinear conservation law
Predaor - Prey Model Trajecories and he nonlinear conservaion law James K. Peerson Deparmen of Biological Sciences and Deparmen of Mahemaical Sciences Clemson Universiy Ocober 28, 213 Ouline Drawing Trajecories
More informationChapter 15: Phenomena. Chapter 15 Chemical Kinetics. Reaction Rates. Reaction Rates R P. Reaction Rates. Rate Laws
Chaper 5: Phenomena Phenomena: The reacion (aq) + B(aq) C(aq) was sudied a wo differen emperaures (98 K and 35 K). For each emperaure he reacion was sared by puing differen concenraions of he 3 species
More informationAnswer Key, Problem Set 10
Chemisry 22 Mines, Spring 28 Answer Key, Problem Se. NT. Wrie an equaion describing he radioacive decay of each of he following nuclides. (The paricle produced is shown in parenheses, excep for elecron
More informationA First Course on Kinetics and Reaction Engineering. Class 19 on Unit 18
A Firs ourse on Kineics and Reacion Engineering lass 19 on Uni 18 Par I - hemical Reacions Par II - hemical Reacion Kineics Where We re Going Par III - hemical Reacion Engineering A. Ideal Reacors B. Perfecly
More informationSTATE-SPACE MODELLING. A mass balance across the tank gives:
B. Lennox and N.F. Thornhill, 9, Sae Space Modelling, IChemE Process Managemen and Conrol Subjec Group Newsleer STE-SPACE MODELLING Inroducion: Over he pas decade or so here has been an ever increasing
More informationMatlab and Python programming: how to get started
Malab and Pyhon programming: how o ge sared Equipping readers he skills o wrie programs o explore complex sysems and discover ineresing paerns from big daa is one of he main goals of his book. In his chaper,
More informationAsymptotic Equipartition Property - Seminar 3, part 1
Asympoic Equipariion Propery - Seminar 3, par 1 Ocober 22, 2013 Problem 1 (Calculaion of ypical se) To clarify he noion of a ypical se A (n) ε and he smalles se of high probabiliy B (n), we will calculae
More informationProblem Set 5. Graduate Macro II, Spring 2017 The University of Notre Dame Professor Sims
Problem Se 5 Graduae Macro II, Spring 2017 The Universiy of Nore Dame Professor Sims Insrucions: You may consul wih oher members of he class, bu please make sure o urn in your own work. Where applicable,
More information1 Review of Zero-Sum Games
COS 5: heoreical Machine Learning Lecurer: Rob Schapire Lecure #23 Scribe: Eugene Brevdo April 30, 2008 Review of Zero-Sum Games Las ime we inroduced a mahemaical model for wo player zero-sum games. Any
More informationSection 5: Chain Rule
Chaper The Derivaive Applie Calculus 11 Secion 5: Chain Rule There is one more ype of complicae funcion ha we will wan o know how o iffereniae: composiion. The Chain Rule will le us fin he erivaive of
More information1.6. Slopes of Tangents and Instantaneous Rate of Change
1.6 Slopes of Tangens and Insananeous Rae of Change When you hi or kick a ball, he heigh, h, in meres, of he ball can be modelled by he equaion h() 4.9 2 v c. In his equaion, is he ime, in seconds; c represens
More informationMath 10B: Mock Mid II. April 13, 2016
Name: Soluions Mah 10B: Mock Mid II April 13, 016 1. ( poins) Sae, wih jusificaion, wheher he following saemens are rue or false. (a) If a 3 3 marix A saisfies A 3 A = 0, hen i canno be inverible. True.
More informationLinear Response Theory: The connection between QFT and experiments
Phys540.nb 39 3 Linear Response Theory: The connecion beween QFT and experimens 3.1. Basic conceps and ideas Q: How do we measure he conduciviy of a meal? A: we firs inroduce a weak elecric field E, and
More informationand v y . The changes occur, respectively, because of the acceleration components a x and a y
Week 3 Reciaion: Chaper3 : Problems: 1, 16, 9, 37, 41, 71. 1. A spacecraf is raveling wih a veloci of v0 = 5480 m/s along he + direcion. Two engines are urned on for a ime of 84 s. One engine gives he
More informationEE 315 Notes. Gürdal Arslan CLASS 1. (Sections ) What is a signal?
EE 35 Noes Gürdal Arslan CLASS (Secions.-.2) Wha is a signal? In his class, a signal is some funcion of ime and i represens how some physical quaniy changes over some window of ime. Examples: velociy of
More informationPracticing Problem Solving and Graphing
Pracicing Problem Solving and Graphing Tes 1: Jan 30, 7pm, Ming Hsieh G20 The Bes Ways To Pracice for Tes Bes If need more, ry suggesed problems from each new opic: Suden Response Examples A pas opic ha
More informationExpert Advice for Amateurs
Exper Advice for Amaeurs Ernes K. Lai Online Appendix - Exisence of Equilibria The analysis in his secion is performed under more general payoff funcions. Wihou aking an explici form, he payoffs of he
More informationInstructor: Barry McQuarrie Page 1 of 5
Procedure for Solving radical equaions 1. Algebraically isolae one radical by iself on one side of equal sign. 2. Raise each side of he equaion o an appropriae power o remove he radical. 3. Simplify. 4.
More information5. Stochastic processes (1)
Lec05.pp S-38.45 - Inroducion o Teleraffic Theory Spring 2005 Conens Basic conceps Poisson process 2 Sochasic processes () Consider some quaniy in a eleraffic (or any) sysem I ypically evolves in ime randomly
More informationOnline Convex Optimization Example And Follow-The-Leader
CSE599s, Spring 2014, Online Learning Lecure 2-04/03/2014 Online Convex Opimizaion Example And Follow-The-Leader Lecurer: Brendan McMahan Scribe: Sephen Joe Jonany 1 Review of Online Convex Opimizaion
More information4 Two movies, together, run for 3 hours. One movie runs 12 minutes longer than the other. How long is each movie?
Algebra Problems 1 A number is increased by 12. The resul is 28. A) Wrie an equaion o find he number. B) Solve your equaion o find he number. 2 A number is decreased by 6. The resul is 15. A) Wrie an equaion
More informationCircuit Variables. AP 1.1 Use a product of ratios to convert two-thirds the speed of light from meters per second to miles per second: 1 ft 12 in
Circui Variables 1 Assessmen Problems AP 1.1 Use a produc of raios o conver wo-hirds he speed of ligh from meers per second o miles per second: ( ) 2 3 1 8 m 3 1 s 1 cm 1 m 1 in 2.54 cm 1 f 12 in 1 mile
More informationnon -negative cone Population dynamics motivates the study of linear models whose coefficient matrices are non-negative or positive.
LECTURE 3 Linear/Nonnegaive Marix Models x ( = Px ( A= m m marix, x= m vecor Linear sysems of difference equaions arise in several difference conexs: Linear approximaions (linearizaion Perurbaion analysis
More informationDesigning Information Devices and Systems I Spring 2019 Lecture Notes Note 17
EES 16A Designing Informaion Devices and Sysems I Spring 019 Lecure Noes Noe 17 17.1 apaciive ouchscreen In he las noe, we saw ha a capacior consiss of wo pieces on conducive maerial separaed by a nonconducive
More informationComparing Means: t-tests for One Sample & Two Related Samples
Comparing Means: -Tess for One Sample & Two Relaed Samples Using he z-tes: Assumpions -Tess for One Sample & Two Relaed Samples The z-es (of a sample mean agains a populaion mean) is based on he assumpion
More informationIB Physics Kinematics Worksheet
IB Physics Kinemaics Workshee Wrie full soluions and noes for muliple choice answers. Do no use a calculaor for muliple choice answers. 1. Which of he following is a correc definiion of average acceleraion?
More information6.003 Homework #8 Solutions
6.003 Homework #8 Soluions Problems. Fourier Series Deermine he Fourier series coefficiens a k for x () shown below. x ()= x ( + 0) 0 a 0 = 0 a k = e /0 sin(/0) for k 0 a k = π x()e k d = 0 0 π e 0 k d
More informationFamilies with no matchings of size s
Families wih no machings of size s Peer Franl Andrey Kupavsii Absrac Le 2, s 2 be posiive inegers. Le be an n-elemen se, n s. Subses of 2 are called families. If F ( ), hen i is called - uniform. Wha is
More informationL1, L2, N1 N2. + Vout. C out. Figure 2.1.1: Flyback converter
page 11 Flyback converer The Flyback converer belongs o he primary swiched converer family, which means here is isolaion beween in and oupu. Flyback converers are used in nearly all mains supplied elecronic
More informationIntermediate Macro In-Class Problems
Inermediae Macro In-Class Problems Exploring Romer Model June 14, 016 Today we will explore he mechanisms of he simply Romer model by exploring how economies described by his model would reac o exogenous
More informationHOMEWORK # 2: MATH 211, SPRING Note: This is the last solution set where I will describe the MATLAB I used to make my pictures.
HOMEWORK # 2: MATH 2, SPRING 25 TJ HITCHMAN Noe: This is he las soluion se where I will describe he MATLAB I used o make my picures.. Exercises from he ex.. Chaper 2.. Problem 6. We are o show ha y() =
More informationMath 333 Problem Set #2 Solution 14 February 2003
Mah 333 Problem Se #2 Soluion 14 February 2003 A1. Solve he iniial value problem dy dx = x2 + e 3x ; 2y 4 y(0) = 1. Soluion: This is separable; we wrie 2y 4 dy = x 2 + e x dx and inegrae o ge The iniial
More information72 Calculus and Structures
72 Calculus and Srucures CHAPTER 5 DISTANCE AND ACCUMULATED CHANGE Calculus and Srucures 73 Copyrigh Chaper 5 DISTANCE AND ACCUMULATED CHANGE 5. DISTANCE a. Consan velociy Le s ake anoher look a Mary s
More informationHomework 2 Solutions
Mah 308 Differenial Equaions Fall 2002 & 2. See he las page. Hoework 2 Soluions 3a). Newon s secon law of oion says ha a = F, an we know a =, so we have = F. One par of he force is graviy, g. However,
More information20. Applications of the Genetic-Drift Model
0. Applicaions of he Geneic-Drif Model 1) Deermining he probabiliy of forming any paricular combinaion of genoypes in he nex generaion: Example: If he parenal allele frequencies are p 0 = 0.35 and q 0
More informationChapter 7 Response of First-order RL and RC Circuits
Chaper 7 Response of Firs-order RL and RC Circuis 7.- The Naural Response of RL and RC Circuis 7.3 The Sep Response of RL and RC Circuis 7.4 A General Soluion for Sep and Naural Responses 7.5 Sequenial
More informationReaction Order Molecularity. Rate laws, Reaction Orders. Determining Reaction Order. Determining Reaction Order. Determining Reaction Order
Rae laws, Reacion Orders The rae or velociy of a chemical reacion is loss of reacan or appearance of produc in concenraion unis, per uni ime d[p] d[s] The rae law for a reacion is of he form Rae d[p] k[a]
More informationEEEB113 CIRCUIT ANALYSIS I
9/14/29 1 EEEB113 CICUIT ANALYSIS I Chaper 7 Firs-Order Circuis Maerials from Fundamenals of Elecric Circuis 4e, Alexander Sadiku, McGraw-Hill Companies, Inc. 2 Firs-Order Circuis -Chaper 7 7.2 The Source-Free
More informationIntegration Over Manifolds with Variable Coordinate Density
Inegraion Over Manifolds wih Variable Coordinae Densiy Absrac Chrisopher A. Lafore clafore@gmail.com In his paper, he inegraion of a funcion over a curved manifold is examined in he case where he curvaure
More informationLAB # 2 - Equilibrium (static)
AB # - Equilibrium (saic) Inroducion Isaac Newon's conribuion o physics was o recognize ha despie he seeming compleiy of he Unierse, he moion of is pars is guided by surprisingly simple aws. Newon's inspiraion
More informationPHYSICS 220 Lecture 02 Motion, Forces, and Newton s Laws Textbook Sections
PHYSICS 220 Lecure 02 Moion, Forces, and Newon s Laws Texbook Secions 2.2-2.4 Lecure 2 Purdue Universiy, Physics 220 1 Overview Las Lecure Unis Scienific Noaion Significan Figures Moion Displacemen: Δx
More informationSome Basic Information about M-S-D Systems
Some Basic Informaion abou M-S-D Sysems 1 Inroducion We wan o give some summary of he facs concerning unforced (homogeneous) and forced (non-homogeneous) models for linear oscillaors governed by second-order,
More informationdy dx = xey (a) y(0) = 2 (b) y(1) = 2.5 SOLUTION: See next page
Assignmen 1 MATH 2270 SOLUTION Please wrie ou complee soluions for each of he following 6 problems (one more will sill be added). You may, of course, consul wih your classmaes, he exbook or oher resources,
More information) were both constant and we brought them from under the integral.
YIELD-PER-RECRUIT (coninued The yield-per-recrui model applies o a cohor, bu we saw in he Age Disribuions lecure ha he properies of a cohor do no apply in general o a collecion of cohors, which is wha
More informationWEEK-3 Recitation PHYS 131. of the projectile s velocity remains constant throughout the motion, since the acceleration a x
WEEK-3 Reciaion PHYS 131 Ch. 3: FOC 1, 3, 4, 6, 14. Problems 9, 37, 41 & 71 and Ch. 4: FOC 1, 3, 5, 8. Problems 3, 5 & 16. Feb 8, 018 Ch. 3: FOC 1, 3, 4, 6, 14. 1. (a) The horizonal componen of he projecile
More informationBook Corrections for Optimal Estimation of Dynamic Systems, 2 nd Edition
Boo Correcions for Opimal Esimaion of Dynamic Sysems, nd Ediion John L. Crassidis and John L. Junins November 17, 017 Chaper 1 This documen provides correcions for he boo: Crassidis, J.L., and Junins,
More informationChapter 14 Chemical Kinetics
/5/4 Chaper 4 Chemical Kineics Chemical Kineics Raes of Reacions Chemical Kineics is he sudy of he rae of reacion. How fas does i ake place? Very Fas Reacions Very Slow Reacions Acid/Base Combusion Rusing
More informationPhysics for Scientists & Engineers 2
Direc Curren Physics for Scieniss & Engineers 2 Spring Semeser 2005 Lecure 16 This week we will sudy charges in moion Elecric charge moving from one region o anoher is called elecric curren Curren is all
More informationNotes 04 largely plagiarized by %khc
Noes 04 largely plagiarized by %khc Convoluion Recap Some ricks: x() () =x() x() (, 0 )=x(, 0 ) R ț x() u() = x( )d x() () =ẋ() This hen ells us ha an inegraor has impulse response h() =u(), and ha a differeniaor
More informationEECE251. Circuit Analysis I. Set 4: Capacitors, Inductors, and First-Order Linear Circuits
EEE25 ircui Analysis I Se 4: apaciors, Inducors, and Firs-Order inear ircuis Shahriar Mirabbasi Deparmen of Elecrical and ompuer Engineering Universiy of Briish olumbia shahriar@ece.ubc.ca Overview Passive
More informationMath Week 14 April 16-20: sections first order systems of linear differential equations; 7.4 mass-spring systems.
Mah 2250-004 Week 4 April 6-20 secions 7.-7.3 firs order sysems of linear differenial equaions; 7.4 mass-spring sysems. Mon Apr 6 7.-7.2 Sysems of differenial equaions (7.), and he vecor Calculus we need
More informationSOLUTIONS TO ECE 3084
SOLUTIONS TO ECE 384 PROBLEM 2.. For each sysem below, specify wheher or no i is: (i) memoryless; (ii) causal; (iii) inverible; (iv) linear; (v) ime invarian; Explain your reasoning. If he propery is no
More informationChapter 8 The Complete Response of RL and RC Circuits
Chaper 8 The Complee Response of RL and RC Circuis Seoul Naional Universiy Deparmen of Elecrical and Compuer Engineering Wha is Firs Order Circuis? Circuis ha conain only one inducor or only one capacior
More informationTechnical Report Doc ID: TR March-2013 (Last revision: 23-February-2016) On formulating quadratic functions in optimization models.
Technical Repor Doc ID: TR--203 06-March-203 (Las revision: 23-Februar-206) On formulaing quadraic funcions in opimizaion models. Auhor: Erling D. Andersen Convex quadraic consrains quie frequenl appear
More information( ) a system of differential equations with continuous parametrization ( T = R + These look like, respectively:
XIII. DIFFERENCE AND DIFFERENTIAL EQUATIONS Ofen funcions, or a sysem of funcion, are paramerized in erms of some variable, usually denoed as and inerpreed as ime. The variable is wrien as a funcion of
More informationChapter 4 AC Network Analysis
haper 4 A Nework Analysis Jaesung Jang apaciance Inducance and Inducion Time-Varying Signals Sinusoidal Signals Reference: David K. heng, Field and Wave Elecromagneics. Energy Sorage ircui Elemens Energy
More informationExplaining Total Factor Productivity. Ulrich Kohli University of Geneva December 2015
Explaining Toal Facor Produciviy Ulrich Kohli Universiy of Geneva December 2015 Needed: A Theory of Toal Facor Produciviy Edward C. Presco (1998) 2 1. Inroducion Toal Facor Produciviy (TFP) has become
More informationPhysics 1402: Lecture 22 Today s Agenda
Physics 142: ecure 22 Today s Agenda Announcemens: R - RV - R circuis Homework 6: due nex Wednesday Inducion / A curren Inducion Self-Inducance, R ircuis X X X X X X X X X long solenoid Energy and energy
More informationHamilton- J acobi Equation: Weak S olution We continue the study of the Hamilton-Jacobi equation:
M ah 5 7 Fall 9 L ecure O c. 4, 9 ) Hamilon- J acobi Equaion: Weak S oluion We coninue he sudy of he Hamilon-Jacobi equaion: We have shown ha u + H D u) = R n, ) ; u = g R n { = }. ). In general we canno
More informationIntroduction to AC Power, RMS RMS. ECE 2210 AC Power p1. Use RMS in power calculations. AC Power P =? DC Power P =. V I = R =. I 2 R. V p.
ECE MS I DC Power P I = Inroducion o AC Power, MS I AC Power P =? A Solp //9, // // correced p4 '4 v( ) = p cos( ω ) v( ) p( ) Couldn' we define an "effecive" volage ha would allow us o use he same relaionships
More information1 1 + x 2 dx. tan 1 (2) = ] ] x 3. Solution: Recall that the given integral is improper because. x 3. 1 x 3. dx = lim dx.
. Use Simpson s rule wih n 4 o esimae an () +. Soluion: Since we are using 4 seps, 4 Thus we have [ ( ) f() + 4f + f() + 4f 3 [ + 4 4 6 5 + + 4 4 3 + ] 5 [ + 6 6 5 + + 6 3 + ]. 5. Our funcion is f() +.
More informationHomework sheet Exercises done during the lecture of March 12, 2014
EXERCISE SESSION 2A FOR THE COURSE GÉOMÉTRIE EUCLIDIENNE, NON EUCLIDIENNE ET PROJECTIVE MATTEO TOMMASINI Homework shee 3-4 - Exercises done during he lecure of March 2, 204 Exercise 2 Is i rue ha he parameerized
More informationSecond-Order Differential Equations
WWW Problems and Soluions 3.1 Chaper 3 Second-Order Differenial Equaions Secion 3.1 Springs: Linear and Nonlinear Models www m Problem 3. (NonlinearSprings). A bod of mass m is aached o a wall b means
More informationMath From Scratch Lesson 34: Isolating Variables
Mah From Scrach Lesson 34: Isolaing Variables W. Blaine Dowler July 25, 2013 Conens 1 Order of Operaions 1 1.1 Muliplicaion and Addiion..................... 1 1.2 Division and Subracion.......................
More informationPhys1112: DC and RC circuits
Name: Group Members: Dae: TA s Name: Phys1112: DC and RC circuis Objecives: 1. To undersand curren and volage characerisics of a DC RC discharging circui. 2. To undersand he effec of he RC ime consan.
More information( ) ( ) if t = t. It must satisfy the identity. So, bulkiness of the unit impulse (hyper)function is equal to 1. The defining characteristic is
UNIT IMPULSE RESPONSE, UNIT STEP RESPONSE, STABILITY. Uni impulse funcion (Dirac dela funcion, dela funcion) rigorously defined is no sricly a funcion, bu disribuion (or measure), precise reamen requires
More information