Spreadsheet Models for Managers: Session 2 2/1 Copyright © 1994-2011 Richard Brenner Spreadsheet Models for Managers Session 2 Analysis and Synthesis Array.

Slides:



Advertisements
Similar presentations
2.3 Modeling Real World Data with Matrices
Advertisements

TUTORIAL 1 Getting Started with Excel
8. Introduction to Spreadsheet CSCI N207 Data Analysis Using Spreadsheet Lingma Acheson Department of Computer and Information Science,
EGN 1006 – Introduction to Engineering Engineering Problem Solving and Excel.
R Lecture 4 Naomi Altman Department of Statistics Department of Statistics (Based on notes by J. Lee)
Spreadsheet Models for Managers: Session 3 3/1 Copyright © Richard Brenner Spreadsheet Models for Managers Session 3 Cushioning, Crowding and.
Keith A. Woodbury Mechanical Engineering University of Alabama.
Objectives 1.Identify the functions of a spreadsheet 2.Identify how spreadsheets can be used. 3.Explain the difference in columns and rows. 4.Locate specific.
Chapter 4 Systems of Linear Equations; Matrices Section 2 Systems of Linear Equations and Augmented Matrics.
Chapter 1 Computing Tools Data Representation, Accuracy and Precision Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
MF-852 Financial Econometrics
Chapter 2 Basic Linear Algebra
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 6 1 Microsoft Office Excel 2003 Tutorial 6 – Working With Multiple Worksheets.
Chapter 1 Introduction to Spreadsheet. Agenda Download the practice files Spreadsheet application Workbook and worksheet Toolbar Cell Formatting Printing.
Pam Perlich Urban Planning 5/6020
Matrix Mathematics in MATLAB and Excel
Intro to Matrices Don’t be scared….
CE 311 K - Introduction to Computer Methods Daene C. McKinney
Chapter 7 Matrix Mathematics Matrix Operations Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Matrices Write and Augmented Matrix of a system of Linear Equations Write the system from the augmented matrix Solve Systems of Linear Equations using.
1.3 Matrices and Matrix Operations.
1 1.1 © 2012 Pearson Education, Inc. Linear Equations in Linear Algebra SYSTEMS OF LINEAR EQUATIONS.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall.1 Exploring Microsoft Office Excel Copyright © 2008 Prentice-Hall. All rights.
Computer Programming (TKK-2144) 13/14 Semester 1 Instructor: Rama Oktavian Office Hr.: M.13-15, W Th , F
Quantities 2 Plans Prepared by Heath Bielefeldt Wisconsin Department of Transportation
Microsoft Office 2007 Excel Presented By: Steph Flatau.
Matrices Square is Good! Copyright © 2014 Curt Hill.
Rev.S08 MAC 1140 Module 10 System of Equations and Inequalities II.
Section 1.1 Introduction to Systems of Linear Equations.
Presentation by: H. Sarper
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Copyright © 2008 Prentice-Hall. All rights reserved. Committed to Shaping the Next Generation.
11 Exploring Microsoft Office Excel 2007 Chapter 4: Working with Large Worksheets and Tables Chapter 04 - Lecture Notes (CSIT 104)
CHAPTER 13 Creating a Workbook Part 2. Learning Objectives Work with cells and ranges Work with formulas and functions Preview and print a workbook 2.
259 Lecture 13 Spring 2013 Advanced Excel Topics – Arrays.
1.3 Matrices and Matrix Operations. Definition A matrix is a rectangular array of numbers. The numbers in the array are called the entries in the matrix.
 Objectives Objectives  Introduction Introduction  Exploring Excel Exploring Excel  Navigating a Worksheet Navigating a Worksheet  Workbook Workbook.
Spreadsheet Models for Managers: Session 4 4/1 Copyright © Richard Brenner Spreadsheet Models for Managers Session 4 Temporal Response Array.
1 CS 106 Computing Fundamentals II Chapter 84 “Array Formulae” Herbert G. Mayer, PSU CS status 6/14/2013 Initial content copied verbatim from CS 106 material.
P1 RJM 06/08/02EG1C2 Engineering Maths: Matrix Algebra 1 EG1C2 Engineering Maths : Matrix Algebra Dr Richard Mitchell, Department of Cybernetics AimDescribe.
Working with Arrays in MATLAB
Spreadsheet Models for Managers: Session 14 14/1 Copyright © Richard Brenner Spreadsheet Models for Managers Session 14 Using Macros II Function.
ME 142 Engineering Computation I Matrix Operations in Excel.
10.3 Systems of Linear Equations: Matrices. A matrix is defined as a rectangular array of numbers, Column 1Column 2 Column jColumn n Row 1 Row 2 Row 3.
8.2 Operations With Matrices
ME 142 Engineering Computation I Matrix Operations in Excel.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Excel Project 1 Creating a Worksheet and an Embedded Chart.
LEARNING OUTCOMES At the end of this topic, student should be able to :  D efination of matrix  Identify the different types of matrices such as rectangular,
CS 450: COMPUTER GRAPHICS TRANSFORMATIONS SPRING 2015 DR. MICHAEL J. REALE.
Excel Introduction to computers. Excel 2007 Starting the Excel program.
ENGINEERING 2304 Computer Programming for Engineers ENGR Spring 2015 Week 8.
Matrix Algebra Basics Chapter 3 Section 5. Algebra.
Chapter 1 Computing Tools Variables, Scalars, and Arrays Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
Computer Fundamentals Muhammadamin Daneshwar And Masoud Aras Computer Engineering Department Soran University Lecture 6.
2.3 MODELING REAL WORLD DATA WITH MATRICES By the end of the section students will be able to add, subtract, and multiply matrices of various sizes. Students.
A very brief introduction to Matrix (Section 2.7) Definitions Some properties Basic matrix operations Zero-One (Boolean) matrices.
1 Matrix Math ©Anthony Steed Overview n To revise Vectors Matrices.
Spreadsheet I n Concepts & operations. Concepts n Workbook: Excel file n Worksheet: sheet n Row: 1-???? n Column: A - Z, AA - ?? n Cell n Cell address.
MTH108 Business Math I Lecture 20.
Microsoft Excel.
13.4 Product of Two Matrices
12-1 Organizing Data Using Matrices
Multiplying Matrices.
Chapter 7 Matrix Mathematics
Lessons Vocabulary Excel 2016.
Creating a Workbook Part 2
Microsoft Excel 101.
Dr Huw Owens Room B44 Sackville Street Building Telephone Number 65891
Arrays and Matrices Prof. Abdul Hameed.
Presentation transcript:

Spreadsheet Models for Managers: Session 2 2/1 Copyright © Richard Brenner Spreadsheet Models for Managers Session 2 Analysis and Synthesis Array Arithmetic and Matrix Products Last revised: July 6, 2011

Spreadsheet Models for Managers: Session 2 2/2 Copyright © Richard Brenner Review of last time: Introduction Integration/Accumulation “Running Sum” Initial Value Differentiation/Differencing “Running differences” Inverse of accumulation Named parameters Store constants in cells — “parameterize” your model Make all uses of those parameters refer to those cells Give those cells names — refer to them by name Collect parameters into parameter blocks Name the blocks Names can have global or local scope References: relative and absolute

Spreadsheet Models for Managers: Session 2 2/3 Copyright © Richard Brenner Analysis and synthesis Analysis Separation of a whole into its component parts Used for decomposing a modeled quantity into pieces Synthesis Composition or combination of parts or elements to form a whole Used for combining different contributing effects Why do it? Sometimes it’s easier to look at a problem by breaking it into parts and recombining the results If a change is required, we can often change just one component, rather than the whole thing As the model evolves, we often add or delete components without worrying about the others This is the same advantage as that of object-oriented programming

Spreadsheet Models for Managers: Session 2 2/4 Copyright © Richard Brenner Example of analysis and synthesis The furniture requirements of a telesales department First analyze the categories of employees Next analyze their furniture requirements To find total requirements, add the components Employees Administrators Data Administrators Telesales Rep Clerical Manager 56-inch Desk Computer table Rolling Armchair Side Chair White Board

Spreadsheet Models for Managers: Session 2 2/5 Copyright © Richard Brenner Implementation When we decompose (analyze) we ask: What are the components of the whole system with respect to a particular way of breaking it up? Example:Divide work force into categories, and ask how much of each kind of furniture is needed in each category When we recombine (synthesize) we ask: What is the total composition of the system, given the parts? Example:If we know how much furniture is required for each category of employee, and we know how many employees we have in each category, we can roll up the total furniture spectrum Analysis and Synthesis are best implemented using Excel arrays

Spreadsheet Models for Managers: Session 2 2/6 Copyright © Richard Brenner Arrays in Excel An array is a rectangular range of cells Analysis and Synthesis best done with array manipulation It’s possible to do this cell-by-cell, but that approach is: Cumbersome Error-prone Hard to follow and maintain Better: Use arrays An array formula returns an array that is spread over the cells in which you enter it One array=>One formula Faster computations Sometimes you have to transpose the arrays to get the result you need How to enter an array formula Windows:Control+Shift+Enter Mac: Command+Enter or Control+Shift+Enter Readings: Array Arithmetic

Spreadsheet Models for Managers: Session 2 2/7 Copyright © Richard Brenner Array arithmetic Arrays in Excel obey the usual laws of arithmetic for +, -, *, /, ^, … If the arrays are the same shape and size, perform operations cell-by-cell If the arrays are the same height (width) but one has only one column (one row), expand that array to match the other array

Spreadsheet Models for Managers: Session 2 2/8 Copyright © Richard Brenner Matrix multiplication A matrix is represented by a rectangular range An “m by n” matrix has m rows and n columns In a matrix product A*B, the first factor A must have as many columns as the second factor B has rows The product has the same number of rows as the first factor and the same number of columns as the second factor To multiply a 1 x p matrix by a p x 1 matrix: Multiply each of the respective elements together and sum For different sizes, just break them up into 1 x n and n x 1 Readings: Matrices and Matrix Multiplication

Spreadsheet Models for Managers: Session 2 2/9 Copyright © Richard Brenner Matrix multiplication examples

Spreadsheet Models for Managers: Session 2 2/10 Copyright © Richard Brenner Transposing matrices To transpose, just interchange rows and columns There are some simple rules for matrix products. If A and B are matrices and x and y are just numbers: (A t ) t = A (AB) t = B t A t (xA ± yB) t = xA t ± yB t

Spreadsheet Models for Managers: Session 2 2/11 Copyright © Richard Brenner Application examples Your company wants to replace all its office furniture. You have the following data: Who needs what pieces, by employee category Price of each type of piece How many employees are in each category How much will it cost to furnish the entire office? Under these same conditions, you’re given a set of hiring streams for each category of employee Assume that the information above applies Determine how much you’ll spend each month if hiring proceeds as planned

Spreadsheet Models for Managers: Session 2 2/12 Copyright © Richard Brenner Reference reading Course readings Array arithmetic (Readings: Array Arithmetic) Dimensional Analysis (Readings: Dimensional Analysis) Matrix products (Readings: Matrices and Matrix Multiplication) Worksheet Functions (Readings: Worksheet Functions) Names (Readings: Names) Workbooks (Readings: Workbooks) On-line Help topics Worksheet function MMULT Worksheet function TRANSPOSE Worksheet function IF Worksheet function SUM Entering an array formula

Spreadsheet Models for Managers: Session 2 2/13 Copyright © Richard Brenner Preview of next time: Cushioning, Crowding and Quantization Modeling is inexact, so we use safety margins Sometimes you plan shortages Sometimes resources are available only in certain minimum size lots Excel functions that help with these issues: CEILING, FLOOR, INT, ROUND, TRUNC Circular references Arise when loops of cells depend on each other Break the circularity by solving the equations if possible