Using Microsoft Excel Built-in Functions and Matrix Operations. EGN 1006 Introduction to the Engineering Profession



Similar documents
Typical Linear Equation Set and Corresponding Matrices

2.3. Finding polynomial functions. An Introduction:

13 MATH FACTS a = The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.

Chapter 4. Spreadsheets

Here are some examples of combining elements and the operations used:

Students Currently in Algebra 2 Maine East Math Placement Exam Review Problems

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS

MS-EXCEL: ANALYSIS OF EXPERIMENTAL DATA

Math 1050 Khan Academy Extra Credit Algebra Assignment

How To Understand And Solve A Linear Programming Problem

South Carolina College- and Career-Ready (SCCCR) Pre-Calculus

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

Excel Basics By Tom Peters & Laura Spielman

Tutorial on Using Excel Solver to Analyze Spin-Lattice Relaxation Time Data

Mathematics Online Instructional Materials Correlation to the 2009 Algebra I Standards of Learning and Curriculum Framework

Core Maths C3. Revision Notes

x y The matrix form, the vector form, and the augmented matrix form, respectively, for the system of equations are

Data representation and analysis in Excel

EXCEL SOLVER TUTORIAL

L 2 : x = s + 1, y = s, z = 4s Suppose that C has coordinates (x, y, z). Then from the vector equality AC = BD, one has

Physics 235 Chapter 1. Chapter 1 Matrices, Vectors, and Vector Calculus

Vector Spaces; the Space R n

Vectors. Objectives. Assessment. Assessment. Equations. Physics terms 5/15/14. State the definition and give examples of vector and scalar variables.

Lecture 2 Matrix Operations

A vector is a directed line segment used to represent a vector quantity.

Excel supplement: Chapter 7 Matrix and vector algebra

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

FURTHER VECTORS (MEI)

Question 2: How do you solve a matrix equation using the matrix inverse?

Summary of important mathematical operations and formulas (from first tutorial):

Similar matrices and Jordan form

Matrices 2. Solving Square Systems of Linear Equations; Inverse Matrices

1 Introduction to Matrices

MATHEMATICS FOR ENGINEERING BASIC ALGEBRA

CITY UNIVERSITY LONDON. BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION

Introduction to Matrices for Engineers

MOVIES, GAMBLING, SECRET CODES, JUST MATRIX MAGIC

( ) which must be a vector

Find the Relationship: An Exercise in Graphing Analysis

Section 5.0A Factoring Part 1

Reciprocal Cost Allocations for Many Support Departments Using Spreadsheet Matrix Functions

Linear Equations in Linear Algebra

Solving Mass Balances using Matrix Algebra

EXCEL SPREADSHEET MANUAL

Matrix Algebra in R A Minimal Introduction

Using Excel (Microsoft Office 2007 Version) for Graphical Analysis of Data

Biggar High School Mathematics Department. National 5 Learning Intentions & Success Criteria: Assessing My Progress

Algebra I Credit Recovery

MATHEMATICS FOR ENGINEERS BASIC MATRIX THEORY TUTORIAL 2

1.5 SOLUTION SETS OF LINEAR SYSTEMS

How To Understand And Solve Algebraic Equations

POLYNOMIAL FUNCTIONS

Solving Simultaneous Equations and Matrices

Vector Math Computer Graphics Scott D. Anderson

ANALYTICAL METHODS FOR ENGINEERS

Sequences. A sequence is a list of numbers, or a pattern, which obeys a rule.

VISUAL ALGEBRA FOR COLLEGE STUDENTS. Laurie J. Burton Western Oregon University

Polynomial Degree and Finite Differences

Method To Solve Linear, Polynomial, or Absolute Value Inequalities:

Indiana State Core Curriculum Standards updated 2009 Algebra I

Mathematics 31 Pre-calculus and Limits

SUNY ECC. ACCUPLACER Preparation Workshop. Algebra Skills

Mathematics Pre-Test Sample Questions A. { 11, 7} B. { 7,0,7} C. { 7, 7} D. { 11, 11}

Linearly Independent Sets and Linearly Dependent Sets

sin(θ) = opp hyp cos(θ) = adj hyp tan(θ) = opp adj

0 Introduction to Data Analysis Using an Excel Spreadsheet

DERIVATIVES AS MATRICES; CHAIN RULE

Data Mining: Algorithms and Applications Matrix Math Review

Below is a very brief tutorial on the basic capabilities of Excel. Refer to the Excel help files for more information.

6. LECTURE 6. Objectives

Steady-State Power System Security Analysis with PowerWorld Simulator

Math Common Core Sampler Test

Section 9.1 Vectors in Two Dimensions

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

Section V.2: Magnitudes, Directions, and Components of Vectors

3.2 Sources, Sinks, Saddles, and Spirals

Section 1.1. Introduction to R n

Linear Algebra Notes for Marsden and Tromba Vector Calculus

A Quick Algebra Review

Using row reduction to calculate the inverse and the determinant of a square matrix

Math, Trigonometry and Vectors. Geometry. Trig Definitions. sin(θ) = opp hyp. cos(θ) = adj hyp. tan(θ) = opp adj. Here's a familiar image.

CHAPTER 8 FACTOR EXTRACTION BY MATRIX FACTORING TECHNIQUES. From Exploratory Factor Analysis Ledyard R Tucker and Robert C.

Lecture L3 - Vectors, Matrices and Coordinate Transformations

DRAFT. Further mathematics. GCE AS and A level subject content

K80TTQ1EP-??,VO.L,XU0H5BY,_71ZVPKOE678_X,N2Y-8HI4VS,,6Z28DDW5N7ADY013

Linear Equations and Inequalities

Mathematics Course 111: Algebra I Part IV: Vector Spaces

Lecture 5: Singular Value Decomposition SVD (1)

Spreadsheets and Laboratory Data Analysis: Excel 2003 Version (Excel 2007 is only slightly different)

Linear Algebra Review. Vectors

Microsoft Excel 2010 Training. Use Excel tables to manage information

Linear Equations in One Variable

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

Integer Operations. Overview. Grade 7 Mathematics, Quarter 1, Unit 1.1. Number of Instructional Days: 15 (1 day = 45 minutes) Essential Questions

7. LU factorization. factor-solve method. LU factorization. solving Ax = b with A nonsingular. the inverse of a nonsingular matrix

MATH2210 Notebook 1 Fall Semester 2016/ MATH2210 Notebook Solving Systems of Linear Equations... 3

Anchorage School District/Alaska Sr. High Math Performance Standards Algebra

LINEAR INEQUALITIES. less than, < 2x + 5 x 3 less than or equal to, greater than, > 3x 2 x 6 greater than or equal to,

Transcription:

Using Microsoft Ecel Built-in Functions and Matri Operations EGN 006 Introduction to the Engineering Profession

Ecel Embedded Functions Ecel has a wide variety of Built-in Functions: Mathematical Financial Statistical Logical Database Conversion User-defined *** EGN 006 Introduction to the Engineering Profession

EGN 006 Introduction to the Engineering Profession Ecel Embedded Functions These functions allow us to : Perform more comple operations Combine data for parametric calculations Manipulate the contents of the datasheet Search for values in the datasheet

Ecel Embedded Functions t V Eample: Open Ecel and start from an empty datasheet and enter the following data: 0 0.5.5.5.5.5 5 5.5 6 6.5 7 7.5 8 8.5 9 9.5 0 EGN 006 Introduction to the Engineering Profession

EGN 006 Introduction to the Engineering Profession Ecel Embedded Functions Enter the following formula for an oscillating particle position at any time t with a frequency ω=0.75 ( t ) = sin( ω t ) By clicking in the f button or entering: =sin(0.75*a) on cell B t V 0 0 0.5 0.667 0.6869.5 0.9068 0.99795.5 0.95086 0.77807.5 0.99 0..5-0.9 5-0.5756 5.5-0.89 6-0.9775 6.5-0.9868 7-0.8589 7.5-0.668 8-0.79 8.5 0.09686 9 0.500 9.5 0.7585 0 0.98

Ecel Embedded Functions Plot the position (t) as:.5 0.5 0 t 0.5.5.5.5.5 5.5 6.5 7.5 8.5 9.5-0.5 - -.5 EGN 006 Introduction to the Engineering Profession

EGN 006 Introduction to the Engineering Profession Ecel Embedded Functions Enter the following formula for the particle velocity at any time t with a frequency ω=0.75 V ( t ) = ω cos( ω t ) By clicking in the f button or entering: =0.75*cos(0.75*A) on cell C t V 0 0 0.75 0.5 0.667 0.69788 0.6869 0.58767.5 0.9068 0.8 0.99795 0.0505.5 0.95086-0.65 0.77807-0.7.5 0.99-0.65 0. -0.79.5-0.9-0.7966 5-0.5756-0.65 5.5-0.89-0.56 6-0.9775-0.58 6.5-0.9868 0. 7-0.8589 0.806 7.5-0.668 0.598 8-0.79 0.708 8.5 0.09686 0.768 9 0.500 0.669755 9.5 0.7585 0.9958 0 0.98 0.59976

Ecel Embedded Functions Plot the velocity V(t) as: V 0.8 0.6 0. 0. t 0.5.5.5.5.5 5.5 6.5 7.5 8.5 9.5 0-0. -0. -0.6-0.8 - V EGN 006 Introduction to the Engineering Profession

EGN 006 Introduction to the Engineering Profession Ecel Embedded Functions We can also perform multi-dimensional calculations: Assume that the temperature of the surface of an electronic board is given by the function: T (, y) = e 0.( + y) [ sin( ) cos( y ) ]

Ecel Embedded Functions Enter the following data for the position (,y): y 0 0.5 0.5 0.75.5.5.75.5.5.75 0 0.5 0.5 0.75.5.5.75.5.5.75 EGN 006 Introduction to the Engineering Profession

EGN 006 Introduction to the Engineering Profession Ecel Embedded Functions Use the formula for the surface temperature on cell B as: = EXP(0.*(B$+$A))*SIN(B$-)*COS($A-) y 0 0.5 0.5 0.75.5.5.75.5.5.75 0-0.5-0.8-0.7-0. 0 0.5 0.0 0.9 0.555 0.6 0.69 0.7 0.66 0.5-0.6-0.5-0.8-0. 0 0. 0.8 0.609 0.77 0.89 0.96 0.97 0.9 0.5-0.78-0.6-0.6-0.5 0 0.59 0.5 0.79 0.98.096.8.95. 0.75-0.88-0.7-0.5-0.8 0 0.9 0.58 0.88.07..8.5.8-0.9-0.77-0.56-0.9 0 0. 0.66 0.897.6..6..57.5-0.9-0.77-0.55-0.9 0 0.08 0.6 0.89.8.05.06..8.5-0.86-0.7-0.5-0.7 0 0.86 0.568 0.88.08..06..5.75-0.7-0.6-0. -0. 0 0. 0.86 0.708 0.896.06.6.9.07-0.56-0.6-0. -0.8 0 0.85 0.68 0.56 0.678 0.78 0.85 0.855 0.8.5-0. -0.8-0. -0. 0 0. 0. 0. 0.06 0.69 0.506 0.5 0.85.5-0.08-0.06-0.05-0.0 0 0.05 0.05 0.07 0.09 0.08 0.6 0.8 0..75 0.97 0.6 0.8 0.06 0-0.07-0. -0.9-0. -0.8-0. -0. -0.9 0.7 0.9 0.8 0.5 0-0.6-0. -0.6-0.58-0.67-0.7-0.7-0.69

Ecel Embedded Functions Use a surface graph to plot T(,y) as:.5 0.5 0-0.5 -.5.5 0 -.5 0.5-0-0.5-0.5-0 ---0.5 EGN 006 Introduction to the Engineering Profession 0 0.75.5.5

EGN 006 Introduction to the Engineering Profession Matri Operations A Matri is a collection of independent values ordered in a row-column format: 0 0 (5) The above Matri is said to be (5) or by 5 because it has rows and 5 columns. The first number is the first dimension or the number of rows. The second number is the second dimension or the number of columns.

EGN 006 Introduction to the Engineering Profession Matri Operations When a Matri has just one () column (N) is said to be a vector. The following is a () vector: 0 ( ) Matrices are very useful in the solution of systems of multiple linear equations arising from many problems: Electricity, Heat Transfer, Fluid Mechanics, Optics, etc.

Matri Operations The fundamental Matri operations are:. Addition and Subtraction. Multiplication by a Scalar. Transpose. Multiplication of Two Matrices 5. Determinant 6. Inversion EGN 006 Introduction to the Engineering Profession

EGN 006 Introduction to the Engineering Profession Matri Operations. Addition and Subtraction: To add or subtract two matrices they both must have the same eact dimensions. The result contains the addition or subtraction of corresponding elements. In Ecel, simply enter the matrices, add or subtract the first element of each matri into a new cell, and copy the cell to form the new matri: [A] () - - - [C]=[A]+[B] - 6 () - 6 5 [B] - 5 0 () - -

EGN 006 Introduction to the Engineering Profession Matri Operations. Multiplication by a Scalar: The resulting matri of a scalar-matri multiplication has the same dimensions as the original matri with all its elements multiplied by the scalar. In Ecel, simply enter the Matri and the Scalar, multiply the first element of the matri times the scalar (with absolute address) into a new cell, and copy the cell to form the new matri: Scalar 5 [A] - [C]=Scalar [A] -0 0 5 () - () 5-5 0-0 -0 0 5 0 5 0 0

EGN 006 Introduction to the Engineering Profession Matri Operations. Transpose: The transpose of a matri positions the rows on the column locations and the columns on the row locations. The result is a Matri with the opposite dimensions as the original one ( 5 5). In Ecel, use the built- in-function =transpose(). Remember to use [ctrlshift-enter] when entering the results because the =transpose() function will occupy multiple cells: [A] - 5 transpose[a] 0 (5) - (5) - - - 5-0 0 0 - - - -

EGN 006 Introduction to the Engineering Profession Matri Operations. Multiplication of two Matrices: To multiply two matrices the number of columns of the first matri must equal the number of rows of the second. The resulting matri will have as many rows as the first and as many columns as the second. In Ecel, use the built-in-function =mmult(,). Remember to use [ctrl-shift-enter] when entering the results because the =mmult(,) function will occupy multiple cells: [A] - () [C]=[A][B] 8 6 6 6 [B] - - () 0 () 0-5 9 -

Matri Operations Another Multiplication eample: [A] - - 0 [c]=[a][b] 0 (55) - 0 (5) 0 - - 8 0-5 [b] (5) 0 EGN 006 Introduction to the Engineering Profession

EGN 006 Introduction to the Engineering Profession Matri Operations 5. Determinant: Only the determinants of square matrices can be obtained. The determinant of a singular matri is zero (0). In Ecel, use the builtin-function =mdeterm(). [A] - - () - - 0 determinant[ A] -0

EGN 006 Introduction to the Engineering Profession Matri Operations 6. Inversion: Only the inverse of square matrices can be obtained. The inverse of a matri has the same dimensions as the original one. In Ecel, use the built-in-function =minverse(). Remember to use [ctrl-shift-enter] when entering the results because the =minverse() function will occupy multiple cells: [A] - - 0 inverse[a] 0.9 0. 0.06-0.0 0.0 (55) - 0 (55) 0.. 0. 0. -0.6-0.0 0.90 0.05 0.0-0.55 - -0. -0.5 0.06 0.09 0. 0-0.08.6-0.08 0.8-0.5

Introduction to the Engineering Profession Solution of systems of multiple linear equations: If a system of linear equations is well-posed (same number of equations as unknowns and no equation is the combination of one or more of the others) a Matri-Vector Analogy can be found to facilitate the solution of the system. Given the Matri Operations EGN 006 Introduction to the Engineering Profession facilitate the solution of the system. Given the following system of five (5) equations and five (5) unknowns: 5 5 5 5 = + + = + + + = + = + = + +

Introduction to the Engineering Profession Where the unknowns 5 can represent electric intensity, energy, temperature, flow velocities, etc., depending on the application. An analog Matri-Vector system can be derived as: Matri Operations EGN 006 Introduction to the Engineering Profession = 0 5 Or simplified as: [ ] } { } { b A =

EGN 006 Introduction to the Engineering Profession Matri Operations The solution of the system is given by: In Ecel: [ A] { b} { } = [A] - - {b} (55) - - - - (5) - - - - - - - 0 inverse[a] 0. 0. 0.0 0. 0.0 {}=inv[a]{b}.8 (55) -0. 0.6-0.08 0. 0.06 (5) -0.0-0.06-0. -0.06-0. 0.8-0.5 0.0 0.05-0. 0. -0. -0. -0. -0.0 0.06-0.06 0.09 -.9