MatLab - Systems of Differential Equations
|
|
|
- Marian Barnett
- 9 years ago
- Views:
Transcription
1 Fall 2015 Math 337 MatLab - Systems of Differential Equations This section examines systems of differential equations. It goes through the key steps of solving systems of differential equations through the numerical methods of MatLab along with its graphical solutions. The system of differential equations is introduced. Analysis begins with finding equilibria. Near an equilibrium the linear behavior is most important, which requires studying eigenvalue problems. Numerical routines can simulate the system of differential equations, while the special routine pplane allows easy study of the system with excellent graphics. The general two dimensional autonomous system of differential equations in the state variables x 1 t and x 2 t can be written: ẋ 1 = f 1 x 1,x 2, ẋ 2 = f 2 x 1,x 2, where the functions f 1 and f 2 may be nonlinear. This section will concentrate on the case when f 1 and f 2 are linear to parallel the lecture notes, Systems of Two First Order Equations. The Greenhouse/Rockbed Model from the lecture notes is given by the linear system of differential equations: u1 u = u1 u This example will provide the primary case for our MatLab commands listed below. Equilibria Equilibria occur when the derivative is zero. In the general case where the right hand side of the system of differential equations is nonlinear, this problem can be very complex. However, when the functions f 1 and f 2 are linear, then finding equilibria reduces to solving a linear system of equations. This is very basic for MatLab and can be accomplished in a number of ways. For the greenhouse/rockbed model above, the equilibrium model satisfies: This is more simply written: u1e u 2e Au e = b, = where A is the matrix of coefficients, u e is the equilibrium solution, and b is the nonhomogeneous vector from the external environment. Below we provide three ways in MatLab to find u e, the equilibrium solution. The two most common means to solving this linear system are to use the program linsolve or to take advantage of MatLab s ability to invert a matrix. Define the variables, then the following commands readily provide the solution. A = [-13/8 3/;1/ -1/]; b = [-1;0]; u = linsolvea,b u = inva*b
2 Both results produce the variable u = [,] T for the equilibrium solution. The third method is to use the row-reduced echelon form for transforming an augmented matrix into the identity with the solution in the last column. The MatLab program for this is rref. There used to be a common teaching tool called rrefmovie, which showed all the steps of the process including the names of the operation, but this function appears to have been removed after Version 10 of MatLab. Below we show the commands necessary for this solution method. B = [A,b] rrefb The results are the following: [ B = ] [ ] Linear Analysis As noted in the lecture notes, Systems of Two First Order Equations, the original state variable, u, is translated to the new state variable, v = u u e, resulting in the new linear system of differential equations centered at the origin: or more simply v1 v = v = Av. v1 For this problem we seek solutions vt = ξe λt, and the result is the eigenvalue problem: A λiξ = 0, where det A λi = 0, provides the characteristic equation for the eigenvalues and ξ are the corresponding eigenvectors. For this system with distinct real eigenvalues, λ 1 and λ 2, and corresponding eigenvectors, ξ 1 and ξ 2, the solution of System 2 satisfies: v 2 vt = c 1 ξ 1 e λ 1t +c 2 ξ 2 e λ 2t, where c 1 and c 2 are arbitrary constants. Once again MatLab is an excellent program for solving this eigenvalue problem. The MatLab command [v,d] = eiga produces the eigenvalues on the diagonal of matrix d with the corresponding eigenvectors appearing as columns of matrix v. For this example MatLab produces: [ ] [ ] d = v =, which gives the general solution to System 2 as vt = c 1 e 1.75t c e 0.125t. 2
3 Solution to the System of Linear Differential Equations Since ut = vt+u e, it follows that the general solution to 1 is ut = c e 1.75t +c e 0.125t + Thespecificsolution toaninitial valueproblem, whereu0 = u 0, isreadilyfoundusingmatlab and solving the vector equation: c 1 ξ 1 +c 2 ξ 2 +u e = u 0. We use our example above with u 0 = [5,25] T or v 0 = [ 11,9] T to illustrate the appropriate MatLab commands. Assume that the eigenvectors are stored in v as presented in 3. Let c = [c 1,c 2 ] T be vector for which MatLab is solving, then v0 = [-11, 9] ; c = linsolvev,v0 produces the solution c = [1.5050, ] T, so the unique solution to the IVP is ut = e 1.75t e 0.125t +. The MatLab s numerical solver, ode23, extends easily to systems of 1 st order differential equations. Below we show how to both use the numerical solver and the exact solution above to graph the ut. First the right hand side of System 1 is made into a MatLab function 1 function yp = greenhouset,y 2 % Greenhouse DE rhs 3 yt1 = 13/8 y1 +3/ y2 + 1; yt2 = 1/ y1 1/ y2 ; 5 yp = [yt1, yt2 ] ; 6 end The function plotting the numerical and exact solutions is given by 1 mytitle = Greenhouse/Rockbed ; % Title 2 xlab = $t$ hrs ; % X label 3 ylab = Temperature $ˆ\circ$C ; % Y label 5 u0 = [5,25] ; 6 [t,u] = ode23@greenhouse,[0,10],u0 ; % simulate heat with ode23 7 tt = linspace 0,10,200 ; 8 u1 = exp 1.75 tt exp tt +; % solution u1 9 u2 = exp 1.75 tt exp tt+; % solution u plot t,u:,1, b, LineWidth,1.5 ; % Plot greenhouse air numeric 12 hold on % Plots Multiple graphs 13 plot t,u:,2, r, LineWidth,1.5 ; % Plot greenhouse rocks numeric 1 plot tt,u1, c:, LineWidth,1.5 ; % Plot greenhouse air, u1 15 plot tt,u2, m:, LineWidth,1.5 ; % Plot greenhouse rocks, u2 plot [0 10],[ ], k:, LineWidth,1.5 ; % Plot equilibrium 17 grid % Adds Gridlines 18 text 0.6,11, $u 1$, color, blue, FontSize,1,....
4 19 FontName, Times New Roman, interpreter, latex ; 20 text 3,22, $u 2$, color, red, FontSize,1, FontName, Times New Roman, interpreter, latex ; 22 legend Air numeric, Rockbed numeric, Air exact, Rockbed exact, ; 2 25 axis [ ] ; % Defines limits of graph 30 Greenhouse/Rockbed 25 u 2 Temperature C u 1 5 Air numeric Rockbed numeric Air exact Rockbed exact t hrs The graph shows how well the numerical routine ode23 in MatLab tracks the solution to System 1. As we saw in the lecture notes, the heat transfers rapidly into the air compartment, then slowly the solution tends toward the equilibrium solution. Phase Portrait - 2D This final section shows how to create two dimensional phase portraits and direction fields. You begin by downloading the MatLab files for pplane and dfield by John Polking from Rice University. The current version is pplane8, which is invoked by having this m-file in your current directory and typing pplane8 in the command window of MatLab. After invoking pplane8 a window appears where you type in your differential equation, including the limits on your state variables. This will generate a new window showing the direction field for the phase portrait. With the mouse you can click at any point and have a solution trajectory be drawn. Default for this is both directions in time. To get a forward trajectory only one select Solution direction under the Options menu. One of the most powerful features is the ability of this program to find equilibria and determine the eigenvalues near that equilibrium. This feature is found under the Solutions menu saying Find an equilibrium point. Select this feature, then click on the graph where you think an equilibrium point may be. A large red dot
5 appears at the equilibrium, and a new window opens telling the coordinates of the equilibrium, the nature of the equilibrium, and the eigenvalues and eigenvectors of the linearized system near the equilibrium. Another useful feature under the Solutions menu is to Show nullclines. The nullclines tell where trajectories are either horizontal or vertical. The intersection of two different color nullclines shows the location of an equilibrium. Below is a figure showing the direction field for our example. Four solutions were added along with the equilibrium and the nullclines. Nonlinear Example The pplane8 program is particularly useful for systems of two nonlinear differential equations. A competition model for two species y 1 and y 2 competing for the same resource satisfies the following system of differential equations: ẏ 1 = 0.1y y y 2, ẏ 2 = 0.12y y y 2. Though it is not the case for this system of differential equations, it can be quite challenging finding the equilibria for a nonlinear system of differential equations. MatLab does have a powerful tool for solving nonlinear systems of equations to find where they are zero, and it is called fsolve. The MatLab function fsolve requires entering a function fx, which can be a vector function, and an initial guess, x 0, then it tries to find the closest x that solves fx = 0. If we define the right hand side of the DE above as the following MatLab function: 1 function z = compet y 2 % competition model: fsolve for equilibria 3 zt1 = 0.1 y y y2 ; zt2 = 0.12 y y y2 ; 5 z = [ zt1, zt2 ]; 6 end
6 If we enter the following in MatLab: ye = fsolve@compet,[10,20]; then MatLab gives the unstable equilibrium y e = [ , ] T. There are 3 other equilibria, which could be found by similarly using our compet function with different initial guesses. More easily, one can employ pplane as noted above. It readily finds equilibria and the eigenvalues associated with each equilibrium. For example, pointing near y e = [ , ] T, pplane8 finds this equilibrium, and tells you that it is a saddle node with eigenvalues λ 1 = and λ 2 = along with their corresponding eigenvectors. Below we show the figure produced by pplane8.
[1] Diagonal factorization
8.03 LA.6: Diagonalization and Orthogonal Matrices [ Diagonal factorization [2 Solving systems of first order differential equations [3 Symmetric and Orthonormal Matrices [ Diagonal factorization Recall:
MATH 551 - APPLIED MATRIX THEORY
MATH 55 - APPLIED MATRIX THEORY FINAL TEST: SAMPLE with SOLUTIONS (25 points NAME: PROBLEM (3 points A web of 5 pages is described by a directed graph whose matrix is given by A Do the following ( points
WEEK #3, Lecture 1: Sparse Systems, MATLAB Graphics
WEEK #3, Lecture 1: Sparse Systems, MATLAB Graphics Visualization of Matrices Good visuals anchor any presentation. MATLAB has a wide variety of ways to display data and calculation results that can be
Department of Chemical Engineering ChE-101: Approaches to Chemical Engineering Problem Solving MATLAB Tutorial VI
Department of Chemical Engineering ChE-101: Approaches to Chemical Engineering Problem Solving MATLAB Tutorial VI Solving a System of Linear Algebraic Equations (last updated 5/19/05 by GGB) Objectives:
HW6 Solutions. MATH 20D Fall 2013 Prof: Sun Hui TA: Zezhou Zhang (David) November 14, 2013. Checklist: Section 7.8: 1c, 2, 7, 10, [16]
HW6 Solutions MATH D Fall 3 Prof: Sun Hui TA: Zezhou Zhang David November 4, 3 Checklist: Section 7.8: c,, 7,, [6] Section 7.9:, 3, 7, 9 Section 7.8 In Problems 7.8. thru 4: a Draw a direction field and
Beginner s Matlab Tutorial
Christopher Lum [email protected] Introduction Beginner s Matlab Tutorial This document is designed to act as a tutorial for an individual who has had no prior experience with Matlab. For any questions
Nonlinear Systems of Ordinary Differential Equations
Differential Equations Massoud Malek Nonlinear Systems of Ordinary Differential Equations Dynamical System. A dynamical system has a state determined by a collection of real numbers, or more generally
1 2 3 1 1 2 x = + x 2 + x 4 1 0 1
(d) If the vector b is the sum of the four columns of A, write down the complete solution to Ax = b. 1 2 3 1 1 2 x = + x 2 + x 4 1 0 0 1 0 1 2. (11 points) This problem finds the curve y = C + D 2 t which
GeoGebra. 10 lessons. Gerrit Stols
GeoGebra in 10 lessons Gerrit Stols Acknowledgements GeoGebra is dynamic mathematics open source (free) software for learning and teaching mathematics in schools. It was developed by Markus Hohenwarter
MAT 242 Test 2 SOLUTIONS, FORM T
MAT 242 Test 2 SOLUTIONS, FORM T 5 3 5 3 3 3 3. Let v =, v 5 2 =, v 3 =, and v 5 4 =. 3 3 7 3 a. [ points] The set { v, v 2, v 3, v 4 } is linearly dependent. Find a nontrivial linear combination of these
Brief Introduction to Vectors and Matrices
CHAPTER 1 Brief Introduction to Vectors and Matrices In this chapter, we will discuss some needed concepts found in introductory course in linear algebra. We will introduce matrix, vector, vector-valued
MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors. Jordan canonical form (continued).
MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors Jordan canonical form (continued) Jordan canonical form A Jordan block is a square matrix of the form λ 1 0 0 0 0 λ 1 0 0 0 0 λ 0 0 J = 0
Linear Algebra and TI 89
Linear Algebra and TI 89 Abdul Hassen and Jay Schiffman This short manual is a quick guide to the use of TI89 for Linear Algebra. We do this in two sections. In the first section, we will go over the editing
Eigenvalues, Eigenvectors, and Differential Equations
Eigenvalues, Eigenvectors, and Differential Equations William Cherry April 009 (with a typo correction in November 05) The concepts of eigenvalue and eigenvector occur throughout advanced mathematics They
Similarity and Diagonalization. Similar Matrices
MATH022 Linear Algebra Brief lecture notes 48 Similarity and Diagonalization Similar Matrices Let A and B be n n matrices. We say that A is similar to B if there is an invertible n n matrix P such that
x y The matrix form, the vector form, and the augmented matrix form, respectively, for the system of equations are
Solving Sstems of Linear Equations in Matri Form with rref Learning Goals Determine the solution of a sstem of equations from the augmented matri Determine the reduced row echelon form of the augmented
http://school-maths.com Gerrit Stols
For more info and downloads go to: http://school-maths.com Gerrit Stols Acknowledgements GeoGebra is dynamic mathematics open source (free) software for learning and teaching mathematics in schools. It
3.2 Sources, Sinks, Saddles, and Spirals
3.2. Sources, Sinks, Saddles, and Spirals 6 3.2 Sources, Sinks, Saddles, and Spirals The pictures in this section show solutions to Ay 00 C By 0 C Cy D 0. These are linear equations with constant coefficients
Applied Linear Algebra
Applied Linear Algebra OTTO BRETSCHER http://www.prenhall.com/bretscher Chapter 7 Eigenvalues and Eigenvectors Chia-Hui Chang Email: [email protected] National Central University, Taiwan 7.1 DYNAMICAL
13 MATH FACTS 101. 2 a = 1. 7. The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.
3 MATH FACTS 0 3 MATH FACTS 3. Vectors 3.. Definition We use the overhead arrow to denote a column vector, i.e., a linear segment with a direction. For example, in three-space, we write a vector in terms
December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS
December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B KITCHENS The equation 1 Lines in two-dimensional space (1) 2x y = 3 describes a line in two-dimensional space The coefficients of x and y in the equation
Updates to Graphing with Excel
Updates to Graphing with Excel NCC has recently upgraded to a new version of the Microsoft Office suite of programs. As such, many of the directions in the Biology Student Handbook for how to graph with
Scientific Graphing in Excel 2010
Scientific Graphing in Excel 2010 When you start Excel, you will see the screen below. Various parts of the display are labelled in red, with arrows, to define the terms used in the remainder of this overview.
Math 115A HW4 Solutions University of California, Los Angeles. 5 2i 6 + 4i. (5 2i)7i (6 + 4i)( 3 + i) = 35i + 14 ( 22 6i) = 36 + 41i.
Math 5A HW4 Solutions September 5, 202 University of California, Los Angeles Problem 4..3b Calculate the determinant, 5 2i 6 + 4i 3 + i 7i Solution: The textbook s instructions give us, (5 2i)7i (6 + 4i)(
This activity will show you how to draw graphs of algebraic functions in Excel.
This activity will show you how to draw graphs of algebraic functions in Excel. Open a new Excel workbook. This is Excel in Office 2007. You may not have used this version before but it is very much the
By Clicking on the Worksheet you are in an active Math Region. In order to insert a text region either go to INSERT -TEXT REGION or simply
Introduction and Basics Tet Regions By Clicking on the Worksheet you are in an active Math Region In order to insert a tet region either go to INSERT -TEXT REGION or simply start typing --the first time
Eigenvalues and Eigenvectors
Chapter 6 Eigenvalues and Eigenvectors 6. Introduction to Eigenvalues Linear equations Ax D b come from steady state problems. Eigenvalues have their greatest importance in dynamic problems. The solution
Solutions to Math 51 First Exam January 29, 2015
Solutions to Math 5 First Exam January 29, 25. ( points) (a) Complete the following sentence: A set of vectors {v,..., v k } is defined to be linearly dependent if (2 points) there exist c,... c k R, not
MAT 200, Midterm Exam Solution. a. (5 points) Compute the determinant of the matrix A =
MAT 200, Midterm Exam Solution. (0 points total) a. (5 points) Compute the determinant of the matrix 2 2 0 A = 0 3 0 3 0 Answer: det A = 3. The most efficient way is to develop the determinant along the
Excel -- Creating Charts
Excel -- Creating Charts The saying goes, A picture is worth a thousand words, and so true. Professional looking charts give visual enhancement to your statistics, fiscal reports or presentation. Excel
Lecture Notes 2: Matrices as Systems of Linear Equations
2: Matrices as Systems of Linear Equations 33A Linear Algebra, Puck Rombach Last updated: April 13, 2016 Systems of Linear Equations Systems of linear equations can represent many things You have probably
Examination paper for TMA4115 Matematikk 3
Department of Mathematical Sciences Examination paper for TMA45 Matematikk 3 Academic contact during examination: Antoine Julien a, Alexander Schmeding b, Gereon Quick c Phone: a 73 59 77 82, b 40 53 99
by the matrix A results in a vector which is a reflection of the given
Eigenvalues & Eigenvectors Example Suppose Then So, geometrically, multiplying a vector in by the matrix A results in a vector which is a reflection of the given vector about the y-axis We observe that
Au = = = 3u. Aw = = = 2w. so the action of A on u and w is very easy to picture: it simply amounts to a stretching by 3 and 2, respectively.
Chapter 7 Eigenvalues and Eigenvectors In this last chapter of our exploration of Linear Algebra we will revisit eigenvalues and eigenvectors of matrices, concepts that were already introduced in Geometry
Linear Equations ! 25 30 35$ & " 350 150% & " 11,750 12,750 13,750% MATHEMATICS LEARNING SERVICE Centre for Learning and Professional Development
MathsTrack (NOTE Feb 2013: This is the old version of MathsTrack. New books will be created during 2013 and 2014) Topic 4 Module 9 Introduction Systems of to Matrices Linear Equations Income = Tickets!
Dealing with Data in Excel 2010
Dealing with Data in Excel 2010 Excel provides the ability to do computations and graphing of data. Here we provide the basics and some advanced capabilities available in Excel that are useful for dealing
Chapter 6. Orthogonality
6.3 Orthogonal Matrices 1 Chapter 6. Orthogonality 6.3 Orthogonal Matrices Definition 6.4. An n n matrix A is orthogonal if A T A = I. Note. We will see that the columns of an orthogonal matrix must be
Pre-Calculus Math 12 First Assignment
Name: Pre-Calculus Math 12 First Assignment This assignment consists of two parts, a review of function notation and an introduction to translating graphs of functions. It is the first work for the Pre-Calculus
Name: Section Registered In:
Name: Section Registered In: Math 125 Exam 3 Version 1 April 24, 2006 60 total points possible 1. (5pts) Use Cramer s Rule to solve 3x + 4y = 30 x 2y = 8. Be sure to show enough detail that shows you are
Graphing in excel on the Mac
Graphing in excel on the Mac Quick Reference for people who just need a reminder The easiest thing is to have a single series, with y data in the column to the left of the x- data. Select the data and
Manifold Learning Examples PCA, LLE and ISOMAP
Manifold Learning Examples PCA, LLE and ISOMAP Dan Ventura October 14, 28 Abstract We try to give a helpful concrete example that demonstrates how to use PCA, LLE and Isomap, attempts to provide some intuition
Solving Systems of Equations Using Mathcad Charles Nippert Solving A System of Equations By Symbolically Figure 1 After Step 1
Solving Systems of Equations Using Mathcad Charles Nippert This set of notes is written to help you learn how to solve simultaneous equations using Mathcad. You will solve a system of 2 simultaneous linear
Dynamical Systems Analysis II: Evaluating Stability, Eigenvalues
Dynamical Systems Analysis II: Evaluating Stability, Eigenvalues By Peter Woolf [email protected]) University of Michigan Michigan Chemical Process Dynamics and Controls Open Textbook version 1.0 Creative
Scatter Plots with Error Bars
Chapter 165 Scatter Plots with Error Bars Introduction The procedure extends the capability of the basic scatter plot by allowing you to plot the variability in Y and X corresponding to each point. Each
1.5 SOLUTION SETS OF LINEAR SYSTEMS
1-2 CHAPTER 1 Linear Equations in Linear Algebra 1.5 SOLUTION SETS OF LINEAR SYSTEMS Many of the concepts and computations in linear algebra involve sets of vectors which are visualized geometrically as
CHAPTER 2. Eigenvalue Problems (EVP s) for ODE s
A SERIES OF CLASS NOTES FOR 005-006 TO INTRODUCE LINEAR AND NONLINEAR PROBLEMS TO ENGINEERS, SCIENTISTS, AND APPLIED MATHEMATICIANS DE CLASS NOTES 4 A COLLECTION OF HANDOUTS ON PARTIAL DIFFERENTIAL EQUATIONS
Introduction to COMSOL. The Navier-Stokes Equations
Flow Between Parallel Plates Modified from the COMSOL ChE Library module rev 10/13/08 Modified by Robert P. Hesketh, Chemical Engineering, Rowan University Fall 2008 Introduction to COMSOL The following
Euler s Method and Functions
Chapter 3 Euler s Method and Functions The simplest method for approximately solving a differential equation is Euler s method. One starts with a particular initial value problem of the form dx dt = f(t,
What is a piper plot?
What is a piper plot? A piper plot is a way of visualizing the chemistry of a rock, soil, or water sample. It s comprised of three pieces: a ternary diagram in the lower left representing the cations,
Introduction to the TI-Nspire CX
Introduction to the TI-Nspire CX Activity Overview: In this activity, you will become familiar with the layout of the TI-Nspire CX. Step 1: Locate the Touchpad. The Touchpad is used to navigate the cursor
DATA ANALYSIS II. Matrix Algorithms
DATA ANALYSIS II Matrix Algorithms Similarity Matrix Given a dataset D = {x i }, i=1,..,n consisting of n points in R d, let A denote the n n symmetric similarity matrix between the points, given as where
Linear Algebra Review. Vectors
Linear Algebra Review By Tim K. Marks UCSD Borrows heavily from: Jana Kosecka [email protected] http://cs.gmu.edu/~kosecka/cs682.html Virginia de Sa Cogsci 8F Linear Algebra review UCSD Vectors The length
Nonlinear Algebraic Equations Example
Nonlinear Algebraic Equations Example Continuous Stirred Tank Reactor (CSTR). Look for steady state concentrations & temperature. s r (in) p,i (in) i In: N spieces with concentrations c, heat capacities
Several Views of Support Vector Machines
Several Views of Support Vector Machines Ryan M. Rifkin Honda Research Institute USA, Inc. Human Intention Understanding Group 2007 Tikhonov Regularization We are considering algorithms of the form min
Student name: Earlham College. Fall 2011 December 15, 2011
Student name: Earlham College MATH 320: Differential Equations Final exam - In class part Fall 2011 December 15, 2011 Instructions: This is a regular closed-book test, and is to be taken without the use
Interactive Excel Spreadsheets:
Interactive Excel Spreadsheets: Constructing Visualization Tools to Enhance Your Learner-centered Math and Science Classroom Scott A. Sinex Department of Physical Sciences and Engineering Prince George
Orthogonal Diagonalization of Symmetric Matrices
MATH10212 Linear Algebra Brief lecture notes 57 Gram Schmidt Process enables us to find an orthogonal basis of a subspace. Let u 1,..., u k be a basis of a subspace V of R n. We begin the process of finding
Chapter 17. Orthogonal Matrices and Symmetries of Space
Chapter 17. Orthogonal Matrices and Symmetries of Space Take a random matrix, say 1 3 A = 4 5 6, 7 8 9 and compare the lengths of e 1 and Ae 1. The vector e 1 has length 1, while Ae 1 = (1, 4, 7) has length
Data representation and analysis in Excel
Page 1 Data representation and analysis in Excel Let s Get Started! This course will teach you how to analyze data and make charts in Excel so that the data may be represented in a visual way that reflects
Review of Fundamental Mathematics
Review of Fundamental Mathematics As explained in the Preface and in Chapter 1 of your textbook, managerial economics applies microeconomic theory to business decision making. The decision-making tools
Quick Tour of Mathcad and Examples
Fall 6 Quick Tour of Mathcad and Examples Mathcad provides a unique and powerful way to work with equations, numbers, tests and graphs. Features Arithmetic Functions Plot functions Define you own variables
2x + y = 3. Since the second equation is precisely the same as the first equation, it is enough to find x and y satisfying the system
1. Systems of linear equations We are interested in the solutions to systems of linear equations. A linear equation is of the form 3x 5y + 2z + w = 3. The key thing is that we don t multiply the variables
Part 1: Background - Graphing
Department of Physics and Geology Graphing Astronomy 1401 Equipment Needed Qty Computer with Data Studio Software 1 1.1 Graphing Part 1: Background - Graphing In science it is very important to find and
4.3-4.4 Systems of Equations
4.3-4.4 Systems of Equations A linear equation in 2 variables is an equation of the form ax + by = c. A linear equation in 3 variables is an equation of the form ax + by + cz = d. To solve a system of
Plots, Curve-Fitting, and Data Modeling in Microsoft Excel
Plots, Curve-Fitting, and Data Modeling in Microsoft Excel This handout offers some tips on making nice plots of data collected in your lab experiments, as well as instruction on how to use the built-in
Tutorial on Using Excel Solver to Analyze Spin-Lattice Relaxation Time Data
Tutorial on Using Excel Solver to Analyze Spin-Lattice Relaxation Time Data In the measurement of the Spin-Lattice Relaxation time T 1, a 180 o pulse is followed after a delay time of t with a 90 o pulse,
Manual for simulation of EB processing. Software ModeRTL
1 Manual for simulation of EB processing Software ModeRTL How to get results. Software ModeRTL. Software ModeRTL consists of five thematic modules and service blocks. (See Fig.1). Analytic module is intended
PGR Computing Programming Skills
PGR Computing Programming Skills Dr. I. Hawke 2008 1 Introduction The purpose of computing is to do something faster, more efficiently and more reliably than you could as a human do it. One obvious point
Figure 1. An embedded chart on a worksheet.
8. Excel Charts and Analysis ToolPak Charts, also known as graphs, have been an integral part of spreadsheets since the early days of Lotus 1-2-3. Charting features have improved significantly over the
5 Systems of Equations
Systems of Equations Concepts: Solutions to Systems of Equations-Graphically and Algebraically Solving Systems - Substitution Method Solving Systems - Elimination Method Using -Dimensional Graphs to Approximate
Introduction to Matrix Algebra
Psychology 7291: Multivariate Statistics (Carey) 8/27/98 Matrix Algebra - 1 Introduction to Matrix Algebra Definitions: A matrix is a collection of numbers ordered by rows and columns. It is customary
Numerical Methods for Differential Equations
Numerical Methods for Differential Equations Course objectives and preliminaries Gustaf Söderlind and Carmen Arévalo Numerical Analysis, Lund University Textbooks: A First Course in the Numerical Analysis
CS 221. Tuesday 8 November 2011
CS 221 Tuesday 8 November 2011 Agenda 1. Announcements 2. Review: Solving Equations (Text 6.1-6.3) 3. Root-finding with Excel ( Goal Seek, Text 6.5) 4. Example Root-finding Problems 5. The Fixed-point
Eigenvalues, Eigenvectors, Matrix Factoring, and Principal Components
Eigenvalues, Eigenvectors, Matrix Factoring, and Principal Components The eigenvalues and eigenvectors of a square matrix play a key role in some important operations in statistics. In particular, they
Linear Equations in Linear Algebra
1 Linear Equations in Linear Algebra 1.5 SOLUTION SETS OF LINEAR SYSTEMS HOMOGENEOUS LINEAR SYSTEMS A system of linear equations is said to be homogeneous if it can be written in the form A 0, where A
I. Turn it on: Press É
Graphing Calculator Guide for the TI-83/84 Plus The following pages describe how to use the calculator to graph functions, use some of the matrix menu, use scientific notation, and other various keys.
Complex Eigenvalues. 1 Complex Eigenvalues
Complex Eigenvalues Today we consider how to deal with complex eigenvalues in a linear homogeneous system of first der equations We will also look back briefly at how what we have done with systems recapitulates
Lecture 5: Singular Value Decomposition SVD (1)
EEM3L1: Numerical and Analytical Techniques Lecture 5: Singular Value Decomposition SVD (1) EE3L1, slide 1, Version 4: 25-Sep-02 Motivation for SVD (1) SVD = Singular Value Decomposition Consider the system
x + y + z = 1 2x + 3y + 4z = 0 5x + 6y + 7z = 3
Math 24 FINAL EXAM (2/9/9 - SOLUTIONS ( Find the general solution to the system of equations 2 4 5 6 7 ( r 2 2r r 2 r 5r r x + y + z 2x + y + 4z 5x + 6y + 7z 2 2 2 2 So x z + y 2z 2 and z is free. ( r
Graphing Equations. with Color Activity
Graphing Equations with Color Activity Students must re-write equations into slope intercept form and then graph them on a coordinate plane. 2011 Lindsay Perro Name Date Between The Lines Re-write each
Chapter 19. General Matrices. An n m matrix is an array. a 11 a 12 a 1m a 21 a 22 a 2m A = a n1 a n2 a nm. The matrix A has n row vectors
Chapter 9. General Matrices An n m matrix is an array a a a m a a a m... = [a ij]. a n a n a nm The matrix A has n row vectors and m column vectors row i (A) = [a i, a i,..., a im ] R m a j a j a nj col
7.7 Solving Rational Equations
Section 7.7 Solving Rational Equations 7 7.7 Solving Rational Equations When simplifying comple fractions in the previous section, we saw that multiplying both numerator and denominator by the appropriate
Absorbance Spectrophotometry: Analysis of FD&C Red Food Dye #40 Calibration Curve Procedure
Absorbance Spectrophotometry: Analysis of FD&C Red Food Dye #40 Calibration Curve Procedure Note: there is a second document that goes with this one! 2046 - Absorbance Spectrophotometry. Make sure you
Intermediate PowerPoint
Intermediate PowerPoint Charts and Templates By: Jim Waddell Last modified: January 2002 Topics to be covered: Creating Charts 2 Creating the chart. 2 Line Charts and Scatter Plots 4 Making a Line Chart.
Summary: Transformations. Lecture 14 Parameter Estimation Readings T&V Sec 5.1-5.3. Parameter Estimation: Fitting Geometric Models
Summary: Transformations Lecture 14 Parameter Estimation eadings T&V Sec 5.1-5.3 Euclidean similarity affine projective Parameter Estimation We will talk about estimating parameters of 1) Geometric models
System of First Order Differential Equations
CHAPTER System of First Order Differential Equations In this chapter, we will discuss system of first order differential equations. There are many applications that involving find several unknown functions
The Heat Equation. Lectures INF2320 p. 1/88
The Heat Equation Lectures INF232 p. 1/88 Lectures INF232 p. 2/88 The Heat Equation We study the heat equation: u t = u xx for x (,1), t >, (1) u(,t) = u(1,t) = for t >, (2) u(x,) = f(x) for x (,1), (3)
A First Course in Elementary Differential Equations. Marcel B. Finan Arkansas Tech University c All Rights Reserved
A First Course in Elementary Differential Equations Marcel B. Finan Arkansas Tech University c All Rights Reserved 1 Contents 1 Basic Terminology 4 2 Qualitative Analysis: Direction Field of y = f(t, y)
AMATH 352 Lecture 3 MATLAB Tutorial Starting MATLAB Entering Variables
AMATH 352 Lecture 3 MATLAB Tutorial MATLAB (short for MATrix LABoratory) is a very useful piece of software for numerical analysis. It provides an environment for computation and the visualization. Learning
Systems of Linear Equations
Systems of Linear Equations Beifang Chen Systems of linear equations Linear systems A linear equation in variables x, x,, x n is an equation of the form a x + a x + + a n x n = b, where a, a,, a n and
( ) which must be a vector
MATH 37 Linear Transformations from Rn to Rm Dr. Neal, WKU Let T : R n R m be a function which maps vectors from R n to R m. Then T is called a linear transformation if the following two properties are
Graphics in R. Biostatistics 615/815
Graphics in R Biostatistics 615/815 Last Lecture Introduction to R Programming Controlling Loops Defining your own functions Today Introduction to Graphics in R Examples of commonly used graphics functions
LS.6 Solution Matrices
LS.6 Solution Matrices In the literature, solutions to linear systems often are expressed using square matrices rather than vectors. You need to get used to the terminology. As before, we state the definitions
Grade level: secondary Subject: mathematics Time required: 45 to 90 minutes
TI-Nspire Activity: Paint Can Dimensions By: Patsy Fagan and Angela Halsted Activity Overview Problem 1 explores the relationship between height and volume of a right cylinder, the height and surface area,
MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set.
MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set. Vector space A vector space is a set V equipped with two operations, addition V V (x,y) x + y V and scalar
Introduction. Chapter 1
Chapter 1 Introduction MATLAB (Matrix laboratory) is an interactive software system for numerical computations and graphics. As the name suggests, MATLAB is especially designed for matrix computations:
2.2 Derivative as a Function
2.2 Derivative as a Function Recall that we defined the derivative as f (a) = lim h 0 f(a + h) f(a) h But since a is really just an arbitrary number that represents an x-value, why don t we just use x
