ME 261: Numerical Analysis
|
|
- Dina Glenn
- 5 years ago
- Views:
Transcription
1 ME 6: Numerical Analysis Dr. A.B.M. Toufique Hasan Associate Professor Department of Mechanical Engineering, BUET Term: July September 06 Lecture-: Approimation and Errors ME 6: Numerical Analysis Error Loss of Significant Figures (Subtractive Cancellation) Problem: Use four-digit rounding arithmetic to evaluate the roots of the quadratic equation: True answer: and Solution: b + a and b a ( 6.0) ( 4.000)(.000)(.000) b a S.F. (loss of significance) Subtraction of nearly equal numbers A poor approimation to -0.06, with the large relative error % 4.5% 0.06!!!!!!!!!!!!! And, b with the small relative error a Addition of nearly equal numbers % 0.0% 6.08 ME 6: Numerical Analysis
2 Error To obtain a more accurate approimation of Reformulation For, change the form of the quadratic formula by rationalize the numerator b + b a b b + c This avoids the subtraction of nearly equal number To avoid the subtraction of nearly equal numbers Then, No loss of significance with the small relative error in approimation of % % 0.06 <<< 4.5% (without manipulation) Reformulation results in good approimation with no loss of significance. ME 6: Numerical Analysis Error Problem: Evaluate f( at 4.7 using three-digit arithmetic. 6.. Eact (chopping) (rounding) Eact: f(4.7) (chopping): f(4.7) -.5!!!!! High relative error of 5.5% (rounding): f(4.7) -.4!!!!! High relative error of 6.06% ME 6: Numerical Analysis 4
3 Error To obtain a more accurate evaluation of f( f( can be written in a nested manner f( ((-6.)+.) (-6.) (-6.)+. ((-6.)+.) (chopping) (rounding) Eact: f(4.7) (chopping): f(4.7) -4.!!!!! Low relative error of 0.447% (rounding): f(4.7) -4.!!!!! Low relative error of 0.5% Polynomials should always be epressed in nested form before performing an evaluation to deal with finite digit arithmetic and for better approimation. ME 6: Numerical Analysis 5 Sources of error in numerical computations. Errors in Mathematical Modeling A mathematical model is the basic input to the numerical process to computationally represent a physical system. In many situations, it is impossible to include all the realistic phenomena acting on the physical problem. And thus, simplified approimations or assumptions in mathematical modeling are required to represent a physical system. For eample: (a) steady state, (b) frictionless flow, (c) D consideration are the frequent approimations which are used in mathematical models of many mechanical engineering problems. These approimations result in error in modeling of a physical system. These errors are not relevant to the numerical approimation during mathematical operations.. Errors in Numerical Input These errors are those that are present in the data supplied to the numerical model. These are sometimes called data error- the input errors occur due to the uncertainties associated with eperimental measurements since each instrument (such as anemometer, thermocouple, pressure gauge, UTM, ruler, etc.) has certain degree of accuracy and precision. However, good precision instrument can reduce this source of error. ME 6: Numerical Analysis 6
4 Sources of error in numerical computations contd... Machine Error The floating point representation of numbers involves rounding and chopping errors since each computing machine (computer, calculator etc) can holds a finite number of digits. This error is introduced at each arithmetic operation during the computation. This depends on the bit of computer OS and associated software packages-6bit/bit/64bit. According to IEEE (for 64 bit PC)- numbers occurring in calculations that have a magnitude less than 0-08 result in underflow and generally set to zero. Numbers greater than 0 08 results in overflow and typically cause computation to halt. Certain mathematical operations are undefined such as 0/0, sqrt(-); when a program tries to do any of these, the IEEE standard substitutes another special bit pattern that is displayed as NaN (Not a Number). Inherent Error Errors in Mathematical Model + Errors in numerical input+ Machine Error ME 6: Numerical Analysis 7 Sources of error in numerical computations contd.. 4. Blunders Blunders are errors that are caused due to human imperfection. Such errors may cause a serious disaster in the result. Some common sources of such errors are- (i) Selecting a wrong numerical method for solving the mathematical model. (ii) Selecting a wrong algorithm for implementing the numerical method. (iii) Making mistakes in the computer programming (coding). All these mistakes can be avoided through a sound understanding of the numerical methods and use of good programming techniques and tools. 5. Computational Errors (Numerical Error) Computational errors are introduced during the process of implementation of a numerical method. They come in two forms- roundoff error and truncation error. Roundoff error- occurs when a fied number of digits are used to represent eact numbers. Such error is introduced at every mathematical operation. Consequently, even though an individual roundoff error could be very small, the cumulative effect of a series of computations can be very significant. ME 6: Numerical Analysis 8 4
5 Sources of error in numerical computations contd.. Rounding a number can be done in two ways- Chopping- Etra digits are dropped. This is called truncating a number. For eample, an eact number can be approimated to 4.9 ( digit chopping), 4.96 ( digit chopping) or 4.96 (4 digit chopping). Symmetric Roundoff- The last retained significant digit is rounded up by if the first discarded digit is larger or equal 5; otherwise, the last retained digit is unchanged. For eample can be approimated to 4.79 (Correct to 4 significant digits/ decimal places) and can be approimated to Truncation Error- Occurs when some unwanted (less significant) terms for a eact formula are discarded. In mechanical engineering problem, infinite series in numerical operation are often appeared. Consider the Taylor series- f ( ) f ( h! f (! Can be approimated to (/truncated to) f ( 4! n 0 n f ( h n! n f ( ) f ( h! f ( ) f ( h! ME 6: Numerical Analysis f (! O ( h ) O ( h ) Order of error 9 5
ME 261: Numerical Analysis. ME 261: Numerical Analysis
ME 261: Numerical Analysis 3. credit hours Prereq.: ME 163/ME 171 Course content Approximations and error types Roots of polynomials and transcendental equations Determinants and matrices Solution of linear
More information2 Computation with Floating-Point Numbers
2 Computation with Floating-Point Numbers 2.1 Floating-Point Representation The notion of real numbers in mathematics is convenient for hand computations and formula manipulations. However, real numbers
More informationTruncation Errors. Applied Numerical Methods with MATLAB for Engineers and Scientists, 2nd ed., Steven C. Chapra, McGraw Hill, 2008, Ch. 4.
Chapter 4: Roundoff and Truncation Errors Applied Numerical Methods with MATLAB for Engineers and Scientists, 2nd ed., Steven C. Chapra, McGraw Hill, 2008, Ch. 4. 1 Outline Errors Accuracy and Precision
More informationfractional quantities are typically represented in computers using floating point format this approach is very much similar to scientific notation
Floating Point Arithmetic fractional quantities are typically represented in computers using floating point format this approach is very much similar to scientific notation for example, fixed point number
More informationMAT128A: Numerical Analysis Lecture Two: Finite Precision Arithmetic
MAT128A: Numerical Analysis Lecture Two: Finite Precision Arithmetic September 28, 2018 Lecture 1 September 28, 2018 1 / 25 Floating point arithmetic Computers use finite strings of binary digits to represent
More information1.2 Round-off Errors and Computer Arithmetic
1.2 Round-off Errors and Computer Arithmetic 1 In a computer model, a memory storage unit word is used to store a number. A word has only a finite number of bits. These facts imply: 1. Only a small set
More information2 Computation with Floating-Point Numbers
2 Computation with Floating-Point Numbers 2.1 Floating-Point Representation The notion of real numbers in mathematics is convenient for hand computations and formula manipulations. However, real numbers
More informationMathematical preliminaries and error analysis
Mathematical preliminaries and error analysis Tsung-Ming Huang Department of Mathematics National Taiwan Normal University, Taiwan August 28, 2011 Outline 1 Round-off errors and computer arithmetic IEEE
More information2.1.1 Fixed-Point (or Integer) Arithmetic
x = approximation to true value x error = x x, relative error = x x. x 2.1.1 Fixed-Point (or Integer) Arithmetic A base 2 (base 10) fixed-point number has a fixed number of binary (decimal) places. 1.
More informationMost nonzero floating-point numbers are normalized. This means they can be expressed as. x = ±(1 + f) 2 e. 0 f < 1
Floating-Point Arithmetic Numerical Analysis uses floating-point arithmetic, but it is just one tool in numerical computation. There is an impression that floating point arithmetic is unpredictable and
More informationFloating-Point Numbers in Digital Computers
POLYTECHNIC UNIVERSITY Department of Computer and Information Science Floating-Point Numbers in Digital Computers K. Ming Leung Abstract: We explain how floating-point numbers are represented and stored
More informationFloating-Point Numbers in Digital Computers
POLYTECHNIC UNIVERSITY Department of Computer and Information Science Floating-Point Numbers in Digital Computers K. Ming Leung Abstract: We explain how floating-point numbers are represented and stored
More informationCS321 Introduction To Numerical Methods
CS3 Introduction To Numerical Methods Fuhua (Frank) Cheng Department of Computer Science University of Kentucky Lexington KY 456-46 - - Table of Contents Errors and Number Representations 3 Error Types
More informationNumerical Computing: An Introduction
Numerical Computing: An Introduction Gyula Horváth Horvath@inf.u-szeged.hu Tom Verhoeff T.Verhoeff@TUE.NL University of Szeged Hungary Eindhoven University of Technology The Netherlands Numerical Computing
More informationFloating-point representation
Lecture 3-4: Floating-point representation and arithmetic Floating-point representation The notion of real numbers in mathematics is convenient for hand computations and formula manipulations. However,
More informationLecture Objectives. Structured Programming & an Introduction to Error. Review the basic good habits of programming
Structured Programming & an Introduction to Error Lecture Objectives Review the basic good habits of programming To understand basic concepts of error and error estimation as it applies to Numerical Methods
More informationMini-Lecture 8.1 Introduction to Radicals
Copyright 01 Pearson Education, Inc. Mini-Lecture 8.1 Introduction to Radicals 1. Find square roots.. Find cube roots.. Find nth roots.. Approimate square roots.. Simplify radicals containing variables.
More informationSection 1.4 Mathematics on the Computer: Floating Point Arithmetic
Section 1.4 Mathematics on the Computer: Floating Point Arithmetic Key terms Floating point arithmetic IEE Standard Mantissa Exponent Roundoff error Pitfalls of floating point arithmetic Structuring computations
More informationFloating-point numbers. Phys 420/580 Lecture 6
Floating-point numbers Phys 420/580 Lecture 6 Random walk CA Activate a single cell at site i = 0 For all subsequent times steps, let the active site wander to i := i ± 1 with equal probability Random
More informationComputational Mathematics: Models, Methods and Analysis. Zhilin Li
Computational Mathematics: Models, Methods and Analysis Zhilin Li Chapter 1 Introduction Why is this course important (motivations)? What is the role of this class in the problem solving process using
More informationReview of Calculus, cont d
Jim Lambers MAT 460/560 Fall Semester 2009-10 Lecture 4 Notes These notes correspond to Sections 1.1 1.2 in the text. Review of Calculus, cont d Taylor s Theorem, cont d We conclude our discussion of Taylor
More informationScientific Computing. Error Analysis
ECE257 Numerical Methods and Scientific Computing Error Analysis Today s s class: Introduction to error analysis Approximations Round-Off Errors Introduction Error is the difference between the exact solution
More informationScientific Computing: An Introductory Survey
Scientific Computing: An Introductory Survey Chapter 1 Scientific Computing Prof. Michael T. Heath Department of Computer Science University of Illinois at Urbana-Champaign Copyright c 2002. Reproduction
More informationIntroduction to Computer Programming with MATLAB Calculation and Programming Errors. Selis Önel, PhD
Introduction to Computer Programming with MATLAB Calculation and Programming Errors Selis Önel, PhD Today you will learn Numbers, Significant figures Error analysis Absolute error Relative error Chopping
More informationFPAvisual: A Tool for Visualizing the Effects of Floating-Point Finite-Precision Arithmetic
FPAvisual: A Tool for Visualizing the Effects of Floating-Point Finite-Precision Arithmetic Yi Gu, Nilufer Onder, CK Shene, Chaoli Wang Department of Computer Science Michigan Technological University
More informationErrors in Computation
Theory of Errors Content Errors in computation Absolute Error Relative Error Roundoff Errors Truncation Errors Floating Point Numbers Normalized Floating Point Numbers Roundoff Error in Floating Point
More informationRoundoff Errors and Computer Arithmetic
Jim Lambers Math 105A Summer Session I 2003-04 Lecture 2 Notes These notes correspond to Section 1.2 in the text. Roundoff Errors and Computer Arithmetic In computing the solution to any mathematical problem,
More informationReview Questions 26 CHAPTER 1. SCIENTIFIC COMPUTING
26 CHAPTER 1. SCIENTIFIC COMPUTING amples. The IEEE floating-point standard can be found in [131]. A useful tutorial on floating-point arithmetic and the IEEE standard is [97]. Although it is no substitute
More informationComputational Economics and Finance
Computational Economics and Finance Part I: Elementary Concepts of Numerical Analysis Spring 2015 Outline Computer arithmetic Error analysis: Sources of error Error propagation Controlling the error Rates
More informationLesson 3: Solving Equations; Floating-point Computation
Lesson 3: Solving Equations; Floating-point Computation restart; A hard equation Last time we were looking at this equation. eq := * sin() = Pi/2; (1.1) Maple didn't know the solutions. solve(eq,,allsolutions);
More informationFloating Point Representation. CS Summer 2008 Jonathan Kaldor
Floating Point Representation CS3220 - Summer 2008 Jonathan Kaldor Floating Point Numbers Infinite supply of real numbers Requires infinite space to represent certain numbers We need to be able to represent
More informationCumulative Review Problems Packet # 1
April 15, 009 Cumulative Review Problems Packet #1 page 1 Cumulative Review Problems Packet # 1 This set of review problems will help you prepare for the cumulative test on Friday, April 17. The test will
More informationObjectives. look at floating point representation in its basic form expose errors of a different form: rounding error highlight IEEE-754 standard
Floating Point Objectives look at floating point representation in its basic form expose errors of a different form: rounding error highlight IEEE-754 standard 1 Why this is important: Errors come in two
More informationWhat we need to know about error: Class Outline. Computational Methods CMSC/AMSC/MAPL 460. Errors in data and computation
Class Outline Computational Methods CMSC/AMSC/MAPL 460 Errors in data and computation Representing numbers in floating point Ramani Duraiswami, Dept. of Computer Science Computations should be as accurate
More informationFloating-point representations
Lecture 10 Floating-point representations Methods of representing real numbers (1) 1. Fixed-point number system limited range and/or limited precision results must be scaled 100101010 1111010 100101010.1111010
More informationFloating-point representations
Lecture 10 Floating-point representations Methods of representing real numbers (1) 1. Fixed-point number system limited range and/or limited precision results must be scaled 100101010 1111010 100101010.1111010
More informationNumerical Methods 5633
Numerical Methods 5633 Lecture 2 Marina Krstic Marinkovic mmarina@maths.tcd.ie School of Mathematics Trinity College Dublin Marina Krstic Marinkovic 1 / 15 5633-Numerical Methods Organisational Assignment
More information(Refer Slide Time: 02:59)
Numerical Methods and Programming P. B. Sunil Kumar Department of Physics Indian Institute of Technology, Madras Lecture - 7 Error propagation and stability Last class we discussed about the representation
More informationChapter 4. Operations on Data
Chapter 4 Operations on Data 1 OBJECTIVES After reading this chapter, the reader should be able to: List the three categories of operations performed on data. Perform unary and binary logic operations
More informationComputational Methods CMSC/AMSC/MAPL 460. Representing numbers in floating point and associated issues. Ramani Duraiswami, Dept. of Computer Science
Computational Methods CMSC/AMSC/MAPL 460 Representing numbers in floating point and associated issues Ramani Duraiswami, Dept. of Computer Science Class Outline Computations should be as accurate and as
More informationFloating Point Representation in Computers
Floating Point Representation in Computers Floating Point Numbers - What are they? Floating Point Representation Floating Point Operations Where Things can go wrong What are Floating Point Numbers? Any
More informationNumerical computing. How computers store real numbers and the problems that result
Numerical computing How computers store real numbers and the problems that result The scientific method Theory: Mathematical equations provide a description or model Experiment Inference from data Test
More information4.1 QUANTIZATION NOISE
DIGITAL SIGNAL PROCESSING UNIT IV FINITE WORD LENGTH EFFECTS Contents : 4.1 Quantization Noise 4.2 Fixed Point and Floating Point Number Representation 4.3 Truncation and Rounding 4.4 Quantization Noise
More informationInstructor: Virginia Davis Course: Foundations for College Math (1)
5/19/01 Final Eam Review Ch 10,11-Virginia Davis Student: Date: Instructor: Virginia Davis Course: Foundations for College Math (1) Assignment: Final Eam Review Ch 10,11 1. Simplif b factoring. Assume
More informationScientific Computing: An Introductory Survey
Scientific Computing: An Introductory Survey Chapter 1 Scientific Computing Prof. Michael T. Heath Department of Computer Science University of Illinois at Urbana-Champaign Copyright c 2002. Reproduction
More informationComputational Economics and Finance
Computational Economics and Finance Part I: Elementary Concepts of Numerical Analysis Spring 2016 Outline Computer arithmetic Error analysis: Sources of error Error propagation Controlling the error Rates
More informationEE878 Special Topics in VLSI. Computer Arithmetic for Digital Signal Processing
EE878 Special Topics in VLSI Computer Arithmetic for Digital Signal Processing Part 4-B Floating-Point Arithmetic - II Spring 2017 Koren Part.4b.1 The IEEE Floating-Point Standard Four formats for floating-point
More informationFloating-Point Arithmetic
Floating-Point Arithmetic ECS30 Winter 207 January 27, 207 Floating point numbers Floating-point representation of numbers (scientific notation) has four components, for example, 3.46 0 sign significand
More informationCHAPTER 2 SENSITIVITY OF LINEAR SYSTEMS; EFFECTS OF ROUNDOFF ERRORS
CHAPTER SENSITIVITY OF LINEAR SYSTEMS; EFFECTS OF ROUNDOFF ERRORS The two main concepts involved here are the condition (of a problem) and the stability (of an algorithm). Both of these concepts deal with
More informationLecture Notes to Accompany. Scientific Computing An Introductory Survey. What is scientific computing?
Lecture Notes to Accompany Scientific Computing An Introductory Survey Second Edition by Michael T. Heath Scientific Computing What is scientific computing? Design and analysis of algorithms for solving
More informationHW DUE Floating point
Numerical and Scientific Computing with Applications David F. Gleich CS 314, Purdue In this class: Understand the need for floating point arithmetic and some alternatives. Understand how the computer represents
More informationBinary floating point encodings
Week 1: Wednesday, Jan 25 Binary floating point encodings Binary floating point arithmetic is essentially scientific notation. Where in decimal scientific notation we write in floating point, we write
More informationUNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering. Digital Computer Arithmetic ECE 666
UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering Digital Computer Arithmetic ECE 666 Part 4-B Floating-Point Arithmetic - II Israel Koren ECE666/Koren Part.4b.1 The IEEE Floating-Point
More informationTime: 1 hour 30 minutes
Paper Reference(s) 666/0 Edecel GCE Core Mathematics C Bronze Level B Time: hour 0 minutes Materials required for eamination Mathematical Formulae (Green) Items included with question papers Nil Candidates
More informationCollege Algebra Review for Test 4
College Algebra Review for Test Evaluate the epression b hand. ) a) /2 b) 27/3 c) 32/ d) 8-/3 Use positive rational eponents to rewrite the epression. 2) 2 Use radical notation to rewrite. 3) a-/2b/7 Solve
More information4 Operations On Data 4.1. Foundations of Computer Science Cengage Learning
4 Operations On Data 4.1 Foundations of Computer Science Cengage Learning Objectives After studying this chapter, the student should be able to: List the three categories of operations performed on data.
More informationLimits. f(x) and lim. g(x) g(x)
Limits Limit Laws Suppose c is constant, n is a positive integer, and f() and g() both eist. Then,. [f() + g()] = f() + g() 2. [f() g()] = f() g() [ ] 3. [c f()] = c f() [ ] [ ] 4. [f() g()] = f() g()
More informationNumerical Solutions of Differential Equations (1)
Numerical Solutions of Differential Equations (1) Euler method Sources of error Truncation Round-off error Error balance in numerical integration Euler Method Many differential equations don't have an
More informationGraphing square root functions. What would be the base graph for the square root function? What is the table of values?
Unit 3 (Chapter 2) Radical Functions (Square Root Functions Sketch graphs of radical functions b appling translations, stretches and reflections to the graph of Analze transformations to identif the of
More informationThe ALU consists of combinational logic. Processes all data in the CPU. ALL von Neuman machines have an ALU loop.
CS 320 Ch 10 Computer Arithmetic The ALU consists of combinational logic. Processes all data in the CPU. ALL von Neuman machines have an ALU loop. Signed integers are typically represented in sign-magnitude
More informationPreCalculus 300. Algebra 2 Review
PreCalculus 00 Algebra Review Algebra Review The following topics are a review of some of what you learned last year in Algebra. I will spend some time reviewing them in class. You are responsible for
More informationComputer Arithmetic Floating Point
Computer Arithmetic Floating Point Chapter 3.6 EEC7 FQ 25 About Floating Point Arithmetic Arithmetic basic operations on floating point numbers are: Add, Subtract, Multiply, Divide Transcendental operations
More informationBasics of Computation. PHY 604:Computational Methods in Physics and Astrophysics II
Basics of Computation Basics of Computation Computers store information and allow us to operate on it. That's basically it. Computers have finite memory, so it is not possible to store the infinite range
More informationComputer Arithmetic. 1. Floating-point representation of numbers (scientific notation) has four components, for example, 3.
ECS231 Handout Computer Arithmetic I: Floating-point numbers and representations 1. Floating-point representation of numbers (scientific notation) has four components, for example, 3.1416 10 1 sign significandbase
More informationUp next. Midterm. Today s lecture. To follow
Up next Midterm Next Friday in class Exams page on web site has info + practice problems Excited for you to rock the exams like you have been the assignments! Today s lecture Back to numbers, bits, data
More informationCS321. Introduction to Numerical Methods
CS31 Introduction to Numerical Methods Lecture 1 Number Representations and Errors Professor Jun Zhang Department of Computer Science University of Kentucky Lexington, KY 40506 0633 August 5, 017 Number
More informationFloating-Point Arithmetic
Floating-Point Arithmetic Raymond J. Spiteri Lecture Notes for CMPT 898: Numerical Software University of Saskatchewan January 9, 2013 Objectives Floating-point numbers Floating-point arithmetic Analysis
More informationNumerical Methods for Eng [ENGR 391] [Lyes KADEM 2007]
CHAPTER I I. Introduction Approximations and Round-off errors The concept of errors is very important to the effective use of numerical methods. Usually we can compare the numerical result with the analytical
More informationComputer Numbers and their Precision, I Number Storage
Computer Numbers and their Precision, I Number Storage Learning goal: To understand how the ways computers store numbers lead to limited precision and how that introduces errors into calculations. Learning
More informationLecture Notes: Floating-Point Numbers
Lecture Notes: Floating-Point Numbers CS227-Scientific Computing September 8, 2010 What this Lecture is About How computers represent numbers How this affects the accuracy of computation Positional Number
More informationNAG Library Chapter Introduction. D04 Numerical Differentiation
D4 Numerical Differentiation Introduction D4 NAG Library Chapter Introduction D4 Numerical Differentiation Contents 1 Scope of the Chapter... 2 2 Background to the Problems... 2 2.1 Description of the
More informationTI-89 Clinic. Let s first set up our calculators so that we re all working in the same mode.
TI-89 Clinic Preliminaries Let s first set up our calculators so that we re all working in the same mode. From the home screen, select F6 new problem. Hit enter to eecute that command. This erases previous
More informationClasses of Real Numbers 1/2. The Real Line
Classes of Real Numbers All real numbers can be represented by a line: 1/2 π 1 0 1 2 3 4 real numbers The Real Line { integers rational numbers non-integral fractions irrational numbers Rational numbers
More informationSection 1.5. Finding Linear Equations
Section 1.5 Finding Linear Equations Using Slope and a Point to Find an Equation of a Line Example Find an equation of a line that has slope m = 3 and contains the point (2, 5). Solution Substitute m =
More informationComputing Basics. 1 Sources of Error LECTURE NOTES ECO 613/614 FALL 2007 KAREN A. KOPECKY
LECTURE NOTES ECO 613/614 FALL 2007 KAREN A. KOPECKY Computing Basics 1 Sources of Error Numerical solutions to problems differ from their analytical counterparts. Why? The reason for the difference is
More informationRadical Functions Review
Radical Functions Review Specific Outcome 3 Graph and analyze radical functions (limited to functions involving one radical) Acceptable Standard sketch and analyze (domain, range, invariant points, - and
More informationMAT128A: Numerical Analysis Lecture One: Course Logistics and What is Numerical Analysis?
MAT128A: Numerical Analysis Lecture One: Course Logistics and What is Numerical Analysis? September 26, 2018 Lecture 1 September 26, 2018 1 / 19 Course Logistics My contact information: James Bremer Email:
More informationFloating Point Considerations
Chapter 6 Floating Point Considerations In the early days of computing, floating point arithmetic capability was found only in mainframes and supercomputers. Although many microprocessors designed in the
More informationFinite arithmetic and error analysis
Finite arithmetic and error analysis Escuela de Ingeniería Informática de Oviedo (Dpto de Matemáticas-UniOvi) Numerical Computation Finite arithmetic and error analysis 1 / 45 Outline 1 Number representation:
More informationComputational Methods. Sources of Errors
Computational Methods Sources of Errors Manfred Huber 2011 1 Numerical Analysis / Scientific Computing Many problems in Science and Engineering can not be solved analytically on a computer Numeric solutions
More informationSession 3. Rational and Radical Equations. Math 30-1 R 3. (Revisit, Review and Revive)
Session 3 Rational and Radical Equations Math 30-1 R 3 (Revisit, Review and Revive) Rational Functions Review Specific Outcome 14 Graph and analyze rational functions (limited to numerators and denominators
More informationOutline. 1 Scientific Computing. 2 Approximations. 3 Computer Arithmetic. Scientific Computing Approximations Computer Arithmetic
Outline 1 2 3 Michael T. Heath 2 / 46 Introduction Computational Problems General Strategy What is scientific computing? Design and analysis of algorithms for numerically solving mathematical problems
More information3.1 DATA REPRESENTATION (PART C)
3.1 DATA REPRESENTATION (PART C) 3.1.3 REAL NUMBERS AND NORMALISED FLOATING-POINT REPRESENTATION In decimal notation, the number 23.456 can be written as 0.23456 x 10 2. This means that in decimal notation,
More informationIntroduction to Scientific Computing Lecture 1
Introduction to Scientific Computing Lecture 1 Professor Hanno Rein Last updated: September 10, 2017 1 Number Representations In this lecture, we will cover two concept that are important to understand
More informationMath 111 Lecture Notes Section 3.3: Graphing Rational Functions
Math 111 Lecture Notes Section 3.3: Graphing Rational Functions A rational function is of the form R() = p() q() where p and q are polnomial functions. The zeros of a rational function occur where p()
More informationSignificant Figures. For example. Let s try this one. Introduction to Significant Figures & Scientific Notation
Significant Figures Introduction to Significant Figures & Scientific Notation Scientist use to determine how a measurement is. Significant digits in a measurement include all of the plus one. For example
More informationBindel, Fall 2016 Matrix Computations (CS 6210) Notes for
1 Logistics Notes for 2016-09-07 1. We are still at 50. If you are still waiting and are not interested in knowing if a slot frees up, let me know. 2. There is a correction to HW 1, problem 4; the condition
More informationClass 5. Data Representation and Introduction to Visualization
Class 5. Data Representation and Introduction to Visualization Visualization Visualization is useful for: 1. Data entry (initial conditions). 2. Code debugging and performance analysis. 3. Interpretation
More information( ) ( ) Completing the Square. Alg 3 1 Rational Roots Solving Polynomial Equations. A Perfect Square Trinomials
Alg Completing the Square A Perfect Square Trinomials (± ) ± (± ) ± 4 4 (± ) ± 6 9 (± 4) ± 8 6 (± 5) ± 5 What is the relationship between the red term and the blue term? B. Creating perfect squares.. 6
More informationFloating Point Arithmetic
Floating Point Arithmetic Clark N. Taylor Department of Electrical and Computer Engineering Brigham Young University clark.taylor@byu.edu 1 Introduction Numerical operations are something at which digital
More information2.10 Theorem of Pythagoras
2.10 Theorem of Pythagoras Dr. Robert J. Rapalje, Retired Central Florida, USA Before introducing the Theorem of Pythagoras, we begin with some perfect square equations. Perfect square equations (see the
More informationQueens College, CUNY, Department of Computer Science Numerical Methods CSCI 361 / 761 Spring 2018 Instructor: Dr. Sateesh Mane.
Queens College, CUNY, Department of Computer Science Numerical Methods CSCI 36 / 76 Spring 208 Instructor: Dr. Sateesh Mane c Sateesh R. Mane 208 Lecture February 25, 208 This is a collection of useful
More informationFloating-Point Arithmetic
ENEE446---Lectures-4/10-15/08 A. Yavuz Oruç Professor, UMD, College Park Copyright 2007 A. Yavuz Oruç. All rights reserved. Floating-Point Arithmetic Integer or fixed-point arithmetic provides a complete
More informationAM205: lecture 2. 1 These have been shifted to MD 323 for the rest of the semester.
AM205: lecture 2 Luna and Gary will hold a Python tutorial on Wednesday in 60 Oxford Street, Room 330 Assignment 1 will be posted this week Chris will hold office hours on Thursday (1:30pm 3:30pm, Pierce
More informationSession 2. a. Follow-ups to Session Session 2 (last revised: January 6, 2013) 2 1
6810 Session 2 (last revised: January 6, 2013) 2 1 2. 6810 Session 2 a. Follow-ups to Session 1 First, a couple of general comments on the 1094 sessions. Please try to not skip items if you have time;
More informationChapter 1. Numeric Artifacts. 1.1 Introduction
Chapter 1 Numeric Artifacts 1.1 Introduction Virtually all solutions to problems in electromagnetics require the use of a computer. Even when an analytic or closed form solution is available which is nominally
More informationUNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering. Digital Computer Arithmetic ECE 666
UNIVERSITY OF MASSACHUSETTS Dept. of Electrical & Computer Engineering Digital Computer Arithmetic ECE 666 Part 4-C Floating-Point Arithmetic - III Israel Koren ECE666/Koren Part.4c.1 Floating-Point Adders
More informationAMTH142 Lecture 10. Scilab Graphs Floating Point Arithmetic
AMTH142 Lecture 1 Scilab Graphs Floating Point Arithmetic April 2, 27 Contents 1.1 Graphs in Scilab......................... 2 1.1.1 Simple Graphs...................... 2 1.1.2 Line Styles........................
More informationCOS 323: Computing for the Physical and Social Sciences
COS 323: Computing for the Physical and Social Sciences COS 323 Professor: Szymon Rusinkiewicz TAs: Mark Browning Fisher Yu Victoria Yao Course webpage http://www.cs.princeton.edu/~cos323/ What s This
More informationData Representation and Introduction to Visualization
Data Representation and Introduction to Visualization Massimo Ricotti ricotti@astro.umd.edu University of Maryland Data Representation and Introduction to Visualization p.1/18 VISUALIZATION Visualization
More information