CVEN 302-501 Exam 1 Review. Matlab Basic commands and syntax Basic commands and syntax Creation of functions and programs Creation of functions and programs.

Slides:



Advertisements
Similar presentations
Numerical Computation Lecture 4: Root Finding Methods - II United International College.
Advertisements

CS-110 Computational Engineering Part 3
Lecture 5 Newton-Raphson Method
Fixed point iterations and solution of non-linear functions
Numerical Solution of Nonlinear Equations
SOLVING SYSTEMS OF LINEAR EQUATIONS. Overview A matrix consists of a rectangular array of elements represented by a single symbol (example: [A]). An individual.
Inverses of n x n Matrices. The Inverse Matrix If A is an n x n matrix, the inverse of A (call it A -1 ) is the matrix such that A * A -1 is equal to.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 61.
A few words about convergence We have been looking at e a as our measure of convergence A more technical means of differentiating the speed of convergence.
MECH300H Introduction to Finite Element Methods Lecture 2 Review.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 20 Solution of Linear System of Equations - Iterative Methods.
CVEN Exam 1 Review. Matlab Basic commands and syntax Basic commands and syntax Creation of functions and programs Creation of functions and programs.
Revision.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 9 Roots of Equations Open Methods.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 14 Elimination Methods.
CVEN Exam 1 Review. Matlab.m files Matlab.m files Programming: FOR, WHILE, IF and FUNCTION Programming: FOR, WHILE, IF and FUNCTION Taylor Series.
ECIV 520 Structural Analysis II Review of Matrix Algebra.
Systems of Non-Linear Equations
ECIV 301 Programming & Graphics Numerical Methods for Engineers REVIEW II.
1 Chapter 3 Matrix Algebra with MATLAB Basic matrix definitions and operations were covered in Chapter 2. We will now consider how these operations are.
Elementary Linear Algebra Howard Anton Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 1.
Derivatives and Differential Equations
Elementary Linear Algebra Howard Anton Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 1.
Chapter 8 Objectives Understanding matrix notation.
ECON 1150 Matrix Operations Special Matrices
Engineering Analysis ENG 3420 Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00.
Numerical Computation Lecture 7: Finding Inverses: Gauss-Jordan United International College.
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
Review of Matrices Or A Fast Introduction.
Application of Differential Applied Optimization Problems.
Review Taylor Series and Error Analysis Roots of Equations
Lecture 28: Mathematical Insight and Engineering.
1 Ch. 4 Linear Models & Matrix Algebra Matrix algebra can be used: a. To express the system of equations in a compact manner. b. To find out whether solution.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Roots of Equations ~ Open Methods Chapter 6 Credit:
Introduction to Matlab Module #2 Page 1 Introduction to Matlab Module #2 – Arrays Topics 1.Numeric arrays (creation, addressing, sizes) 2.Element-by-Element.
Linear Algebra 1.Basic concepts 2.Matrix operations.
Matlab 14.html Cost: $100 Available in labs on Windows and Unix machines.
Chapter 3 Roots of Equations. Objectives Understanding what roots problems are and where they occur in engineering and science Knowing how to determine.
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Introduction Course Outline.
MECN 3500 Inter - Bayamon Lecture 8 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Newton’s Method, Root Finding with MATLAB and Excel
Today’s class Roots of equation Finish up incremental search
Lecture 5 - Single Variable Problems CVEN 302 June 12, 2002.
3.6 Solving Systems Using Matrices You can use a matrix to represent and solve a system of equations without writing the variables. A matrix is a rectangular.
1 Lecture 3 Post-Graduate Students Advanced Programming (Introduction to MATLAB) Code: ENG 505 Dr. Basheer M. Nasef Computers & Systems Dept.
2-4 Solving Equations with Variables on Both Sides.
Linear System of Simultaneous Equations Warm UP First precinct: 6 arrests last week equally divided between felonies and misdemeanors. Second precinct:
Engineering Analysis ENG 3420 Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00.
ROOTS OF EQUATIONS. Graphical Methods A simple method for obtaining the estimate of the root of the equation f(x)=0 is to make a plot of the function.
LU Decomposition ● In Gauss elimination; Forward elimination Backward substitution Major computational effort Low computational effort can be used for.
EEE 244-3: MATRICES AND EQUATION SOLVING
Matrix Addition and Scalar Multiplication
Matrix Multiplication
Simultaneous Linear Equations
Review Problems Matrices
RECORD. RECORD Gaussian Elimination: derived system back-substitution.
Numerical Analysis Lecture 45.
Use Inverse Matrices to Solve Linear Systems
Computers in Civil Engineering 53:081 Spring 2003
Chapter 7: Matrices and Systems of Equations and Inequalities
Numerical Computation and Optimization
Fundamentals of Engineering Analysis
Solving Quadratics Using Square Roots
MATH-321 In One Slide MATH-321 & MATLAB Command.
ARRAY DIVISION Identity matrix Islamic University of Gaza
EEE 244-3: MATRICES AND EQUATION SOLVING
Some Comments on Root finding
Comp 208 Computers in Engineering Yi Lin Winter, 2007
Derivatives and Gradients
Presentation transcript:

CVEN Exam 1 Review

Matlab Basic commands and syntax Basic commands and syntax Creation of functions and programs Creation of functions and programs Using functions at command prompt Using functions at command prompt IF, FOR, and WHILE structures IF, FOR, and WHILE structures Arrays, matrices Arrays, matrices Element-by-element operations Element-by-element operations Logical operators and order of operation Logical operators and order of operation

Matlab, continued Built-in functions: Built-in functions: –roots, fzero, feval, and help elfun Passing functions to functions Passing functions to functions

Taylor Series Taylor series expansion Taylor series expansion What is a base point? What is a base point? Order of the expansion Order of the expansion Error term Error term

Finite Difference Approximate derivatives numerically Approximate derivatives numerically Forward, Backward and Central difference Forward, Backward and Central difference Order of the method Order of the method Behavior of error compared to the step size Behavior of error compared to the step size

Roots of Equations Bracketing methods: bisection and false position Bracketing methods: bisection and false position Open methods: Newton-Raphson and secant Open methods: Newton-Raphson and secant Initial guesses and update equations Initial guesses and update equations Calculating relative error Calculating relative error Using fzero or roots Using fzero or roots

Matrices Matrix operations: addition, subtraction, multiplication, transpose Matrix operations: addition, subtraction, multiplication, transpose Entering matrices in Matlab Entering matrices in Matlab Matrix indexing: A mn Matrix indexing: A mn What is the matrix inverse? What is the matrix inverse? Identity matrix Identity matrix

Linear Algebra Write system of equations in matrix form Write system of equations in matrix form Convert to row-echelon form using Gauss elimination (naïve and regular) Convert to row-echelon form using Gauss elimination (naïve and regular) LU decomposition LU decomposition Solution: x = A -1 b Solution: x = A -1 b

Ground rules One sheet of notes, double sided One sheet of notes, double sided Hand-held calculator Hand-held calculator Show all your work on work-out problems Show all your work on work-out problems 7:30-9:00 – location TBA 7:30-9:00 – location TBA