Department of Chemical Engineering ChE-101: Approaches to Chemical Engineering Problem Solving MATLAB Tutorial VII

Save this PDF as:
 WORD  PNG  TXT  JPG

Size: px
Start display at page:

Download "Department of Chemical Engineering ChE-101: Approaches to Chemical Engineering Problem Solving MATLAB Tutorial VII"

Transcription

1 Tutoril VII: Liner Regression Lst updted 5/8/06 b G.G. Botte Deprtment of Chemicl Engineering ChE-0: Approches to Chemicl Engineering Problem Solving MATLAB Tutoril VII Liner Regression Using Lest Squre Method (lst updted 5/8/06 b GGB) Objectives: These tutorils re designed to show the introductor elements for n of the topics discussed. In lmost ll cses there re other ws to ccomplish the sme objective or higher level fetures tht cn be dded to the commnds below. An text below ppering fter the double prompt (>>) cn be entered in the Commnd Window directl or in n m-file. The following topics re covered in this tutoril; Introduction Procedure to perform liner regression in Mtlb Solved Problem using Mtlb (guided tour) Solved Problem using Excel (guided tour) Introduction: Regression of dt consists of getting mthemticl expression tht best fits ll the dt. Tht is given set of experimentl dt in which the dependent vrible is function of x the intention of regression is to determine nd expression for: = f( x) () For exmple set of experimentl dt could be predicted b using the following expression: = x + b () The objective of regression is to determine the vlues for the prmeters nd b. Notice tht in this cse the unknowns-the vribles to clculte- re nd b. Becuse the unknown vribles (coefficients) re liner the determintion of the coefficients is known s Liner Regression. There re different methods to perform liner regression the most common one is known s Lest Squre Method. As shown on the digrm below the lest squres method minimizes the sum of the squred distnces between the points nd the fitted line. Procedure to Perform Liner Regression in Mtlb: x

2 The objective is to determine the m prmeters ' ' ' ' nd ' ' etc. in the eqution = x + x +. m given set of n dt points (x x x m- ). This is done b writing out the eqution for ech dt point. This results in set of n equtions in m unknowns m x + x + x +. m = x + x + x +. x + x + x +. : x + x + x +. m m n n n m n where the first subscript on x identifies the independent vrible nd the second subscript signifies the dt point In mtrix nottion this is expressed s; Tht is UNKNOWNS x x x x x x x x x : x x x = : : n n n m n [ x]{ } = { } () In order to perform liner regression in Mtlb the objective is to determine the vector {} from Eq. (). This is done b using the formul given below: {} []\{} x (4) Notice tht wht is clled mtrix [x] ws built b combining ech of the individul independent vrible column vectors {x } {x } {x } nd unit column vector (vector which constituents re ll ) s shown in the schemtic representtion given below:

3 Tutoril VII: Liner Regression Lst updted 5/8/06 b G.G. Botte x + x + x +. m x + x + x +. m x + x + x +. m : x + x + x +. n n n m n x x x x x x x x x : x x x = : : n n n m n Unit vector The procedure to perform liner regression in Mtlb is summrized below:. Input the experimentl dt in the mfile. For exmple input the vectors {} {x } {x } {x } etc. Mke sure tht the vectors re column vectors. If ou input the vectors s row vectors use the trnspose (See Tutoril III p.6). Crete the unit column vector. Crete the mtrix [x] b combining ech of the individul column vectors nd the unit vector (See Tutoril III p. 4) 4. Appl Eq. (4) to clculte the coefficient vector {}. These re the prmeters for our eqution. 5. Determine how good is our fit b:. Clculte the predicted vlue b. Clculte the difference between the predicted vlue nd the experimentl vlue c. Mke tble tht shows the differences (experimentl dt predicted vlue nd difference between experimentl dt nd predicted vlue) d. Plot the experimentl dt (using plot see Tutoril V.b) e. Plot the eqution (using fplot see Tutoril V.b)

4 Solved Problem using Mtlb: Develop liner correltion to predict the finl weight of n niml bsed on the initil weight nd the mount of feed eten. (finl weight) = (initil weight) + *(feed eten) + The following dt re given: finl weight (lb) initil weight (lb) feed eten (lb) Solution: The mfile is shown below: % This progrm shows n exmple of liner regression in Mtlb % Developed b Gerrdine Botte % Creted on: 05/8/06 % Lst modified on: 05/8/06 % Che-0 Spring 06 % Solution to Solved Problem Tutoril VII % The progrm clcultes the best fit prmeters for correltion % representing the finl weight of nimls given the initil weight % nd the mount of food eten: % fw=*initwgt+*feed+ % cler; clc; fprintf('this progrm shows n exmple of liner regression in Mtlb\n'); fprintf('developed b Gerrdine Botte\n'); fprintf('creted on: 05/8/06\n'); fprintf('lst modified on: 05/8/06\n'); fprintf('che-0 Spring 06\n'); fprintf('solution to Solved Problem Tutoril VII\n'); fprintf('the progrm clcultes the best fit prmeters for correltion\n'); fprintf('representing the finl weight of nimls given the initil weight\n'); fprintf('nd the mount of food eten\n'); 4

5 Tutoril VII: Liner Regression fprintf('fw=*initwgt+*feed+\n'); Lst updted 5/8/06 b G.G. Botte %Step of Procedure (see p. TVII): input the dt into vectors. initwgt = [ ]; % in lbs. (independent vrible) feed = [ ]; % in lbs. (independent vrible) fw = [95; 77; 80; 00; 97; 70; 50; 80; 9; 84]; % in lbs (dependent vrible). %becuse the dt is given s row vectors it needs to be trnsformed into column vectors initwgt=initwgt'; feed=feed'; %Step of Procedure (see p. TVII): Crete the unit column vector for i=:0 unit(i)=; end unit=unit'; %Step of Procedure (see p. TVII):Crete the mtrix [x] b combining ech of % the individul column vectors nd the unit vector (See Tutoril III p. 4) x=[initwgt feed unit]; %Step of Procedure (see p. TVII):4. Appl Eq. (4) to clculte the coefficient % vector {}. These re the prmeters for our eqution. =x\fw; %Mke sure to bring ll the vectors bck into row vectors so tht ou cn use for loops %for printingnd performing vector opertions %printing the prmeters initwgt=initwgt'; feed=feed'; ='; fw=fw'; fprintf('the coefficients for the regression re\n'); for i=: fprintf('(%i)= %4.f\n' i (i)); end %ou cn lso print the eqution b using fprintf: fprintf('fw = %4.f * initwgt + %4.f * feed + %4.f\n' () () ()); %Clculting the numbers predicted b the eqution nd the difference for i=:0 fwp(i)=initwgt(i)*()+feed(i)*()+(); %This is the predicted finl weight lbs dev(i)=fw(i)-fwp(i); %this is the devition lbs end %Mking the comprison tble: 5

6 fprintf(' \n'); fprintf('experimentl finl weight predicted finl weight devition\n'); fprintf(' lbs lbs lbs\n'); fprintf(' \n'); for i=:0 fprintf(' %5.f %5.f %5.f\n' fw(i) fwp(i) dev(i)); end fprintf(' \n'); This is wht ou will see on screen: Procedure to perform liner regression in Excel: Excel cn do single or multiple liner regression through the dt nlsis toolbox. This toolbox needs to be dded s n dd in. To illustrte how to perform liner regression in Excel let us solve the sme problem:. Write our dt into n Excel spredsheet s shown below: 6

7 Tutoril VII: Liner Regression Lst updted 5/8/06 b G.G. Botte. Lod the dt nlsis toolbox : Click on Anlsis ToolPk Press OK 7

8 . Go to Dt Anlsis nd find the Regression tool: 4. Click OK nd ou will be prompted to the Regression nlsis: Select the Y rnge Select the rnge where the independent vribles re simultneousl 8

9 Tutoril VII: Liner Regression 5. Mke the dditionl selections nd press OK Lst updted 5/8/06 b G.G. Botte 6. This is wht ou will see on the screen: SUMMARY OUTPUT Regression Sttistics Multiple R R Squre Adjusted R Squre Stndrd Error Observtions 0 The closer this vlue is to the better the fit is ANOVA df SS MS F ignificnce F Regression Residul Totl Coefficients Stndrd Error t Stt P-vlue Lower 95%Upper 95%Lower 95.0%Upper 95.0% Intercept X Vrible X Vrible RESIDUAL OUTPUT Fitting prmeters Observtion Predicted Y Residuls Difference between experimentl nd predicted vlue Predicted vlues 7. You will lern how to interpret more of the sttisticl results in the Experimentl Design Course. 9

Introduction to Determinants. Remarks. Remarks. The determinant applies in the case of square matrices

Introduction to Determinants. Remarks. Remarks. The determinant applies in the case of square matrices Introduction to Determinnts Remrks The determinnt pplies in the cse of squre mtrices squre mtrix is nonsingulr if nd only if its determinnt not zero, hence the term determinnt Nonsingulr mtrices re sometimes

More information

Ordinary Differential Equations- Boundary Value Problem

Ordinary Differential Equations- Boundary Value Problem Ordinry Differentil Equtions- Boundry Vlue Problem Shooting method Runge Kutt method Computer-bsed solutions o BVPFD subroutine (Fortrn IMSL subroutine tht Solves (prmeterized) system of differentil equtions

More information

Tests for the Ratio of Two Poisson Rates

Tests for the Ratio of Two Poisson Rates Chpter 437 Tests for the Rtio of Two Poisson Rtes Introduction The Poisson probbility lw gives the probbility distribution of the number of events occurring in specified intervl of time or spce. The Poisson

More information

Chapter 3 MATRIX. In this chapter: 3.1 MATRIX NOTATION AND TERMINOLOGY

Chapter 3 MATRIX. In this chapter: 3.1 MATRIX NOTATION AND TERMINOLOGY Chpter 3 MTRIX In this chpter: Definition nd terms Specil Mtrices Mtrix Opertion: Trnspose, Equlity, Sum, Difference, Sclr Multipliction, Mtrix Multipliction, Determinnt, Inverse ppliction of Mtrix in

More information

Continuous Random Variables

Continuous Random Variables STAT/MATH 395 A - PROBABILITY II UW Winter Qurter 217 Néhémy Lim Continuous Rndom Vribles Nottion. The indictor function of set S is rel-vlued function defined by : { 1 if x S 1 S (x) if x S Suppose tht

More information

CS 373, Spring Solutions to Mock midterm 1 (Based on first midterm in CS 273, Fall 2008.)

CS 373, Spring Solutions to Mock midterm 1 (Based on first midterm in CS 273, Fall 2008.) CS 373, Spring 29. Solutions to Mock midterm (sed on first midterm in CS 273, Fll 28.) Prolem : Short nswer (8 points) The nswers to these prolems should e short nd not complicted. () If n NF M ccepts

More information

Chapter 9: Inferences based on Two samples: Confidence intervals and tests of hypotheses

Chapter 9: Inferences based on Two samples: Confidence intervals and tests of hypotheses Chpter 9: Inferences bsed on Two smples: Confidence intervls nd tests of hypotheses 9.1 The trget prmeter : difference between two popultion mens : difference between two popultion proportions : rtio of

More information

NUMERICAL INTEGRATION. The inverse process to differentiation in calculus is integration. Mathematically, integration is represented by.

NUMERICAL INTEGRATION. The inverse process to differentiation in calculus is integration. Mathematically, integration is represented by. NUMERICAL INTEGRATION 1 Introduction The inverse process to differentition in clculus is integrtion. Mthemticlly, integrtion is represented by f(x) dx which stnds for the integrl of the function f(x) with

More information

PART 1 MULTIPLE CHOICE Circle the appropriate response to each of the questions below. Each question has a value of 1 point.

PART 1 MULTIPLE CHOICE Circle the appropriate response to each of the questions below. Each question has a value of 1 point. PART MULTIPLE CHOICE Circle the pproprite response to ech of the questions below. Ech question hs vlue of point.. If in sequence the second level difference is constnt, thn the sequence is:. rithmetic

More information

Topic 1 Notes Jeremy Orloff

Topic 1 Notes Jeremy Orloff Topic 1 Notes Jerem Orloff 1 Introduction to differentil equtions 1.1 Gols 1. Know the definition of differentil eqution. 2. Know our first nd second most importnt equtions nd their solutions. 3. Be ble

More information

Data Assimilation. Alan O Neill Data Assimilation Research Centre University of Reading

Data Assimilation. Alan O Neill Data Assimilation Research Centre University of Reading Dt Assimiltion Aln O Neill Dt Assimiltion Reserch Centre University of Reding Contents Motivtion Univrite sclr dt ssimiltion Multivrite vector dt ssimiltion Optiml Interpoltion BLUE 3d-Vritionl Method

More information

Alg. Sheet (1) Department : Math Form : 3 rd prep. Sheet

Alg. Sheet (1) Department : Math Form : 3 rd prep. Sheet Ciro Governorte Nozh Directorte of Eduction Nozh Lnguge Schools Ismili Rod Deprtment : Mth Form : rd prep. Sheet Alg. Sheet () [] Find the vlues of nd in ech of the following if : ) (, ) ( -5, 9 ) ) (,

More information

Arithmetic & Algebra. NCTM National Conference, 2017

Arithmetic & Algebra. NCTM National Conference, 2017 NCTM Ntionl Conference, 2017 Arithmetic & Algebr Hether Dlls, UCLA Mthemtics & The Curtis Center Roger Howe, Yle Mthemtics & Texs A & M School of Eduction Relted Common Core Stndrds First instnce of vrible

More information

Matrices and Determinants

Matrices and Determinants Nme Chpter 8 Mtrices nd Determinnts Section 8.1 Mtrices nd Systems of Equtions Objective: In this lesson you lerned how to use mtrices, Gussin elimintion, nd Guss-Jordn elimintion to solve systems of liner

More information

Section 6.1 INTRO to LAPLACE TRANSFORMS

Section 6.1 INTRO to LAPLACE TRANSFORMS Section 6. INTRO to LAPLACE TRANSFORMS Key terms: Improper Integrl; diverge, converge A A f(t)dt lim f(t)dt Piecewise Continuous Function; jump discontinuity Function of Exponentil Order Lplce Trnsform

More information

Measuring Electron Work Function in Metal

Measuring Electron Work Function in Metal n experiment of the Electron topic Mesuring Electron Work Function in Metl Instructor: 梁生 Office: 7-318 Emil: shling@bjtu.edu.cn Purposes 1. To understnd the concept of electron work function in metl nd

More information

STEP FUNCTIONS, DELTA FUNCTIONS, AND THE VARIATION OF PARAMETERS FORMULA. 0 if t < 0, 1 if t > 0.

STEP FUNCTIONS, DELTA FUNCTIONS, AND THE VARIATION OF PARAMETERS FORMULA. 0 if t < 0, 1 if t > 0. STEP FUNCTIONS, DELTA FUNCTIONS, AND THE VARIATION OF PARAMETERS FORMULA STEPHEN SCHECTER. The unit step function nd piecewise continuous functions The Heviside unit step function u(t) is given by if t

More information

Department of Physical Pharmacy and Pharmacokinetics Poznań University of Medical Sciences Pharmacokinetics laboratory

Department of Physical Pharmacy and Pharmacokinetics Poznań University of Medical Sciences Pharmacokinetics laboratory Deprtment of Physicl Phrmcy nd Phrmcoinetics Poznń University of Medicl Sciences Phrmcoinetics lbortory Experiment 1 Phrmcoinetics of ibuprofen s n exmple of the first-order inetics in n open one-comprtment

More information

Non-Linear & Logistic Regression

Non-Linear & Logistic Regression Non-Liner & Logistic Regression If the sttistics re boring, then you've got the wrong numbers. Edwrd R. Tufte (Sttistics Professor, Yle University) Regression Anlyses When do we use these? PART 1: find

More information

a a a a a a a a a a a a a a a a a a a a a a a a In this section, we introduce a general formula for computing determinants.

a a a a a a a a a a a a a a a a a a a a a a a a In this section, we introduce a general formula for computing determinants. Section 9 The Lplce Expnsion In the lst section, we defined the determinnt of (3 3) mtrix A 12 to be 22 12 21 22 2231 22 12 21. In this section, we introduce generl formul for computing determinnts. Rewriting

More information

DIRECT CURRENT CIRCUITS

DIRECT CURRENT CIRCUITS DRECT CURRENT CUTS ELECTRC POWER Consider the circuit shown in the Figure where bttery is connected to resistor R. A positive chrge dq will gin potentil energy s it moves from point to point b through

More information

Best Approximation. Chapter The General Case

Best Approximation. Chapter The General Case Chpter 4 Best Approximtion 4.1 The Generl Cse In the previous chpter, we hve seen how n interpolting polynomil cn be used s n pproximtion to given function. We now wnt to find the best pproximtion to given

More information

THERMAL EXPANSION COEFFICIENT OF WATER FOR VOLUMETRIC CALIBRATION

THERMAL EXPANSION COEFFICIENT OF WATER FOR VOLUMETRIC CALIBRATION XX IMEKO World Congress Metrology for Green Growth September 9,, Busn, Republic of Kore THERMAL EXPANSION COEFFICIENT OF WATER FOR OLUMETRIC CALIBRATION Nieves Medin Hed of Mss Division, CEM, Spin, mnmedin@mityc.es

More information

Chapter 4 Contravariance, Covariance, and Spacetime Diagrams

Chapter 4 Contravariance, Covariance, and Spacetime Diagrams Chpter 4 Contrvrince, Covrince, nd Spcetime Digrms 4. The Components of Vector in Skewed Coordintes We hve seen in Chpter 3; figure 3.9, tht in order to show inertil motion tht is consistent with the Lorentz

More information

The Wave Equation I. MA 436 Kurt Bryan

The Wave Equation I. MA 436 Kurt Bryan 1 Introduction The Wve Eqution I MA 436 Kurt Bryn Consider string stretching long the x xis, of indeterminte (or even infinite!) length. We wnt to derive n eqution which models the motion of the string

More information

Using QM for Windows. Using QM for Windows. Using QM for Windows LEARNING OBJECTIVES. Solving Flair Furniture s LP Problem

Using QM for Windows. Using QM for Windows. Using QM for Windows LEARNING OBJECTIVES. Solving Flair Furniture s LP Problem LEARNING OBJECTIVES Vlu%on nd pricing (November 5, 2013) Lecture 11 Liner Progrmming (prt 2) 10/8/16, 2:46 AM Olivier J. de Jong, LL.M., MM., MBA, CFD, CFFA, AA www.olivierdejong.com Solving Flir Furniture

More information

Precalculus Spring 2017

Precalculus Spring 2017 Preclculus Spring 2017 Exm 3 Summry (Section 4.1 through 5.2, nd 9.4) Section P.5 Find domins of lgebric expressions Simplify rtionl expressions Add, subtrct, multiply, & divide rtionl expressions Simplify

More information

4.1. Probability Density Functions

4.1. Probability Density Functions STT 1 4.1-4. 4.1. Proility Density Functions Ojectives. Continuous rndom vrile - vers - discrete rndom vrile. Proility density function. Uniform distriution nd its properties. Expected vlue nd vrince of

More information

#6A&B Magnetic Field Mapping

#6A&B Magnetic Field Mapping #6A& Mgnetic Field Mpping Gol y performing this lb experiment, you will: 1. use mgnetic field mesurement technique bsed on Frdy s Lw (see the previous experiment),. study the mgnetic fields generted by

More information

Acceptance Sampling by Attributes

Acceptance Sampling by Attributes Introduction Acceptnce Smpling by Attributes Acceptnce smpling is concerned with inspection nd decision mking regrding products. Three spects of smpling re importnt: o Involves rndom smpling of n entire

More information

Experiments with a Single Factor: The Analysis of Variance (ANOVA) Dr. Mohammad Abuhaiba 1

Experiments with a Single Factor: The Analysis of Variance (ANOVA) Dr. Mohammad Abuhaiba 1 Experiments with Single Fctor: The Anlsis of Vrince (ANOVA) Dr. Mohmmd Abuhib 1 Wht If There Are More Thn Two Fctor Levels? The t-test does not directl ppl There re lots of prcticl situtions where there

More information

Operations with Matrices

Operations with Matrices Section. Equlit of Mtrices Opertions with Mtrices There re three ws to represent mtri.. A mtri cn be denoted b n uppercse letter, such s A, B, or C.. A mtri cn be denoted b representtive element enclosed

More information

Calculus - Activity 1 Rate of change of a function at a point.

Calculus - Activity 1 Rate of change of a function at a point. Nme: Clss: p 77 Mths Helper Plus Resource Set. Copright 00 Bruce A. Vughn, Techers Choice Softwre Clculus - Activit Rte of chnge of function t point. ) Strt Mths Helper Plus, then lod the file: Clculus

More information

Physics 121 Sample Common Exam 1 NOTE: ANSWERS ARE ON PAGE 8. Instructions:

Physics 121 Sample Common Exam 1 NOTE: ANSWERS ARE ON PAGE 8. Instructions: Physics 121 Smple Common Exm 1 NOTE: ANSWERS ARE ON PAGE 8 Nme (Print): 4 Digit ID: Section: Instructions: Answer ll questions. uestions 1 through 16 re multiple choice questions worth 5 points ech. You

More information

4 VECTORS. 4.0 Introduction. Objectives. Activity 1

4 VECTORS. 4.0 Introduction. Objectives. Activity 1 4 VECTRS Chpter 4 Vectors jectives fter studying this chpter you should understnd the difference etween vectors nd sclrs; e le to find the mgnitude nd direction of vector; e le to dd vectors, nd multiply

More information

Lecture 8 Wrap-up Part1, Matlab

Lecture 8 Wrap-up Part1, Matlab Lecture 8 Wrp-up Prt1, Mtlb Homework Polic Plese stple our homework (ou will lose 10% credit if not stpled or secured) Submit ll problems in order. This mens to plce ever item relting to problem 3 (our

More information

Problem Set 9. Figure 1: Diagram. This picture is a rough sketch of the 4 parabolas that give us the area that we need to find. The equations are:

Problem Set 9. Figure 1: Diagram. This picture is a rough sketch of the 4 parabolas that give us the area that we need to find. The equations are: (x + y ) = y + (x + y ) = x + Problem Set 9 Discussion: Nov., Nov. 8, Nov. (on probbility nd binomil coefficients) The nme fter the problem is the designted writer of the solution of tht problem. (No one

More information

GG303 Lab 6 9/25/12. Components of cross product v2 x v1 N x N y N z. N=v2xv1. Plane trend ( ) Pole N. Plane. Pole N. plunge ( ) strike ( ) dip ( )

GG303 Lab 6 9/25/12. Components of cross product v2 x v1 N x N y N z. N=v2xv1. Plane trend ( ) Pole N. Plane. Pole N. plunge ( ) strike ( ) dip ( ) 1 Lb 6 ROTATIONS (163 pts totl) Eercise 1: Apprent dip problem (24 points totl) 1) An pprent dip of 62 to the southwest is mesured for bedding plne in verticl cross section tht strikes 230 (cll this pprent

More information

Module 2. Analysis of Statically Indeterminate Structures by the Matrix Force Method. Version 2 CE IIT, Kharagpur

Module 2. Analysis of Statically Indeterminate Structures by the Matrix Force Method. Version 2 CE IIT, Kharagpur Module Anlysis of Stticlly Indeterminte Structures by the Mtrix Force Method Version CE IIT, Khrgpur esson 8 The Force Method of Anlysis: Bems Version CE IIT, Khrgpur Instructionl Objectives After reding

More information

Chapter 2 Organizing and Summarizing Data. Chapter 3 Numerically Summarizing Data. Chapter 4 Describing the Relation between Two Variables

Chapter 2 Organizing and Summarizing Data. Chapter 3 Numerically Summarizing Data. Chapter 4 Describing the Relation between Two Variables Copyright 013 Peron Eduction, Inc. Tble nd Formul for Sullivn, Sttitic: Informed Deciion Uing Dt 013 Peron Eduction, Inc Chpter Orgnizing nd Summrizing Dt Reltive frequency = frequency um of ll frequencie

More information

Calculus 2: Integration. Differentiation. Integration

Calculus 2: Integration. Differentiation. Integration Clculus 2: Integrtion The reverse process to differentition is known s integrtion. Differentition f() f () Integrtion As it is the opposite of finding the derivtive, the function obtined b integrtion is

More information

interatomic distance

interatomic distance Dissocition energy of Iodine molecule using constnt devition spectrometer Tbish Qureshi September 2003 Aim: To verify the Hrtmnn Dispersion Formul nd to determine the dissocition energy of I 2 molecule

More information

Signal Flow Graphs. Consider a complex 3-port microwave network, constructed of 5 simpler microwave devices:

Signal Flow Graphs. Consider a complex 3-port microwave network, constructed of 5 simpler microwave devices: 3/3/009 ignl Flow Grphs / ignl Flow Grphs Consider comple 3-port microwve network, constructed of 5 simpler microwve devices: 3 4 5 where n is the scttering mtri of ech device, nd is the overll scttering

More information

Pre-Session Review. Part 1: Basic Algebra; Linear Functions and Graphs

Pre-Session Review. Part 1: Basic Algebra; Linear Functions and Graphs Pre-Session Review Prt 1: Bsic Algebr; Liner Functions nd Grphs A. Generl Review nd Introduction to Algebr Hierrchy of Arithmetic Opertions Opertions in ny expression re performed in the following order:

More information

Chapter 2. Determinants

Chapter 2. Determinants Chpter Determinnts The Determinnt Function Recll tht the X mtrix A c b d is invertible if d-bc0. The expression d-bc occurs so frequently tht it hs nme; it is clled the determinnt of the mtrix A nd is

More information

Normal Distribution. Lecture 6: More Binomial Distribution. Properties of the Unit Normal Distribution. Unit Normal Distribution

Normal Distribution. Lecture 6: More Binomial Distribution. Properties of the Unit Normal Distribution. Unit Normal Distribution Norml Distribution Lecture 6: More Binomil Distribution If X is rndom vrible with norml distribution with men µ nd vrince σ 2, X N (µ, σ 2, then P(X = x = f (x = 1 e 1 (x µ 2 2 σ 2 σ Sttistics 104 Colin

More information

Math 113 Exam 2 Practice

Math 113 Exam 2 Practice Mth 3 Exm Prctice Februry 8, 03 Exm will cover 7.4, 7.5, 7.7, 7.8, 8.-3 nd 8.5. Plese note tht integrtion skills lerned in erlier sections will still be needed for the mteril in 7.5, 7.8 nd chpter 8. This

More information

INTRODUCTION TO LINEAR ALGEBRA

INTRODUCTION TO LINEAR ALGEBRA ME Applied Mthemtics for Mechnicl Engineers INTRODUCTION TO INEAR AGEBRA Mtrices nd Vectors Prof. Dr. Bülent E. Pltin Spring Sections & / ME Applied Mthemtics for Mechnicl Engineers INTRODUCTION TO INEAR

More information

Terminal Velocity and Raindrop Growth

Terminal Velocity and Raindrop Growth Terminl Velocity nd Rindrop Growth Terminl velocity for rindrop represents blnce in which weight mss times grvity is equl to drg force. F 3 π3 ρ L g in which is drop rdius, g is grvittionl ccelertion,

More information

Purpose of the experiment

Purpose of the experiment Newton s Lws II PES 6 Advnced Physics Lb I Purpose of the experiment Exmine two cses using Newton s Lws. Sttic ( = 0) Dynmic ( 0) fyi fyi Did you know tht the longest recorded flight of chicken is thirteen

More information

A New Statistic Feature of the Short-Time Amplitude Spectrum Values for Human s Unvoiced Pronunciation

A New Statistic Feature of the Short-Time Amplitude Spectrum Values for Human s Unvoiced Pronunciation Xiodong Zhung A ew Sttistic Feture of the Short-Time Amplitude Spectrum Vlues for Humn s Unvoiced Pronuncition IAODOG ZHUAG 1 1. Qingdo University, Electronics & Informtion College, Qingdo, 6671 CHIA Abstrct:

More information

M 1 = + x 2 f(x)dx M 2 =

M 1 = + x 2 f(x)dx M 2 = AppendixB The Delt method... Suppose you hve done study, over 4 yers, which yields 3 estimtes of survivl (sy, φ 1, φ 2, nd φ 3. But, suppose wht you re relly interested in is the estimte of the product

More information

We know that if f is a continuous nonnegative function on the interval [a, b], then b

We know that if f is a continuous nonnegative function on the interval [a, b], then b 1 Ares Between Curves c 22 Donld Kreider nd Dwight Lhr We know tht if f is continuous nonnegtive function on the intervl [, b], then f(x) dx is the re under the grph of f nd bove the intervl. We re going

More information

UNIVERSITY OF MALTA DEPARTMENT OF CHEMISTRY. CH237 - Chemical Thermodynamics and Kinetics. Tutorial Sheet VIII

UNIVERSITY OF MALTA DEPARTMENT OF CHEMISTRY. CH237 - Chemical Thermodynamics and Kinetics. Tutorial Sheet VIII UNIVERSITY OF MALTA DEPARTMENT OF CHEMISTRY CH237 - Chemicl Thermodynmics nd Kinetics Tutoril Sheet VIII 1 () (i) The rte of the rection A + 2B 3C + D ws reported s 1.0 mol L -1 s -1. Stte the rtes of

More information

Mathematics of Motion II Projectiles

Mathematics of Motion II Projectiles Chmp+ Fll 2001 Dn Stump 1 Mthemtics of Motion II Projectiles Tble of vribles t time v velocity, v 0 initil velocity ccelertion D distnce x position coordinte, x 0 initil position x horizontl coordinte

More information

38.2. The Uniform Distribution. Introduction. Prerequisites. Learning Outcomes

38.2. The Uniform Distribution. Introduction. Prerequisites. Learning Outcomes The Uniform Distribution 8. Introduction This Section introduces the simplest type of continuous probbility distribution which fetures continuous rndom vrible X with probbility density function f(x) which

More information

MATHS NOTES. SUBJECT: Maths LEVEL: Higher TEACHER: Aidan Roantree. The Institute of Education Topics Covered: Powers and Logs

MATHS NOTES. SUBJECT: Maths LEVEL: Higher TEACHER: Aidan Roantree. The Institute of Education Topics Covered: Powers and Logs MATHS NOTES The Institute of Eduction 06 SUBJECT: Mths LEVEL: Higher TEACHER: Aidn Rontree Topics Covered: Powers nd Logs About Aidn: Aidn is our senior Mths techer t the Institute, where he hs been teching

More information

USA Mathematical Talent Search Round 1 Solutions Year 21 Academic Year

USA Mathematical Talent Search Round 1 Solutions Year 21 Academic Year 1/1/21. Fill in the circles in the picture t right with the digits 1-8, one digit in ech circle with no digit repeted, so tht no two circles tht re connected by line segment contin consecutive digits.

More information

99/105 Comparison of OrcaFlex with standard theoretical results

99/105 Comparison of OrcaFlex with standard theoretical results 99/105 Comprison of OrcFlex ith stndrd theoreticl results 1. Introduction A number of stndrd theoreticl results from literture cn be modelled in OrcFlex. Such cses re, by virtue of being theoreticlly solvble,

More information

New Expansion and Infinite Series

New Expansion and Infinite Series Interntionl Mthemticl Forum, Vol. 9, 204, no. 22, 06-073 HIKARI Ltd, www.m-hikri.com http://dx.doi.org/0.2988/imf.204.4502 New Expnsion nd Infinite Series Diyun Zhng College of Computer Nnjing University

More information

approaches as n becomes larger and larger. Since e > 1, the graph of the natural exponential function is as below

approaches as n becomes larger and larger. Since e > 1, the graph of the natural exponential function is as below . Eponentil nd rithmic functions.1 Eponentil Functions A function of the form f() =, > 0, 1 is clled n eponentil function. Its domin is the set of ll rel f ( 1) numbers. For n eponentil function f we hve.

More information

Final Exam Study Guide

Final Exam Study Guide Finl Exm Study Guide Includes. Integrls & Antiderivtive Rules 2. Definite Integrls (Integrls with bounds) 3. Are Between Two Curves - Region Bounded by Two Curves 4. Consumer nd Producer Surplus. U-Substitution.

More information

The Atwood Machine OBJECTIVE INTRODUCTION APPARATUS THEORY

The Atwood Machine OBJECTIVE INTRODUCTION APPARATUS THEORY The Atwood Mchine OBJECTIVE To derive the ening of Newton's second lw of otion s it pplies to the Atwood chine. To explin how ss iblnce cn led to the ccelertion of the syste. To deterine the ccelertion

More information

CS S-12 Turing Machine Modifications 1. When we added a stack to NFA to get a PDA, we increased computational power

CS S-12 Turing Machine Modifications 1. When we added a stack to NFA to get a PDA, we increased computational power CS411-2015S-12 Turing Mchine Modifictions 1 12-0: Extending Turing Mchines When we dded stck to NFA to get PDA, we incresed computtionl power Cn we do the sme thing for Turing Mchines? Tht is, cn we dd

More information

set is not closed under matrix [ multiplication, ] and does not form a group.

set is not closed under matrix [ multiplication, ] and does not form a group. Prolem 2.3: Which of the following collections of 2 2 mtrices with rel entries form groups under [ mtrix ] multipliction? i) Those of the form for which c d 2 Answer: The set of such mtrices is not closed

More information

Section 4: Integration ECO4112F 2011

Section 4: Integration ECO4112F 2011 Reding: Ching Chpter Section : Integrtion ECOF Note: These notes do not fully cover the mteril in Ching, ut re ment to supplement your reding in Ching. Thus fr the optimistion you hve covered hs een sttic

More information

Determinants Chapter 3

Determinants Chapter 3 Determinnts hpter Specil se : x Mtrix Definition : the determinnt is sclr quntity defined for ny squre n x n mtrix nd denoted y or det(). x se ecll : this expression ppers in the formul for x mtrix inverse!

More information

DEFINITION OF ASSOCIATIVE OR DIRECT PRODUCT AND ROTATION OF VECTORS

DEFINITION OF ASSOCIATIVE OR DIRECT PRODUCT AND ROTATION OF VECTORS 3 DEFINITION OF ASSOCIATIVE OR DIRECT PRODUCT AND ROTATION OF VECTORS This chpter summrizes few properties of Cli ord Algebr nd describe its usefulness in e ecting vector rottions. 3.1 De nition of Associtive

More information

Add and Subtract Rational Expressions. You multiplied and divided rational expressions. You will add and subtract rational expressions.

Add and Subtract Rational Expressions. You multiplied and divided rational expressions. You will add and subtract rational expressions. TEKS 8. A..A, A.0.F Add nd Subtrct Rtionl Epressions Before Now You multiplied nd divided rtionl epressions. You will dd nd subtrct rtionl epressions. Why? So you cn determine monthly cr lon pyments, s

More information

Discrete Least-squares Approximations

Discrete Least-squares Approximations Discrete Lest-squres Approximtions Given set of dt points (x, y ), (x, y ),, (x m, y m ), norml nd useful prctice in mny pplictions in sttistics, engineering nd other pplied sciences is to construct curve

More information

Practice final exam solutions

Practice final exam solutions University of Pennsylvni Deprtment of Mthemtics Mth 26 Honors Clculus II Spring Semester 29 Prof. Grssi, T.A. Asher Auel Prctice finl exm solutions 1. Let F : 2 2 be defined by F (x, y (x + y, x y. If

More information

1 Online Learning and Regret Minimization

1 Online Learning and Regret Minimization 2.997 Decision-Mking in Lrge-Scle Systems My 10 MIT, Spring 2004 Hndout #29 Lecture Note 24 1 Online Lerning nd Regret Minimiztion In this lecture, we consider the problem of sequentil decision mking in

More information

Riemann Integrals and the Fundamental Theorem of Calculus

Riemann Integrals and the Fundamental Theorem of Calculus Riemnn Integrls nd the Fundmentl Theorem of Clculus Jmes K. Peterson Deprtment of Biologicl Sciences nd Deprtment of Mthemticl Sciences Clemson University September 16, 2013 Outline Grphing Riemnn Sums

More information

Overview. Before beginning this module, you should be able to: After completing this module, you should be able to:

Overview. Before beginning this module, you should be able to: After completing this module, you should be able to: Module.: Differentil Equtions for First Order Electricl Circuits evision: My 26, 2007 Produced in coopertion with www.digilentinc.com Overview This module provides brief review of time domin nlysis of

More information

CS/CE/SE 6367 Software Testing, Validation and Verification. Lecture 4 Code Coverage (II)

CS/CE/SE 6367 Software Testing, Validation and Verification. Lecture 4 Code Coverage (II) CS/CE/SE 6367 Softwre Testing, Vlidtion nd Verifiction Lecture 4 Code Coverge (II) 2/54 Lst Clss Code coverge Control-flow coverge Sttement coverge Brnch coverge Pth coverge Coverge Collection Tools EclEmm

More information

Testing categorized bivariate normality with two-stage. polychoric correlation estimates

Testing categorized bivariate normality with two-stage. polychoric correlation estimates Testing ctegorized bivrite normlity with two-stge polychoric correltion estimtes Albert Mydeu-Olivres Dept. of Psychology University of Brcelon Address correspondence to: Albert Mydeu-Olivres. Fculty of

More information

2.4 Linear Inequalities and Problem Solving

2.4 Linear Inequalities and Problem Solving Section.4 Liner Inequlities nd Problem Solving 77.4 Liner Inequlities nd Problem Solving S 1 Use Intervl Nottion. Solve Liner Inequlities Using the Addition Property of Inequlity. 3 Solve Liner Inequlities

More information

GRADE 4. Division WORKSHEETS

GRADE 4. Division WORKSHEETS GRADE Division WORKSHEETS Division division is shring nd grouping Division cn men shring or grouping. There re cndies shred mong kids. How mny re in ech shre? = 3 There re 6 pples nd go into ech bsket.

More information

Designing Information Devices and Systems I Fall 2016 Babak Ayazifar, Vladimir Stojanovic Homework 6. This homework is due October 11, 2016, at Noon.

Designing Information Devices and Systems I Fall 2016 Babak Ayazifar, Vladimir Stojanovic Homework 6. This homework is due October 11, 2016, at Noon. EECS 16A Designing Informtion Devices nd Systems I Fll 2016 Bk Ayzifr, Vldimir Stojnovic Homework 6 This homework is due Octoer 11, 2016, t Noon. 1. Homework process nd study group Who else did you work

More information

THE QUADRATIC RECIPROCITY LAW OF DUKE-HOPKINS. Circa 1870, G. Zolotarev observed that the Legendre symbol ( a p

THE QUADRATIC RECIPROCITY LAW OF DUKE-HOPKINS. Circa 1870, G. Zolotarev observed that the Legendre symbol ( a p THE QUADRATIC RECIPROCITY LAW OF DUKE-HOPKINS PETE L CLARK Circ 1870, Zolotrev observed tht the Legendre symbol ( p ) cn be interpreted s the sign of multipliction by viewed s permuttion of the set Z/pZ

More information

Math 100 Review Sheet

Math 100 Review Sheet Mth 100 Review Sheet Joseph H. Silvermn December 2010 This outline of Mth 100 is summry of the mteril covered in the course. It is designed to be study id, but it is only n outline nd should be used s

More information

4. GREEDY ALGORITHMS I

4. GREEDY ALGORITHMS I 4. GREEDY ALGORITHMS I coin chnging intervl scheduling scheduling to minimize lteness optiml cching Lecture slides by Kevin Wyne Copyright 2005 Person-Addison Wesley http://www.cs.princeton.edu/~wyne/kleinberg-trdos

More information

FUNCTIONS: Grade 11. or y = ax 2 +bx + c or y = a(x- x1)(x- x2) a y

FUNCTIONS: Grade 11. or y = ax 2 +bx + c or y = a(x- x1)(x- x2) a y FUNCTIONS: Grde 11 The prbol: ( p) q or = +b + c or = (- 1)(- ) The hperbol: p q The eponentil function: b p q Importnt fetures: -intercept : Let = 0 -intercept : Let = 0 Turning points (Where pplicble)

More information

expression simply by forming an OR of the ANDs of all input variables for which the output is

expression simply by forming an OR of the ANDs of all input variables for which the output is 2.4 Logic Minimiztion nd Krnugh Mps As we found ove, given truth tle, it is lwys possile to write down correct logic expression simply y forming n OR of the ANDs of ll input vriles for which the output

More information

A new algorithm for generating Pythagorean triples 1

A new algorithm for generating Pythagorean triples 1 A new lgorithm for generting Pythgoren triples 1 RH Dye 2 nd RWD Nicklls 3 The Mthemticl Gzette (1998; 82 (Mrch, No. 493, pp. 86 91 http://www.nicklls.org/dick/ppers/mths/pythgtriples1998.pdf 1 Introduction

More information

Chapter 2 Finite Automata

Chapter 2 Finite Automata Chpter 2 Finite Automt 28 2.1 Introduction Finite utomt: first model of the notion of effective procedure. (They lso hve mny other pplictions). The concept of finite utomton cn e derived y exmining wht

More information

DATABASTEKNIK - 1DL116

DATABASTEKNIK - 1DL116 DATABASTEKNIK - DL6 Spring 004 An introductury course on dtse systems http://user.it.uu.se/~udl/dt-vt004/ Kjell Orsorn Uppsl Dtse Lortory Deprtment of Informtion Technology, Uppsl University, Uppsl, Sweden

More information

On the Uncertainty of Sensors Based on Magnetic Effects. E. Hristoforou, E. Kayafas, A. Ktena, DM Kepaptsoglou

On the Uncertainty of Sensors Based on Magnetic Effects. E. Hristoforou, E. Kayafas, A. Ktena, DM Kepaptsoglou On the Uncertinty of Sensors Bsed on Mgnetic Effects E. ristoforou, E. Kyfs, A. Kten, DM Kepptsoglou Ntionl Technicl University of Athens, Zogrfou Cmpus, Athens 1578, Greece Tel: +3177178, Fx: +3177119,

More information

The solutions of the single electron Hamiltonian were shown to be Bloch wave of the form: ( ) ( ) ikr

The solutions of the single electron Hamiltonian were shown to be Bloch wave of the form: ( ) ( ) ikr Lecture #1 Progrm 1. Bloch solutions. Reciprocl spce 3. Alternte derivtion of Bloch s theorem 4. Trnsforming the serch for egenfunctions nd eigenvlues from solving PDE to finding the e-vectors nd e-vlues

More information

University of Washington Department of Chemistry Chemistry 453 Winter Quarter 2010 Homework Assignment 4; Due at 5p.m. on 2/01/10

University of Washington Department of Chemistry Chemistry 453 Winter Quarter 2010 Homework Assignment 4; Due at 5p.m. on 2/01/10 University of Wshington Deprtment of Chemistry Chemistry 45 Winter Qurter Homework Assignment 4; Due t 5p.m. on // We lerned tht the Hmiltonin for the quntized hrmonic oscilltor is ˆ d κ H. You cn obtin

More information

MA Handout 2: Notation and Background Concepts from Analysis

MA Handout 2: Notation and Background Concepts from Analysis MA350059 Hndout 2: Nottion nd Bckground Concepts from Anlysis This hndout summrises some nottion we will use nd lso gives recp of some concepts from other units (MA20023: PDEs nd CM, MA20218: Anlysis 2A,

More information

Kinematic Waves. These are waves which result from the conservation equation. t + I = 0. (2)

Kinematic Waves. These are waves which result from the conservation equation. t + I = 0. (2) Introduction Kinemtic Wves These re wves which result from the conservtion eqution E t + I = 0 (1) where E represents sclr density field nd I, its outer flux. The one-dimensionl form of (1) is E t + I

More information

The Basic Functional 2 1

The Basic Functional 2 1 2 The Bsic Functionl 2 1 Chpter 2: THE BASIC FUNCTIONAL TABLE OF CONTENTS Pge 2.1 Introduction..................... 2 3 2.2 The First Vrition.................. 2 3 2.3 The Euler Eqution..................

More information

pivot F 2 F 3 F 1 AP Physics 1 Practice Exam #3 (2/11/16)

pivot F 2 F 3 F 1 AP Physics 1 Practice Exam #3 (2/11/16) AP Physics 1 Prctice Exm #3 (/11/16) Directions: Ech questions or incomplete sttements below is followed by four suggested nswers or completions. Select one tht is best in ech cse nd n enter pproprite

More information

20 MATHEMATICS POLYNOMIALS

20 MATHEMATICS POLYNOMIALS 0 MATHEMATICS POLYNOMIALS.1 Introduction In Clss IX, you hve studied polynomils in one vrible nd their degrees. Recll tht if p(x) is polynomil in x, the highest power of x in p(x) is clled the degree of

More information

DETERMINANTS. All Mathematical truths are relative and conditional. C.P. STEINMETZ

DETERMINANTS. All Mathematical truths are relative and conditional. C.P. STEINMETZ DETERMINANTS Chpter 4 All Mthemticl truths re reltive nd conditionl. C.P. STEINMETZ 4. Introduction In the previous chpter, we hve studied bout mtrices nd lgebr of mtrices. We hve lso lernt tht sstem of

More information

Worksheet A EXPONENTIALS AND LOGARITHMS PMT. 1 Express each of the following in the form log a b = c. a 10 3 = 1000 b 3 4 = 81 c 256 = 2 8 d 7 0 = 1

Worksheet A EXPONENTIALS AND LOGARITHMS PMT. 1 Express each of the following in the form log a b = c. a 10 3 = 1000 b 3 4 = 81 c 256 = 2 8 d 7 0 = 1 C Worksheet A Epress ech of the following in the form log = c. 0 = 000 4 = 8 c 56 = 8 d 7 0 = e = f 5 = g 7 9 = 9 h 6 = 6 Epress ech of the following using inde nottion. log 5 5 = log 6 = 4 c 5 = log 0

More information

SULIT /2 3472/2 Matematik Tambahan Kertas 2 2 ½ jam 2009 SEKOLAH-SEKOLAH MENENGAH ZON A KUCHING

SULIT /2 3472/2 Matematik Tambahan Kertas 2 2 ½ jam 2009 SEKOLAH-SEKOLAH MENENGAH ZON A KUCHING SULIT 1 347/ 347/ Mtemtik Tmbhn Kerts ½ jm 009 SEKOLAH-SEKOLAH MENENGAH ZON A KUCHING PEPERIKSAAN PERCUBAAN SIJIL PELAJARAN MALAYSIA 009 MATEMATIK TAMBAHAN Kerts Du jm tig puluh minit JANGAN BUKA KERTAS

More information

Big idea in Calculus: approximation

Big idea in Calculus: approximation Big ide in Clculus: pproximtion Derivtive: f (x) = df dx f f(x +h) f(x) =, x h rte of chnge is pproximtely the rtio of chnges in the function vlue nd in the vrible in very short time Liner pproximtion:

More information

Strategy: Use the Gibbs phase rule (Equation 5.3). How many components are present?

Strategy: Use the Gibbs phase rule (Equation 5.3). How many components are present? University Chemistry Quiz 4 2014/12/11 1. (5%) Wht is the dimensionlity of the three-phse coexistence region in mixture of Al, Ni, nd Cu? Wht type of geometricl region dose this define? Strtegy: Use the

More information