MATLAB: M-files; Numerical Integration Last revised : March, 2003
|
|
- Clarissa Kennedy
- 7 years ago
- Views:
Transcription
1 MATLAB: M-files; Numericl Integrtion Lst revised : Mrch, 00 Introduction to M-files In this tutoril we lern the bsics of working with M-files in MATLAB, so clled becuse they must use.m for their filenme extension. There re two types of M-files: A script is collection of MATLAB commnds which re executed just s if they hd been typed in t the commnd line. When the script is finished running, ny vribles defined in the script re still vilble in the current MATLAB commnd-line environment. Executing MATLAB commnds from within script, even for reltively simple tsks, mkes it much esier to reproduce results lter, or to rerun the sme clcultions with different prmeter settings. At the sme time the script serves s record of your ctivity nd cn serve s useful strting point for future projects. A function ccepts input rguments nd returns output rguments, similr to functions in structured progrmming lnguges such s JAVA, C, nd FORTRAN. Vribles defined in function re locl to the function. The vribles creted in the function re not directly ccessible from the commnd line once the function completes execution. The Windows version of MATLAB provides text editor for creting nd modifying M-files. Throughout this document it is ssumed tht the reder is running the student version of MATLAB6 on the Windows pltform. In this cse the defult working directory is typiclly C:\mtlb_sv\work nd the M-file editor will sve the M-files to this directory unless the user specifies otherwise. The MATLAB principles will be introduced in the context of lerning severl methods of numericl integrtion. At the of the tutoril we will hve produced MATLAB code tht cn be used to pproximte definite integrls. Numericl integrtion To pproximte the definite integrl f (x dx we first divide the intervl [, b] into n subintervls, ech of length h = (b /n. The points of the subintervls re denoted by the points x, x,..., +, where x = nd + = b. We write y i to denote the evlution of f (x t node x i, y i = f (x i. The i th subintervl is given by [x i, x i+ ], with x i+ x i = h, for i =,..., n. [The points re indexed s,,..., n + to coincide with the indexing of rry elements in Mtlb. In the textbook the grid points re indexed s 0,,..., n.] The left-point pproximtion uses n rectngles of width h to pproximte the integrl. The height of the rectngle for intervl [x i, x i+ ] is given by f (x i, the vlue of the function t the left point. The re of the i th rectngle is A i = h f (x i = hy i. Summing over the n rectngles yields the pproximtion: Left Endpoint Approx (n=8 hy i = h ( y + y + + y n. = Ln x x + Use the pwd commnd to confirm the current working directory. To chnge the current directory, enter cd dir_nme from the commnd line, or choose MATLAB Current Directory from the MATLAB Lunch Pd.
2 For the right-point pproximtion the height of the rectngle for the intervl [x i, x i+ ] is given by f (x i+, the vlue of the function t the right point. hy i+ = h ( y + y + + y n+. = Rn x Right Endpoint Approx (n=8 x + The trpezoidl rule uses n trpezoids of width h to pproximte the definite integrl. The top edge of the trpezoid for the subintervl [x i, x i+ ] is the line segment connecting the two points (x i, y i nd (x i+, y i+. The re of the i th trpezoid is given by A i = h(y i + y i+ /. Summing over the n trpezoids, h ( h (. yi + y i+ = y + y + y + + y n + y n+ = Tn ( The trpezoidl rule is equivlent to verging the left-point nd right-point pproximtions, Creting MATLAB script T n = ( L n + R n /. ( We first write MATLAB script tht clcultes the left-point, right-point, nd trpezoidl pproximtions for prticulr definite integrl. After the script is verified to be working, we will convert it into MATLAB function nd lter incorporte two dditionl pproximtions, the midpoint rule nd Simpson s rule. As test cse for our numericl integrtion, we will pproximte the definite integrl of f (x = 4/(+x on the intervl [0, ]. In section.6 of the Stewrt text we used implicit differentition to show tht the derivtive of rctn x is the function /( + x. In the lnguge of section 4.9 we sy rctn x is n ntiderivtive of the function /( + x. Applying the evlution theorem in section 5., x dx = 4 rctn x 0 = 4 ( π 4 0 = π ( After strting up MATLAB enter the commnd pwd to confirm the nme of the current working directory. This current directory is where your M-files will be stored. >> pwd ns = C:\mtlb_sv\work % print nme of working directory % M-files will be sved here Note: When copying commnds from this document into your own M-files or to the commnd line, the percent sign (% mrks the rest of the line s comment. It is not necessry to copy the comments. To crete new M-file, select File New M-file from the menu br. The M-file editor strts up with n empty window. Copy the following MATLAB commnds into the new M-file. = 0.0; b =.0; n = 8; h = (b - / n; cler x y; x( = ; y( = 4 / ( + x(ˆ; % integrte f(x from =0 to b= % number of subintervls; n EVEN % width of subintervls % remove current vlues of d y % first node is the left point
3 for i = :n x(i+ = x(i + h; y(i+ = 4 / ( + x(i+ˆ; Ln = 0; Rn = 0; for i = :n Ln = Ln + y(i; Rn = Rn + y(i+; Ln = h*ln; Rn = h*rn; Tn = (Ln + Rn / ; % i =,,..., n-, n % x(=x(+h; x(=x(+h;... % y(i = 4 / ( + x(i*x(i % initilize the sums to 0 % left-point % right-point % left-point pproximtion % right-point pproximtion % trpezoidl pprox; eqution ( fprintf(, n = %d\n, n; % disply some results fprintf(, Ln = %.f error= %.e\n, Ln, Ln - pi; fprintf(, Rn = %.f error= %.e\n, Rn, Rn - pi; fprintf(, Tn = %.f error= %.e\n, Tn, Tn - pi; The function fprintf is for writing formtted dt to file. To sve the new M-file to the disk, choose File Sve from the editor s pull-down menu nd follow the dilog box. To test the new script, enter the nme of the script from the Commnd Window. This writeup ssumes the script hs been nmed ms.m. If MATLAB reports n error, use the editor to mke the corrections, sve the revised file, nd rerun ms. Once the progrm is working correctly you should see the following output: >> ms n = 8 Ln = Rn = Tn = error=.e-0 error= -.8e-0 error= -.60e-0 Converting the script to function Incresing the vlue of n in the script ms.m will improve the ccurcy of the numericl integrtion. However, ech new vlue of n requires editing the M-file, chnging the vlue of n, nd sving the revised file. Here it will be helpful to first convert the script into function so tht the number of subintervls is controlled through the vlue of n input rgument. The function will require single input rgument, the number of subintervls n, nd return single output rgument, the trpezoidl pproximtion for the definite integrl. Note tht n must be positive even integer. Rther thn overwrite the working script, first crete new file mf.m tht is just copy of the file ms.m. In this new file, delete the line n = 8 nd, t the very top of the file, dd the following line of Mtlb code: function Tn = mf(n The first line of the file identifies mf s function tht cn be clled with single input rgument. The input vlue will be copied to the vrible n inside the function. The contents of the vrible Tn re returned to the With the first rgument of fprintf set to the output goes to the Commnd Window. The second rgument is string for specifying the output formt. For exmple, %d specifies deciml integer output, %.f specifies rel numbers with twelve digits to the right of the deciml point, %.e specifies exponentil nottion with two digits to the right of the deciml point (three significnt digits, nd \n produces linefeed.
4 progrm tht clled mf (just the Commnd Window in this cse. After sving these chnges, run the new function for different vlues of n. For exmple, pss the number 8 to duplicte the erlier results. >> mf(8 n = 8 Ln = Rn = Tn = ns =.90 error=.e-0 error= -.8e-0 error= -.60e-0 Clling the function with the commnd S = mf(8 will sve the output in the vrible S. Exercise : Run your function mf.m using incresing vlues of the input rgument p. Wht is the smllest vlue of n tht mkes the bsolute vlue of the error in Tn less thn 0 6? Less thn 0 8? The midpoint rule For the sme collection of n subintervls with points x, x,...,, +, the midpoint pproximtion uses n/ rectngles of width h to pproximte the integrl. For k =,..., n/, the k th subintervl is [x k, x k+ ] with midpoint x k. The height of the rectngle for this intervl is tken to be f (x k, the vlue of the function t the midpoint of the intervl, nd the re of the k th rectngle is A k = hy k. x Midpoint Approx (n=8 x 4 Summing the res from the n/ rectngles yields the midpoint pproximtion: n/ hy k = h (. y + y y n + y n = Mn (4 k= To include the midpoint pproximtion in your MATLAB function, dd the following code to the function mf.m. This new for loop cn be dded just fter the clcultion of Tn. Mn = 0; for k = :n/ Mn = Mn + y(*k; Mn = *h*mn; % initilize the sum to 0 % k =,,..., n/ % see eqution (4 % midpoint pproximtion Include nother printf sttement t the of the M-file. fprintf(, Mn = %.f error= %.e\n, Mn, Mn - pi; Exercise : Run mf.m nd compre the ccurcy of the midpoint nd trpezoidl pproximtions for severl vlues of the input rgument n. Comment on your observtions. Simpson s rule In ech of these integrtion methods the pproximtion formul is just the definite integrl for simple function tht pproximtes f (x. For exmple, the trpezoidl rule uses piecewise liner function. On It is ALWAYS good ide to first mke copy of the existing progrm before dding new fetures. If you re unble to get the revisions to work properly, you cn still return to working version of the progrm. 4
5 ech subintervl [x i, x i+ ] we integrte liner function in plce of f (x. The pproximting function is piecewise becuse the eqution of the liner function chnges from one subintervl to the next. Ech of the other three methods use piecewise constnt functions to pproximte f (x. With this point of view, we look to improve the ccurcy of the numericl integrtion by pproximting f (x with higher order polynomil. On ech subintervl [x k, x k+ ] of length h, there is exctly one second-order polynomil tht psses through the three points (x k, y k, (x k, y k, nd (x k+, y k+. The re under this polynomil is given by A k = h(y k + 4y k + y k+ /6, for k =,,..., n/. Summing these res (there re n/ subintervls of length h results in Simpson s Rule: n/ k= h ( h (. yk + 4y k + y k+ = y + 4y + y + 4y y n + y n+ = Sn (5 Simpson s rule cn lso be expressed s weighted verge of the trpezoidl nd midpoint rules. S n = ( T n + M n / (6 Exercise : Add the clcultion for Simpson s rule from eqution (6 to the function mf.m, including n dditionl fprintf sttement nd error clcultion. Chnge the function so it returns the vlue of the Simpson pproximtion rther thn the trpezoidl pproximtion. Compre the ccurcy of the different integrtion methods. Wht is the smllest vlue of n tht mkes the bsolute vlue of the error in S n less thn 0 6? Less thn 0 8? Exercise 4 : Modify the function mf.m to estimte the definite integrl 4 0 e x dx using Simpson s pproximtion. Clculte the Simpson pproximtion for incresing vlues of n = {, 4, 8, 6,...} until the difference S n S n/ < 0 0. In this exercise you must chnge in the M-file both the vlue of b nd the expressions for clculting y = f (x. The error clcultions (Tn - pi,... re no longer vlid for this exercise. The following code shows how one might proceed to cll mf once the function hs been revised. >> formt long; >> s8 = mf(8 ns =... >> s6 = mf(6 ns =... >> bs(s6 - s8 ns =... >>... % disply more significnt digits % disply Simpson pprox with n = 8 % disply Simpson pprox with n = 6 % disply the difference S_6 - S_8 % continue until difference <.0e-0 Record the finl vlue of n, the estimte S n with t lest significnt digits, nd the difference S n S n/. Exercise 5 : If f (x is ny third-order polynomil, show tht Simpson s rule with n = is exct for the definite integrl f (x dx. In other words, verify the following equlity: (Ax + Bx + Cx + D dx = h ( y + 4y + y First clculte the integrl on the left-hnd side in terms of the prmeters A, B, C, D, nd. Then clculte the right-hnd side where y i = f (x i = Ax i + Bx i + Cx i + D. In evluting the right-hnd side, you must first identify the vlue of h, nd the nodes x, x, x, in terms of the prmeter. You should be ble to show tht the two sides re equl for ny choice of the constnts A, B, C, D, nd. [ This is one reson for the populrity of Simpson s rule. We strted by pproximting the integrnd with piecewise second-order polynomil nd the method turns out to be exct for ll third-order polynomils. ] 5
Integration by Substitution
Integrtion by Substitution Dr. Philippe B. Lvl Kennesw Stte University August, 8 Abstrct This hndout contins mteril on very importnt integrtion method clled integrtion by substitution. Substitution is
More informationFactoring Polynomials
Fctoring Polynomils Some definitions (not necessrily ll for secondry school mthemtics): A polynomil is the sum of one or more terms, in which ech term consists of product of constnt nd one or more vribles
More informationBinary Representation of Numbers Autar Kaw
Binry Representtion of Numbers Autr Kw After reding this chpter, you should be ble to: 1. convert bse- rel number to its binry representtion,. convert binry number to n equivlent bse- number. In everydy
More informationUse Geometry Expressions to create a more complex locus of points. Find evidence for equivalence using Geometry Expressions.
Lerning Objectives Loci nd Conics Lesson 3: The Ellipse Level: Preclculus Time required: 120 minutes In this lesson, students will generlize their knowledge of the circle to the ellipse. The prmetric nd
More informationPolynomial Functions. Polynomial functions in one variable can be written in expanded form as ( )
Polynomil Functions Polynomil functions in one vrible cn be written in expnded form s n n 1 n 2 2 f x = x + x + x + + x + x+ n n 1 n 2 2 1 0 Exmples of polynomils in expnded form re nd 3 8 7 4 = 5 4 +
More informationCHAPTER 11 Numerical Differentiation and Integration
CHAPTER 11 Numericl Differentition nd Integrtion Differentition nd integrtion re bsic mthemticl opertions with wide rnge of pplictions in mny res of science. It is therefore importnt to hve good methods
More information5.2. LINE INTEGRALS 265. Let us quickly review the kind of integrals we have studied so far before we introduce a new one.
5.2. LINE INTEGRALS 265 5.2 Line Integrls 5.2.1 Introduction Let us quickly review the kind of integrls we hve studied so fr before we introduce new one. 1. Definite integrl. Given continuous rel-vlued
More informationGraphs on Logarithmic and Semilogarithmic Paper
0CH_PHClter_TMSETE_ 3//00 :3 PM Pge Grphs on Logrithmic nd Semilogrithmic Pper OBJECTIVES When ou hve completed this chpter, ou should be ble to: Mke grphs on logrithmic nd semilogrithmic pper. Grph empiricl
More informationAREA OF A SURFACE OF REVOLUTION
AREA OF A SURFACE OF REVOLUTION h cut r πr h A surfce of revolution is formed when curve is rotted bout line. Such surfce is the lterl boundr of solid of revolution of the tpe discussed in Sections 7.
More informationg(y(a), y(b)) = o, B a y(a)+b b y(b)=c, Boundary Value Problems Lecture Notes to Accompany
Lecture Notes to Accompny Scientific Computing An Introductory Survey Second Edition by Michel T Heth Boundry Vlue Problems Side conditions prescribing solution or derivtive vlues t specified points required
More informationExample A rectangular box without lid is to be made from a square cardboard of sides 18 cm by cutting equal squares from each corner and then folding
1 Exmple A rectngulr box without lid is to be mde from squre crdbord of sides 18 cm by cutting equl squres from ech corner nd then folding up the sides. 1 Exmple A rectngulr box without lid is to be mde
More information1. Find the zeros Find roots. Set function = 0, factor or use quadratic equation if quadratic, graph to find zeros on calculator
AP Clculus Finl Review Sheet When you see the words. This is wht you think of doing. Find the zeros Find roots. Set function =, fctor or use qudrtic eqution if qudrtic, grph to find zeros on clcultor.
More informationQUADRATURE METHODS. July 19, 2011. Kenneth L. Judd. Hoover Institution
QUADRATURE METHODS Kenneth L. Judd Hoover Institution July 19, 2011 1 Integrtion Most integrls cnnot be evluted nlyticlly Integrls frequently rise in economics Expected utility Discounted utility nd profits
More informationReview Problems for the Final of Math 121, Fall 2014
Review Problems for the Finl of Mth, Fll The following is collection of vrious types of smple problems covering sections.,.5, nd.7 6.6 of the text which constitute only prt of the common Mth Finl. Since
More informationReview guide for the final exam in Math 233
Review guide for the finl exm in Mth 33 1 Bsic mteril. This review includes the reminder of the mteril for mth 33. The finl exm will be cumultive exm with mny of the problems coming from the mteril covered
More informationHomework 3 Solutions
CS 341: Foundtions of Computer Science II Prof. Mrvin Nkym Homework 3 Solutions 1. Give NFAs with the specified numer of sttes recognizing ech of the following lnguges. In ll cses, the lphet is Σ = {,1}.
More information15.6. The mean value and the root-mean-square value of a function. Introduction. Prerequisites. Learning Outcomes. Learning Style
The men vlue nd the root-men-squre vlue of function 5.6 Introduction Currents nd voltges often vry with time nd engineers my wish to know the verge vlue of such current or voltge over some prticulr time
More informationExample 27.1 Draw a Venn diagram to show the relationship between counting numbers, whole numbers, integers, and rational numbers.
2 Rtionl Numbers Integers such s 5 were importnt when solving the eqution x+5 = 0. In similr wy, frctions re importnt for solving equtions like 2x = 1. Wht bout equtions like 2x + 1 = 0? Equtions of this
More information6.2 Volumes of Revolution: The Disk Method
mth ppliction: volumes of revolution, prt ii Volumes of Revolution: The Disk Method One of the simplest pplictions of integrtion (Theorem ) nd the ccumultion process is to determine so-clled volumes of
More informationThe Velocity Factor of an Insulated Two-Wire Transmission Line
The Velocity Fctor of n Insulted Two-Wire Trnsmission Line Problem Kirk T. McDonld Joseph Henry Lbortories, Princeton University, Princeton, NJ 08544 Mrch 7, 008 Estimte the velocity fctor F = v/c nd the
More informationOperations with Polynomials
38 Chpter P Prerequisites P.4 Opertions with Polynomils Wht you should lern: Write polynomils in stndrd form nd identify the leding coefficients nd degrees of polynomils Add nd subtrct polynomils Multiply
More informationPROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY
MAT 0630 INTERNET RESOURCES, REVIEW OF CONCEPTS AND COMMON MISTAKES PROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY Contents 1. ACT Compss Prctice Tests 1 2. Common Mistkes 2 3. Distributive
More informationSPECIAL PRODUCTS AND FACTORIZATION
MODULE - Specil Products nd Fctoriztion 4 SPECIAL PRODUCTS AND FACTORIZATION In n erlier lesson you hve lernt multipliction of lgebric epressions, prticulrly polynomils. In the study of lgebr, we come
More informationReasoning to Solve Equations and Inequalities
Lesson4 Resoning to Solve Equtions nd Inequlities In erlier work in this unit, you modeled situtions with severl vriles nd equtions. For exmple, suppose you were given usiness plns for concert showing
More informationTreatment Spring Late Summer Fall 0.10 5.56 3.85 0.61 6.97 3.01 1.91 3.01 2.13 2.99 5.33 2.50 1.06 3.53 6.10 Mean = 1.33 Mean = 4.88 Mean = 3.
The nlysis of vrince (ANOVA) Although the t-test is one of the most commonly used sttisticl hypothesis tests, it hs limittions. The mjor limittion is tht the t-test cn be used to compre the mens of only
More informationMath 135 Circles and Completing the Square Examples
Mth 135 Circles nd Completing the Squre Exmples A perfect squre is number such tht = b 2 for some rel number b. Some exmples of perfect squres re 4 = 2 2, 16 = 4 2, 169 = 13 2. We wish to hve method for
More informationIntegration. 148 Chapter 7 Integration
48 Chpter 7 Integrtion 7 Integrtion t ech, by supposing tht during ech tenth of second the object is going t constnt speed Since the object initilly hs speed, we gin suppose it mintins this speed, but
More information9.3. The Scalar Product. Introduction. Prerequisites. Learning Outcomes
The Sclr Product 9.3 Introduction There re two kinds of multipliction involving vectors. The first is known s the sclr product or dot product. This is so-clled becuse when the sclr product of two vectors
More informationHelicopter Theme and Variations
Helicopter Theme nd Vritions Or, Some Experimentl Designs Employing Pper Helicopters Some possible explntory vribles re: Who drops the helicopter The length of the rotor bldes The height from which the
More informationSection 5-4 Trigonometric Functions
5- Trigonometric Functions Section 5- Trigonometric Functions Definition of the Trigonometric Functions Clcultor Evlution of Trigonometric Functions Definition of the Trigonometric Functions Alternte Form
More informationSection 7-4 Translation of Axes
62 7 ADDITIONAL TOPICS IN ANALYTIC GEOMETRY Section 7-4 Trnsltion of Aes Trnsltion of Aes Stndrd Equtions of Trnslted Conics Grphing Equtions of the Form A 2 C 2 D E F 0 Finding Equtions of Conics In the
More informationThe Definite Integral
Chpter 4 The Definite Integrl 4. Determining distnce trveled from velocity Motivting Questions In this section, we strive to understnd the ides generted by the following importnt questions: If we know
More informationLecture 3 Gaussian Probability Distribution
Lecture 3 Gussin Probbility Distribution Introduction l Gussin probbility distribution is perhps the most used distribution in ll of science. u lso clled bell shped curve or norml distribution l Unlike
More information9 CONTINUOUS DISTRIBUTIONS
9 CONTINUOUS DISTIBUTIONS A rndom vrible whose vlue my fll nywhere in rnge of vlues is continuous rndom vrible nd will be ssocited with some continuous distribution. Continuous distributions re to discrete
More informationRegular Sets and Expressions
Regulr Sets nd Expressions Finite utomt re importnt in science, mthemtics, nd engineering. Engineers like them ecuse they re super models for circuits (And, since the dvent of VLSI systems sometimes finite
More informationAntiSpyware Enterprise Module 8.5
AntiSpywre Enterprise Module 8.5 Product Guide Aout the AntiSpywre Enterprise Module The McAfee AntiSpywre Enterprise Module 8.5 is n dd-on to the VirusScn Enterprise 8.5i product tht extends its ility
More informationMATH 150 HOMEWORK 4 SOLUTIONS
MATH 150 HOMEWORK 4 SOLUTIONS Section 1.8 Show tht the product of two of the numbers 65 1000 8 2001 + 3 177, 79 1212 9 2399 + 2 2001, nd 24 4493 5 8192 + 7 1777 is nonnegtive. Is your proof constructive
More informationwww.mathsbox.org.uk e.g. f(x) = x domain x 0 (cannot find the square root of negative values)
www.mthsbo.org.uk CORE SUMMARY NOTES Functions A function is rule which genertes ectl ONE OUTPUT for EVERY INPUT. To be defined full the function hs RULE tells ou how to clculte the output from the input
More informationSmall Business Networking
Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd business. Introducing technology
More informationExperiment 6: Friction
Experiment 6: Friction In previous lbs we studied Newton s lws in n idel setting, tht is, one where friction nd ir resistnce were ignored. However, from our everydy experience with motion, we know tht
More informationSmall Business Networking
Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd business. Introducing technology
More informationModule Summary Sheets. C3, Methods for Advanced Mathematics (Version B reference to new book) Topic 2: Natural Logarithms and Exponentials
MEI Mthemtics in Ection nd Instry Topic : Proof MEI Structured Mthemtics Mole Summry Sheets C, Methods for Anced Mthemtics (Version B reference to new book) Topic : Nturl Logrithms nd Eponentils Topic
More informationObject Semantics. 6.170 Lecture 2
Object Semntics 6.170 Lecture 2 The objectives of this lecture re to: to help you become fmilir with the bsic runtime mechnism common to ll object-oriented lnguges (but with prticulr focus on Jv): vribles,
More informationSmall Business Networking
Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology
More informationPhysics 43 Homework Set 9 Chapter 40 Key
Physics 43 Homework Set 9 Chpter 4 Key. The wve function for n electron tht is confined to x nm is. Find the normliztion constnt. b. Wht is the probbility of finding the electron in. nm-wide region t x
More informationLINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES
LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES DAVID WEBB CONTENTS Liner trnsformtions 2 The representing mtrix of liner trnsformtion 3 3 An ppliction: reflections in the plne 6 4 The lgebr of
More informationMathematics. Vectors. hsn.uk.net. Higher. Contents. Vectors 128 HSN23100
hsn.uk.net Higher Mthemtics UNIT 3 OUTCOME 1 Vectors Contents Vectors 18 1 Vectors nd Sclrs 18 Components 18 3 Mgnitude 130 4 Equl Vectors 131 5 Addition nd Subtrction of Vectors 13 6 Multipliction by
More informationNumerical Methods of Approximating Definite Integrals
6 C H A P T E R Numericl Methods o Approimting Deinite Integrls 6. APPROXIMATING SUMS: L n, R n, T n, AND M n Introduction Not only cn we dierentite ll the bsic unctions we ve encountered, polynomils,
More informationAlgebra Review. How well do you remember your algebra?
Algebr Review How well do you remember your lgebr? 1 The Order of Opertions Wht do we men when we write + 4? If we multiply we get 6 nd dding 4 gives 10. But, if we dd + 4 = 7 first, then multiply by then
More information4.11 Inner Product Spaces
314 CHAPTER 4 Vector Spces 9. A mtrix of the form 0 0 b c 0 d 0 0 e 0 f g 0 h 0 cnnot be invertible. 10. A mtrix of the form bc d e f ghi such tht e bd = 0 cnnot be invertible. 4.11 Inner Product Spces
More informationProtocol Analysis. 17-654/17-764 Analysis of Software Artifacts Kevin Bierhoff
Protocol Anlysis 17-654/17-764 Anlysis of Softwre Artifcts Kevin Bierhoff Tke-Awys Protocols define temporl ordering of events Cn often be cptured with stte mchines Protocol nlysis needs to py ttention
More informationBabylonian Method of Computing the Square Root: Justifications Based on Fuzzy Techniques and on Computational Complexity
Bbylonin Method of Computing the Squre Root: Justifictions Bsed on Fuzzy Techniques nd on Computtionl Complexity Olg Koshelev Deprtment of Mthemtics Eduction University of Texs t El Pso 500 W. University
More informationHow To Network A Smll Business
Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology
More informationEQUATIONS OF LINES AND PLANES
EQUATIONS OF LINES AND PLANES MATH 195, SECTION 59 (VIPUL NAIK) Corresponding mteril in the ook: Section 12.5. Wht students should definitely get: Prmetric eqution of line given in point-direction nd twopoint
More informationJava CUP. Java CUP Specifications. User Code Additions You may define Java code to be included within the generated parser:
Jv CUP Jv CUP is prser-genertion tool, similr to Ycc. CUP uilds Jv prser for LALR(1) grmmrs from production rules nd ssocited Jv code frgments. When prticulr production is recognized, its ssocited code
More informationSmall Business Networking
Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology
More informationUnit 6: Exponents and Radicals
Eponents nd Rdicls -: The Rel Numer Sstem Unit : Eponents nd Rdicls Pure Mth 0 Notes Nturl Numers (N): - counting numers. {,,,,, } Whole Numers (W): - counting numers with 0. {0,,,,,, } Integers (I): -
More informationRIGHT TRIANGLES AND THE PYTHAGOREAN TRIPLETS
RIGHT TRIANGLES AND THE PYTHAGOREAN TRIPLETS Known for over 500 yers is the fct tht the sum of the squres of the legs of right tringle equls the squre of the hypotenuse. Tht is +b c. A simple proof is
More information6 Energy Methods And The Energy of Waves MATH 22C
6 Energy Methods And The Energy of Wves MATH 22C. Conservtion of Energy We discuss the principle of conservtion of energy for ODE s, derive the energy ssocited with the hrmonic oscilltor, nd then use this
More informationApplications to Physics and Engineering
Section 7.5 Applictions to Physics nd Engineering Applictions to Physics nd Engineering Work The term work is used in everydy lnguge to men the totl mount of effort required to perform tsk. In physics
More informationVectors 2. 1. Recap of vectors
Vectors 2. Recp of vectors Vectors re directed line segments - they cn be represented in component form or by direction nd mgnitude. We cn use trigonometry nd Pythgors theorem to switch between the forms
More informationFUNCTIONS AND EQUATIONS. xεs. The simplest way to represent a set is by listing its members. We use the notation
FUNCTIONS AND EQUATIONS. SETS AND SUBSETS.. Definition of set. A set is ny collection of objects which re clled its elements. If x is n element of the set S, we sy tht x belongs to S nd write If y does
More informationWarm-up for Differential Calculus
Summer Assignment Wrm-up for Differentil Clculus Who should complete this pcket? Students who hve completed Functions or Honors Functions nd will be tking Differentil Clculus in the fll of 015. Due Dte:
More informationand thus, they are similar. If k = 3 then the Jordan form of both matrices is
Homework ssignment 11 Section 7. pp. 249-25 Exercise 1. Let N 1 nd N 2 be nilpotent mtrices over the field F. Prove tht N 1 nd N 2 re similr if nd only if they hve the sme miniml polynomil. Solution: If
More informationBasic Analysis of Autarky and Free Trade Models
Bsic Anlysis of Autrky nd Free Trde Models AUTARKY Autrky condition in prticulr commodity mrket refers to sitution in which country does not engge in ny trde in tht commodity with other countries. Consequently
More informationPROBLEMS 13 - APPLICATIONS OF DERIVATIVES Page 1
PROBLEMS - APPLICATIONS OF DERIVATIVES Pge ( ) Wter seeps out of conicl filter t the constnt rte of 5 cc / sec. When the height of wter level in the cone is 5 cm, find the rte t which the height decreses.
More informationModule 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 9 The Force Method of Anlysis: Bems (Continued) Version CE IIT, Khrgpur Instructionl Objectives
More informationAll pay auctions with certain and uncertain prizes a comment
CENTER FOR RESEARC IN ECONOMICS AND MANAGEMENT CREAM Publiction No. 1-2015 All py uctions with certin nd uncertin prizes comment Christin Riis All py uctions with certin nd uncertin prizes comment Christin
More informationOne Minute To Learn Programming: Finite Automata
Gret Theoreticl Ides In Computer Science Steven Rudich CS 15-251 Spring 2005 Lecture 9 Fe 8 2005 Crnegie Mellon University One Minute To Lern Progrmming: Finite Automt Let me tech you progrmming lnguge
More information3 The Utility Maximization Problem
3 The Utility Mxiiztion Proble We hve now discussed how to describe preferences in ters of utility functions nd how to forulte siple budget sets. The rtionl choice ssuption, tht consuers pick the best
More informationThe Riemann Integral. Chapter 1
Chpter The Riemnn Integrl now of some universities in Englnd where the Lebesgue integrl is tught in the first yer of mthemtics degree insted of the Riemnn integrl, but now of no universities in Englnd
More informationLinear Equations in Two Variables
Liner Equtions in Two Vribles In this chpter, we ll use the geometry of lines to help us solve equtions. Liner equtions in two vribles If, b, ndr re rel numbers (nd if nd b re not both equl to 0) then
More informationEuler Euler Everywhere Using the Euler-Lagrange Equation to Solve Calculus of Variation Problems
Euler Euler Everywhere Using the Euler-Lgrnge Eqution to Solve Clculus of Vrition Problems Jenine Smllwood Principles of Anlysis Professor Flschk My 12, 1998 1 1. Introduction Clculus of vritions is brnch
More informationThe invention of line integrals is motivated by solving problems in fluid flow, forces, electricity and magnetism.
Instrutor: Longfei Li Mth 43 Leture Notes 16. Line Integrls The invention of line integrls is motivted by solving problems in fluid flow, fores, eletriity nd mgnetism. Line Integrls of Funtion We n integrte
More informationExponential and Logarithmic Functions
Nme Chpter Eponentil nd Logrithmic Functions Section. Eponentil Functions nd Their Grphs Objective: In this lesson ou lerned how to recognize, evlute, nd grph eponentil functions. Importnt Vocbulr Define
More informationVirtual Machine. Part II: Program Control. Building a Modern Computer From First Principles. www.nand2tetris.org
Virtul Mchine Prt II: Progrm Control Building Modern Computer From First Principles www.nnd2tetris.org Elements of Computing Systems, Nisn & Schocken, MIT Press, www.nnd2tetris.org, Chpter 8: Virtul Mchine,
More informationProject 6 Aircraft static stability and control
Project 6 Aircrft sttic stbility nd control The min objective of the project No. 6 is to compute the chrcteristics of the ircrft sttic stbility nd control chrcteristics in the pitch nd roll chnnel. The
More informationHillsborough Township Public Schools Mathematics Department Computer Programming 1
Essentil Unit 1 Introduction to Progrmming Pcing: 15 dys Common Unit Test Wht re the ethicl implictions for ming in tody s world? There re ethicl responsibilities to consider when writing computer s. Citizenship,
More informationHow To Understand The Theory Of Inequlities
Ostrowski Type Inequlities nd Applictions in Numericl Integrtion Edited By: Sever S Drgomir nd Themistocles M Rssis SS Drgomir) School nd Communictions nd Informtics, Victori University of Technology,
More informationIntroduction to Integration Part 2: The Definite Integral
Mthemtics Lerning Centre Introduction to Integrtion Prt : The Definite Integrl Mr Brnes c 999 Universit of Sdne Contents Introduction. Objectives...... Finding Ares 3 Ares Under Curves 4 3. Wht is the
More informationExam 1 Study Guide. Differentiation and Anti-differentiation Rules from Calculus I
Exm Stuy Guie Mth 2020 - Clculus II, Winter 204 The following is list of importnt concepts from ech section tht will be teste on exm. This is not complete list of the mteril tht you shoul know for the
More informationBayesian Updating with Continuous Priors Class 13, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom
Byesin Updting with Continuous Priors Clss 3, 8.05, Spring 04 Jeremy Orloff nd Jonthn Bloom Lerning Gols. Understnd prmeterized fmily of distriutions s representing continuous rnge of hypotheses for the
More informationLecture 5. Inner Product
Lecture 5 Inner Product Let us strt with the following problem. Given point P R nd line L R, how cn we find the point on the line closest to P? Answer: Drw line segment from P meeting the line in right
More informationMA 15800 Lesson 16 Notes Summer 2016 Properties of Logarithms. Remember: A logarithm is an exponent! It behaves like an exponent!
MA 5800 Lesson 6 otes Summer 06 Rememer: A logrithm is n eponent! It ehves like n eponent! In the lst lesson, we discussed four properties of logrithms. ) log 0 ) log ) log log 4) This lesson covers more
More informationMODULE 3. 0, y = 0 for all y
Topics: Inner products MOULE 3 The inner product of two vectors: The inner product of two vectors x, y V, denoted by x, y is (in generl) complex vlued function which hs the following four properties: i)
More informationData replication in mobile computing
Technicl Report, My 2010 Dt repliction in mobile computing Bchelor s Thesis in Electricl Engineering Rodrigo Christovm Pmplon HALMSTAD UNIVERSITY, IDE SCHOOL OF INFORMATION SCIENCE, COMPUTER AND ELECTRICAL
More informationDIFFERENTIATING UNDER THE INTEGRAL SIGN
DIFFEENTIATING UNDE THE INTEGAL SIGN KEITH CONAD I hd lerned to do integrls by vrious methods shown in book tht my high school physics techer Mr. Bder hd given me. [It] showed how to differentite prmeters
More informationMorgan Stanley Ad Hoc Reporting Guide
spphire user guide Ferury 2015 Morgn Stnley Ad Hoc Reporting Guide An Overview For Spphire Users 1 Introduction The Ad Hoc Reporting tool is ville for your reporting needs outside of the Spphire stndrd
More informationLectures 8 and 9 1 Rectangular waveguides
1 Lectures 8 nd 9 1 Rectngulr wveguides y b x z Consider rectngulr wveguide with 0 < x b. There re two types of wves in hollow wveguide with only one conductor; Trnsverse electric wves
More informationNQF Level: 2 US No: 7480
NQF Level: 2 US No: 7480 Assessment Guide Primry Agriculture Rtionl nd irrtionl numers nd numer systems Assessor:.......................................... Workplce / Compny:.................................
More informationEnterprise Risk Management Software Buyer s Guide
Enterprise Risk Mngement Softwre Buyer s Guide 1. Wht is Enterprise Risk Mngement? 2. Gols of n ERM Progrm 3. Why Implement ERM 4. Steps to Implementing Successful ERM Progrm 5. Key Performnce Indictors
More information2005-06 Second Term MAT2060B 1. Supplementary Notes 3 Interchange of Differentiation and Integration
Source: http://www.mth.cuhk.edu.hk/~mt26/mt26b/notes/notes3.pdf 25-6 Second Term MAT26B 1 Supplementry Notes 3 Interchnge of Differentition nd Integrtion The theme of this course is bout vrious limiting
More informationDerivatives and Rates of Change
Section 2.1 Derivtives nd Rtes of Cnge 2010 Kiryl Tsiscnk Derivtives nd Rtes of Cnge Te Tngent Problem EXAMPLE: Grp te prbol y = x 2 nd te tngent line t te point P(1,1). Solution: We ve: DEFINITION: Te
More informationAppendix D: Completing the Square and the Quadratic Formula. In Appendix A, two special cases of expanding brackets were considered:
Appendi D: Completing the Squre nd the Qudrtic Formul Fctoring qudrtic epressions such s: + 6 + 8 ws one of the topics introduced in Appendi C. Fctoring qudrtic epressions is useful skill tht cn help you
More informationP.3 Polynomials and Factoring. P.3 an 1. Polynomial STUDY TIP. Example 1 Writing Polynomials in Standard Form. What you should learn
33337_0P03.qp 2/27/06 24 9:3 AM Chpter P Pge 24 Prerequisites P.3 Polynomils nd Fctoring Wht you should lern Polynomils An lgeric epression is collection of vriles nd rel numers. The most common type of
More informationHow To Study The Effects Of Music Composition On Children
C-crcs Cognitive - Counselling Reserch & Conference Services (eissn: 2301-2358) Volume I Effects of Music Composition Intervention on Elementry School Children b M. Hogenes, B. Vn Oers, R. F. W. Diekstr,
More informationHow To Set Up A Network For Your Business
Why Network is n Essentil Productivity Tool for Any Smll Business TechAdvisory.org SME Reports sponsored by Effective technology is essentil for smll businesses looking to increse their productivity. Computer
More informationRotating DC Motors Part II
Rotting Motors rt II II.1 Motor Equivlent Circuit The next step in our consiertion of motors is to evelop n equivlent circuit which cn be use to better unerstn motor opertion. The rmtures in rel motors
More information19. The Fermat-Euler Prime Number Theorem
19. The Fermt-Euler Prime Number Theorem Every prime number of the form 4n 1 cn be written s sum of two squres in only one wy (side from the order of the summnds). This fmous theorem ws discovered bout
More information