Definition. A Taylor series of a function f is said to represent function f, iff the error term converges to 0 for n going to infinity.

Size: px
Start display at page:

Download "Definition. A Taylor series of a function f is said to represent function f, iff the error term converges to 0 for n going to infinity."

Transcription

1 Definition A Taylor series of a function f is said to represent function f, iff the error term converges to 0 for n going to infinity : ESM4A - Numerical Methods 32

2 f(x) = e x at point c = 0. Taylor s theorem: Example 2 Let x s. Then, ζ(x) s and e ζ(x) e s. Thus, and : ESM4A - Numerical Methods 33

3 Example 3 Polynomial function f(x) = 4x 2 + 5x + 7 at c=2. As the Taylor series is finite, the error term is 0 from some n on. Hence, the Taylor series represents the function : ESM4A - Numerical Methods 34

4 Example 4 f(x) = ln (1+x) at point c=0 f (x) = (1+x) -1 f (x) = -(1+x) -2 f (k) (x) = (-1) k-1 (k-1)! (1+x) -k f (k) (0) = (-1) k-1 (k-1)! : ESM4A - Numerical Methods 35

5 Example 4 The Taylor series represents the function, if x є [0,1]. For other values of x, the error term may not converge to 0. Hence, for x > 1, we cannot use the Taylor series. Conclusion: We have to compute the so-called range of convergence before we apply Taylor expansion : ESM4A - Numerical Methods 36

6 Putting it into practice Use Taylor series to approximate function values. Example 1: cos (0.1) Actual value: Taylor series at c=0: Approximate values for cos (0.1) using truncated Taylor series: Conclusion: We can quickly get good approximations : ESM4A - Numerical Methods 37

7 Speed of convergence We have observed that the Taylor expansion does not have to converge to the actual solution. Question: If it does converge, how fast does it converge? In practice: How many terms of the truncated Taylor series do we need for a good approximation? : ESM4A - Numerical Methods 38

8 Observation Compute ln (2): First solution: Determine Taylor series for ln (1+x) at c=0 and evaluate Taylor series for x=1. Truncating after 8 terms delivers ln (2) Second solution: Determine Taylor series for at c=0 and evaluate Taylor series for x=1/3. Truncating after 4 terms delivers ln (2) The actual value is The second solution converges much faster : ESM4A - Numerical Methods 39

9 Proximity of x to c The closer x is to c, the higher the accuracy of our approximation. Note that this error is in addition to the truncation error : ESM4A - Numerical Methods 40

10 Taylor s theorem for f(x+h) Let. Then, we get for that truncated Taylor series error term with : ESM4A - Numerical Methods 41

11 Remarks This second theorem follows directly from the first one for x old = x+h and c = x. If h->0, the error term converges to 0 with at least the speed of h n+1, if the (n+1)-st derivative is bounded on the interval [x,x+h]. We write error term = O(h n+1 ). The O-notation means (there exists a C such that for sufficiently large values of h) In our case, C > : ESM4A - Numerical Methods 42

12 Example Evaluation of interest: Use f(z) = ln (z) and expand at e. Derivatives: Expansion: Range of convergence: sufficient. Convergence rate is O(h n ). We can find n such that error is below given threshold : ESM4A - Numerical Methods 43

13 Summary: Taylor series approximation Given problem: evaluate f(x) with error bound e. Known: f(c) for c close to x (and its derivatives). Requirement: for. Check: Taylor series represents function f on [a,b]. Estimate maximum error when computing f(x) using a truncated Taylor series with n terms. Choose n such that the estimated maximum error is smaller than error bound e. Evaluate the truncated Taylor series with n terms to approximate f(x) : ESM4A - Numerical Methods 44

14 Generalization: Numerical approach Given: hard problem. Solution: Find an algorithmic approach to solve the problem approximately. Caveat: Check the limitations/constraints of the applicability of the approach. Approximation error: Compare the maximum error to the error threshold determined by the application. Convergence: Numerical methods often improve when executing more computations. Does the approximation converge towards the actual solution? I.e., does the error go to 0? Convergence rate: How fast does the error go to 0? : ESM4A - Numerical Methods 45

15 Goals revisited In this course, we will: Discuss algorithmic approaches to solve standard mathematical problems with applications in engineering and science. Discuss the approaches with respect to their applicability (constraints, convergence). Discuss the approaches with respect to the practicability (approximation error, convergence rate) : ESM4A - Numerical Methods 46

16 1.2 Number Representations : ESM4A - Numerical Methods 47

17 Definition Let b є N\{1}. Every number x є N 0 can be written in a unique representation with respect to base b by with a i є N 0 and a i < b : ESM4A - Numerical Methods 48

18 b=10 Base 10: Notation: Fractions: Real numbers: : ESM4A - Numerical Methods 49

19 Infinite representations For irrational numbers (such as e or π) an infinite number of coefficients b i is required. But: not every infinite representation implies irrationality. Counter-example: 1/ : ESM4A - Numerical Methods 50

20 Simple base representations A number with a simple base representation with respect to one base may have a complicated base representation (many coefficients, maybe even infinite) with respect to another base : ESM4A - Numerical Methods 51

21 Base representations in computers Computer systems are using base 2 (binary) base8(octal) base 16 (hexadecimal) : ESM4A - Numerical Methods 52

22 Base conversion How do we get from one base representation to another? In particular, how can we switch between bases 2, 8, 16, and 10? : ESM4A - Numerical Methods 53

23 Conversion b->10 (a n a n-1 a 0 ) b = a n b n + a n-1 b n-1 + a 0 b 0 Then, just do the math Example: (42) 8 = 4x x8 0 = (34) : ESM4A - Numerical Methods 54

24 Conversion 2 <-> 8 and 2 <-> 16 2 <-> 8: Three consecutive bits represent one octal digit. Example: 2 <-> 16: Four consecutive bits represent one hexadecimal digit : ESM4A - Numerical Methods 55

25 Conversion 10 -> b The only somewhat more sophisticated part is the conversion from basis 10 to basis b. Two approaches: Algorithm by Euclid ( b.c.) Algorithm using Horner s scheme ( ) : ESM4A - Numerical Methods 56

26 Algorithm by Euclid Input: (x) 10 Output: (x) b. 1. Determine (smallest) exponent n with x < b n+1 2. For i = n to 0, compute a i := x div b i // integer division x := x mod b i // modulo operation 3. Return a n a n-1 a : ESM4A - Numerical Methods 57

27 Example Conversion 10->8: (34) < 34 < 8 2 -> n=1. 2. Iteration: a 1 := 34 div 8 1 = 4 x := 34 mod 8 1 = 2 a 0 := 2 div 8 0 = 2 x := 2 mod 8 0 = 0 3. Output (42) : ESM4A - Numerical Methods 58

28 Remark The algorithm can be easily extended to rational numbers. Only the stopping criteria needs to be changed. The algorithm is intuitive, but the first step is inefficient for a computer implementation : ESM4A - Numerical Methods 59

CS321. Introduction to Numerical Methods

CS321. 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 information

1 Elementary number theory

1 Elementary number theory Math 215 - Introduction to Advanced Mathematics Spring 2019 1 Elementary number theory We assume the existence of the natural numbers and the integers N = {1, 2, 3,...} Z = {..., 3, 2, 1, 0, 1, 2, 3,...},

More information

CS321 Introduction To Numerical Methods

CS321 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 information

9.5 Equivalence Relations

9.5 Equivalence Relations 9.5 Equivalence Relations You know from your early study of fractions that each fraction has many equivalent forms. For example, 2, 2 4, 3 6, 2, 3 6, 5 30,... are all different ways to represent the same

More information

Math Introduction to Advanced Mathematics

Math Introduction to Advanced Mathematics Math 215 - Introduction to Advanced Mathematics Number Theory Fall 2017 The following introductory guide to number theory is borrowed from Drew Shulman and is used in a couple of other Math 215 classes.

More information

Scientific Computing. Error Analysis

Scientific 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 information

Classes of Real Numbers 1/2. The Real Line

Classes 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 information

CHAPTER 8. Copyright Cengage Learning. All rights reserved.

CHAPTER 8. Copyright Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS Copyright Cengage Learning. All rights reserved. SECTION 8.3 Equivalence Relations Copyright Cengage Learning. All rights reserved. The Relation Induced by a Partition 3 The Relation

More information

Decimal Binary Conversion Decimal Binary Place Value = 13 (Base 10) becomes = 1101 (Base 2).

Decimal Binary Conversion Decimal Binary Place Value = 13 (Base 10) becomes = 1101 (Base 2). DOMAIN I. NUMBER CONCEPTS Competency 00 The teacher understands the structure of number systems, the development of a sense of quantity, and the relationship between quantity and symbolic representations.

More information

Lecture Objectives. Structured Programming & an Introduction to Error. Review the basic good habits of programming

Lecture 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 information

Copyright 2006 Melanie Butler Chapter 1: Review. Chapter 1: Review

Copyright 2006 Melanie Butler Chapter 1: Review. Chapter 1: Review QUIZ AND TEST INFORMATION: The material in this chapter is on Quiz 1 and Exam 1. You should complete at least one attempt of Quiz 1 before taking Exam 1. This material is also on the final exam. TEXT INFORMATION:

More information

Floating Point Arithmetic

Floating Point Arithmetic Floating Point Arithmetic CS 365 Floating-Point What can be represented in N bits? Unsigned 0 to 2 N 2s Complement -2 N-1 to 2 N-1-1 But, what about? very large numbers? 9,349,398,989,787,762,244,859,087,678

More information

Odd-Numbered Answers to Exercise Set 1.1: Numbers

Odd-Numbered Answers to Exercise Set 1.1: Numbers Odd-Numbered Answers to Exercise Set.: Numbers. (a) Composite;,,, Prime Neither (d) Neither (e) Composite;,,,,,. (a) 0. 0. 0. (d) 0. (e) 0. (f) 0. (g) 0. (h) 0. (i) 0.9 = (j). (since = ) 9 9 (k). (since

More information

Integers and Mathematical Induction

Integers and Mathematical Induction IT Program, NTUT, Fall 07 Integers and Mathematical Induction Chuan-Ming Liu Computer Science and Information Engineering National Taipei University of Technology TAIWAN 1 Learning Objectives Learn about

More information

Unit 7 Number System and Bases. 7.1 Number System. 7.2 Binary Numbers. 7.3 Adding and Subtracting Binary Numbers. 7.4 Multiplying Binary Numbers

Unit 7 Number System and Bases. 7.1 Number System. 7.2 Binary Numbers. 7.3 Adding and Subtracting Binary Numbers. 7.4 Multiplying Binary Numbers Contents STRAND B: Number Theory Unit 7 Number System and Bases Student Text Contents Section 7. Number System 7.2 Binary Numbers 7.3 Adding and Subtracting Binary Numbers 7.4 Multiplying Binary Numbers

More information

Math Homework 3

Math Homework 3 Math 0 - Homework 3 Due: Friday Feb. in class. Write on your paper the lab section you have registered for.. Staple the sheets together.. Solve exercise 8. of the textbook : Consider the following data:

More information

The Size of the Cantor Set

The Size of the Cantor Set The Size of the Cantor Set Washington University Math Circle November 6, 2016 In mathematics, a set is a collection of things called elements. For example, {1, 2, 3, 4}, {a,b,c,...,z}, and {cat, dog, chicken}

More information

CHAPTER V NUMBER SYSTEMS AND ARITHMETIC

CHAPTER V NUMBER SYSTEMS AND ARITHMETIC CHAPTER V-1 CHAPTER V CHAPTER V NUMBER SYSTEMS AND ARITHMETIC CHAPTER V-2 NUMBER SYSTEMS RADIX-R REPRESENTATION Decimal number expansion 73625 10 = ( 7 10 4 ) + ( 3 10 3 ) + ( 6 10 2 ) + ( 2 10 1 ) +(

More information

A.1 Numbers, Sets and Arithmetic

A.1 Numbers, Sets and Arithmetic 522 APPENDIX A. MATHEMATICS FOUNDATIONS A.1 Numbers, Sets and Arithmetic Numbers started as a conceptual way to quantify count objects. Later, numbers were used to measure quantities that were extensive,

More information

2 Computation with Floating-Point Numbers

2 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 information

Using Arithmetic of Real Numbers to Explore Limits and Continuity

Using Arithmetic of Real Numbers to Explore Limits and Continuity Using Arithmetic of Real Numbers to Explore Limits and Continuity by Maria Terrell Cornell University Problem Let a =.898989... and b =.000000... (a) Find a + b. (b) Use your ideas about how to add a and

More information

Math 10- Chapter 2 Review

Math 10- Chapter 2 Review Math 10- Chapter 2 Review [By Christy Chan, Irene Xu, and Henry Luan] Knowledge required for understanding this chapter: 1. Simple calculation skills: addition, subtraction, multiplication, and division

More information

Number Systems and Binary Arithmetic. Quantitative Analysis II Professor Bob Orr

Number Systems and Binary Arithmetic. Quantitative Analysis II Professor Bob Orr Number Systems and Binary Arithmetic Quantitative Analysis II Professor Bob Orr Introduction to Numbering Systems We are all familiar with the decimal number system (Base 10). Some other number systems

More information

Binary Relations McGraw-Hill Education

Binary Relations McGraw-Hill Education Binary Relations A binary relation R from a set A to a set B is a subset of A X B Example: Let A = {0,1,2} and B = {a,b} {(0, a), (0, b), (1,a), (2, b)} is a relation from A to B. We can also represent

More information

Reals 1. Floating-point numbers and their properties. Pitfalls of numeric computation. Horner's method. Bisection. Newton's method.

Reals 1. Floating-point numbers and their properties. Pitfalls of numeric computation. Horner's method. Bisection. Newton's method. Reals 1 13 Reals Floating-point numbers and their properties. Pitfalls of numeric computation. Horner's method. Bisection. Newton's method. 13.1 Floating-point numbers Real numbers, those declared to be

More information

2 Computation with Floating-Point Numbers

2 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 information

DISCRETE MATHEMATICS

DISCRETE MATHEMATICS DISCRETE MATHEMATICS WITH APPLICATIONS THIRD EDITION SUSANNA S. EPP DePaul University THOIVISON * BROOKS/COLE Australia Canada Mexico Singapore Spain United Kingdom United States CONTENTS Chapter 1 The

More information

Accuracy versus precision

Accuracy versus precision Accuracy versus precision Accuracy is a consistent error from the true value, but not necessarily a good or precise error Precision is a consistent result within a small error, but not necessarily anywhere

More information

Computational Economics and Finance

Computational 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 information

Computational Economics and Finance

Computational 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 information

(Refer Slide Time: 02:59)

(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 information

LECTURE 0: Introduction and Background

LECTURE 0: Introduction and Background 1 LECTURE 0: Introduction and Background September 10, 2012 1 Computational science The role of computational science has become increasingly significant during the last few decades. It has become the

More information

Cardinality of Sets. Washington University Math Circle 10/30/2016

Cardinality of Sets. Washington University Math Circle 10/30/2016 Cardinality of Sets Washington University Math Circle 0/0/06 The cardinality of a finite set A is just the number of elements of A, denoted by A. For example, A = {a, b, c, d}, B = {n Z : n } = {,,, 0,,,

More information

Table : IEEE Single Format ± a a 2 a 3 :::a 8 b b 2 b 3 :::b 23 If exponent bitstring a :::a 8 is Then numerical value represented is ( ) 2 = (

Table : IEEE Single Format ± a a 2 a 3 :::a 8 b b 2 b 3 :::b 23 If exponent bitstring a :::a 8 is Then numerical value represented is ( ) 2 = ( Floating Point Numbers in Java by Michael L. Overton Virtually all modern computers follow the IEEE 2 floating point standard in their representation of floating point numbers. The Java programming language

More information

Review Initial Value Problems Euler s Method Summary

Review Initial Value Problems Euler s Method Summary THE EULER METHOD P.V. Johnson School of Mathematics Semester 1 2008 OUTLINE 1 REVIEW 2 INITIAL VALUE PROBLEMS The Problem Posing a Problem 3 EULER S METHOD Method Errors 4 SUMMARY OUTLINE 1 REVIEW 2 INITIAL

More information

Notes for Unit 1 Part A: Rational vs. Irrational

Notes for Unit 1 Part A: Rational vs. Irrational Notes for Unit 1 Part A: Rational vs. Irrational Natural Number: Whole Number: Integer: Rational Number: Irrational Number: Rational Numbers All are Real Numbers Integers Whole Numbers Irrational Numbers

More information

Lemma (x, y, z) is a Pythagorean triple iff (y, x, z) is a Pythagorean triple.

Lemma (x, y, z) is a Pythagorean triple iff (y, x, z) is a Pythagorean triple. Chapter Pythagorean Triples.1 Introduction. The Pythagorean triples have been known since the time of Euclid and can be found in the third century work Arithmetica by Diophantus [9]. An ancient Babylonian

More information

Cantor s Diagonal Argument for Different Levels of Infinity

Cantor s Diagonal Argument for Different Levels of Infinity JANUARY 2015 1 Cantor s Diagonal Argument for Different Levels of Infinity Michael J. Neely University of Southern California http://www-bcf.usc.edu/ mjneely Abstract These notes develop the classic Cantor

More information

Derivative. Bernstein polynomials: Jacobs University Visualization and Computer Graphics Lab : ESM4A - Numerical Methods 313

Derivative. Bernstein polynomials: Jacobs University Visualization and Computer Graphics Lab : ESM4A - Numerical Methods 313 Derivative Bernstein polynomials: 120202: ESM4A - Numerical Methods 313 Derivative Bézier curve (over [0,1]): with differences. being the first forward 120202: ESM4A - Numerical Methods 314 Derivative

More information

Limits at Infinity. as x, f (x)?

Limits at Infinity. as x, f (x)? Limits at Infinity as x, f (x)? as x, f (x)? Let s look at... Let s look at... Let s look at... Definition of a Horizontal Asymptote: If Then the line y = L is called a horizontal asymptote of the graph

More information

Solutions to First Exam, Math 170, Section 002 Spring 2012

Solutions to First Exam, Math 170, Section 002 Spring 2012 Solutions to First Exam, Math 170, Section 002 Spring 2012 Multiple choice questions. Question 1. You have 11 pairs of socks, 4 black, 5 white, and 2 blue, but they are not paired up. Instead, they are

More information

Classwork. Exercises Use long division to determine the decimal expansion of. NYS COMMON CORE MATHEMATICS CURRICULUM Lesson 6 8 7

Classwork. Exercises Use long division to determine the decimal expansion of. NYS COMMON CORE MATHEMATICS CURRICULUM Lesson 6 8 7 Classwork Exercises 1 5 1. Use long division to determine the decimal expansion of. 2. Use long division to determine the decimal expansion of. 3. Use long division to determine the decimal expansion of.

More information

Properties. Comparing and Ordering Rational Numbers Using a Number Line

Properties. Comparing and Ordering Rational Numbers Using a Number Line Chapter 5 Summary Key Terms natural numbers (counting numbers) (5.1) whole numbers (5.1) integers (5.1) closed (5.1) rational numbers (5.1) irrational number (5.2) terminating decimal (5.2) repeating decimal

More information

Calculus I Review Handout 1.3 Introduction to Calculus - Limits. by Kevin M. Chevalier

Calculus I Review Handout 1.3 Introduction to Calculus - Limits. by Kevin M. Chevalier Calculus I Review Handout 1.3 Introduction to Calculus - Limits by Kevin M. Chevalier We are now going to dive into Calculus I as we take a look at the it process. While precalculus covered more static

More information

Johns Hopkins Math Tournament Proof Round: Point Set Topology

Johns Hopkins Math Tournament Proof Round: Point Set Topology Johns Hopkins Math Tournament 2019 Proof Round: Point Set Topology February 9, 2019 Problem Points Score 1 3 2 6 3 6 4 6 5 10 6 6 7 8 8 6 9 8 10 8 11 9 12 10 13 14 Total 100 Instructions The exam is worth

More information

Truncation Errors. Applied Numerical Methods with MATLAB for Engineers and Scientists, 2nd ed., Steven C. Chapra, McGraw Hill, 2008, Ch. 4.

Truncation 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 information

3.5 Floating Point: Overview

3.5 Floating Point: Overview 3.5 Floating Point: Overview Floating point (FP) numbers Scientific notation Decimal scientific notation Binary scientific notation IEEE 754 FP Standard Floating point representation inside a computer

More information

A Public Key Crypto System On Real and Com. Complex Numbers

A Public Key Crypto System On Real and Com. Complex Numbers A Public Key Crypto System On Real and Complex Numbers ISITV, Université du Sud Toulon Var BP 56, 83162 La Valette du Var cedex May 8, 2011 Motivation Certain rational interval maps can be used to define

More information

Today s class. Roots of equation Finish up incremental search Open methods. Numerical Methods, Fall 2011 Lecture 5. Prof. Jinbo Bi CSE, UConn

Today s class. Roots of equation Finish up incremental search Open methods. Numerical Methods, Fall 2011 Lecture 5. Prof. Jinbo Bi CSE, UConn Today s class Roots of equation Finish up incremental search Open methods 1 False Position Method Although the interval [a,b] where the root becomes iteratively closer with the false position method, unlike

More information

Page 1. Kobrin/Losquadro Math 8. Unit 10 - Types of Numbers Test Review. Questions 1 and 2 refer to the following:

Page 1. Kobrin/Losquadro Math 8. Unit 10 - Types of Numbers Test Review. Questions 1 and 2 refer to the following: 9195-1 - Page 1 Name: Date: Kobrin/Losquadro Math 8 Unit 10 - Types of Numbers Test Review Questions 1 and 2 refer to the following: Use the number line below to answer the given question. 1) Which of

More information

Quadratic Equations over Matrices over the Quaternions. By Diana Oliff Mentor: Professor Robert Wilson

Quadratic Equations over Matrices over the Quaternions. By Diana Oliff Mentor: Professor Robert Wilson Quadratic Equations over Matrices over the Quaternions By Diana Oliff Mentor: Professor Robert Wilson Fields A field consists of a set of objects S and two operations on this set. We will call these operations

More information

Floating Point Arithmetic

Floating Point Arithmetic Floating Point Arithmetic Computer Systems, Section 2.4 Abstraction Anything that is not an integer can be thought of as . e.g. 391.1356 Or can be thought of as + /

More information

1 Elementary number theory

1 Elementary number theory 1 Elementary number theory We assume the existence of the natural numbers and the integers N = {1, 2, 3,...} Z = {..., 3, 2, 1, 0, 1, 2, 3,...}, along with their most basic arithmetical and ordering properties.

More information

1 of 21 8/6/2018, 8:17 AM

1 of 21 8/6/2018, 8:17 AM 1 of 1 8/6/018, 8:17 AM Student: Date: Instructor: Alfredo Alvarez Course: Math 1314 Summer 018 Assignment: math 131437 Free Response with Help 51 1. Solve the equation by factoring. 9x + 1x 8 = 0 The

More information

Floating-Point Numbers in Digital Computers

Floating-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 information

Most nonzero floating-point numbers are normalized. This means they can be expressed as. x = ±(1 + f) 2 e. 0 f < 1

Most 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 information

MATH 139 W12 Review 1 Checklist 1. Exam Checklist. 1. Introduction to Predicates and Quantified Statements (chapters ).

MATH 139 W12 Review 1 Checklist 1. Exam Checklist. 1. Introduction to Predicates and Quantified Statements (chapters ). MATH 139 W12 Review 1 Checklist 1 Exam Checklist 1. Introduction to Predicates and Quantified Statements (chapters 3.1-3.4). universal and existential statements truth set negations of universal and existential

More information

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF CHAPTER 4 ELEMENTARY NUMBER THEORY AND METHODS OF PROOF Copyright Cengage Learning. All rights reserved. SECTION 4.2 Direct Proof and Counterexample II: Rational Numbers Copyright Cengage Learning. All

More information

1 Transforming Geometric Objects

1 Transforming Geometric Objects 1 Transforming Geometric Objects RIGID MOTION TRANSFORMA- TIONS Rigid Motions Transformations 1 Translating Plane Figures Reflecting Plane Figures Rotating Plane Figures Students will select translations

More information

Floating-Point Numbers in Digital Computers

Floating-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 information

Physics 331 Introduction to Numerical Techniques in Physics

Physics 331 Introduction to Numerical Techniques in Physics Physics 331 Introduction to Numerical Techniques in Physics Instructor: Joaquín Drut Lecture 2 Any logistics questions? Today: Number representation Sources of error Note: typo in HW! Two parts c. Call

More information

Pre-Calc Unit 1 Lesson 1

Pre-Calc Unit 1 Lesson 1 Pre-Calc Unit 1 Lesson 1 The Number System and Set Theory Learning Goal: IWBAT write subsets of the rational, real, and complex number system using set notation and apply set operations on sets of numbers.

More information

Positional notation Ch Conversions between Decimal and Binary. /continued. Binary to Decimal

Positional notation Ch Conversions between Decimal and Binary. /continued. Binary to Decimal Positional notation Ch.. /continued Conversions between Decimal and Binary Binary to Decimal - use the definition of a number in a positional number system with base - evaluate the definition formula using

More information

Algorithm Analysis. (Algorithm Analysis ) Data Structures and Programming Spring / 48

Algorithm Analysis. (Algorithm Analysis ) Data Structures and Programming Spring / 48 Algorithm Analysis (Algorithm Analysis ) Data Structures and Programming Spring 2018 1 / 48 What is an Algorithm? An algorithm is a clearly specified set of instructions to be followed to solve a problem

More information

Functions. Def. Let A and B be sets. A function f from A to B is an assignment of exactly one element of B to each element of A.

Functions. Def. Let A and B be sets. A function f from A to B is an assignment of exactly one element of B to each element of A. Functions functions 1 Def. Let A and B be sets. A function f from A to B is an assignment of exactly one element of B to each element of A. a A! b B b is assigned to a a A! b B f ( a) = b Notation: If

More information

Helping Students Understand Pre-Algebra

Helping Students Understand Pre-Algebra Helping Students Understand Pre-Algebra By Barbara Sandall, Ed.D., & Mary Swarthout, Ph.D. COPYRIGHT 2005 Mark Twain Media, Inc. ISBN 10-digit: 1-58037-294-5 13-digit: 978-1-58037-294-7 Printing No. CD-404021

More information

EXERCISE Which of the following is irrational? (C) 7 (D) 81 (A) (B)

EXERCISE Which of the following is irrational? (C) 7 (D) 81 (A) (B) EXERCISE Write the correct answer in each of the following:. Every rational number is a natural number an integer (C) a real number (D) a whole number. Between two rational numbers there is no rational

More information

1 Transforming Geometric Objects

1 Transforming Geometric Objects 1 Transforming Geometric Objects Topic 1: Rigid Motion Transformations Rigid Motion Transformations Topic 2: Similarity Translating Plane Figures Reflecting Plane Figures Rotating Plane Figures Students

More information

Chapter 9 Review. By Charlie and Amy

Chapter 9 Review. By Charlie and Amy Chapter 9 Review By Charlie and Amy 9.1- Inverse and Joint Variation- Explanation There are 3 basic types of variation: direct, indirect, and joint. Direct: y = kx Inverse: y = (k/x) Joint: y=kxz k is

More information

Queens 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 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 information

CGF Lecture 2 Numbers

CGF Lecture 2 Numbers CGF Lecture 2 Numbers Numbers A number is an abstract entity used originally to describe quantity. i.e. 80 Students etc The most familiar numbers are the natural numbers {0, 1, 2,...} or {1, 2, 3,...},

More information

Introduction to Numerical Computing

Introduction to Numerical Computing Statistics 580 Introduction to Numerical Computing Number Systems In the decimal system we use the 10 numeric symbols 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 to represent numbers. The relative position of each symbol

More information

Introduction : Identifying Key Features of Linear and Exponential Graphs

Introduction : Identifying Key Features of Linear and Exponential Graphs Introduction Real-world contexts that have two variables can be represented in a table or graphed on a coordinate plane. There are many characteristics of functions and their graphs that can provide a

More information

CHAPTER 2 Data Representation in Computer Systems

CHAPTER 2 Data Representation in Computer Systems CHAPTER 2 Data Representation in Computer Systems 2.1 Introduction 37 2.2 Positional Numbering Systems 38 2.3 Decimal to Binary Conversions 38 2.3.1 Converting Unsigned Whole Numbers 39 2.3.2 Converting

More information

CHAPTER 2 Data Representation in Computer Systems

CHAPTER 2 Data Representation in Computer Systems CHAPTER 2 Data Representation in Computer Systems 2.1 Introduction 37 2.2 Positional Numbering Systems 38 2.3 Decimal to Binary Conversions 38 2.3.1 Converting Unsigned Whole Numbers 39 2.3.2 Converting

More information

lim x c x 2 x +2. Suppose that, instead of calculating all the values in the above tables, you simply . What do you find? x +2

lim x c x 2 x +2. Suppose that, instead of calculating all the values in the above tables, you simply . What do you find? x +2 MA123, Chapter 3: The idea of its (pp. 47-67, Gootman) Chapter Goals: Evaluate its. Evaluate one-sided its. Understand the concepts of continuity and differentiability and their relationship. Assignments:

More information

correlated to the Michigan High School Mathematics Content Expectations

correlated to the Michigan High School Mathematics Content Expectations correlated to the Michigan High School Mathematics Content Expectations McDougal Littell Algebra 1 Geometry Algebra 2 2007 correlated to the STRAND 1: QUANTITATIVE LITERACY AND LOGIC (L) STANDARD L1: REASONING

More information

CHAPTER 7. Copyright Cengage Learning. All rights reserved.

CHAPTER 7. Copyright Cengage Learning. All rights reserved. CHAPTER 7 FUNCTIONS Copyright Cengage Learning. All rights reserved. SECTION 7.1 Functions Defined on General Sets Copyright Cengage Learning. All rights reserved. Functions Defined on General Sets We

More information

Introduction to Rational Functions Group Activity 5 Business Project Week #8

Introduction to Rational Functions Group Activity 5 Business Project Week #8 MLC at Boise State 013 Defining a Rational Function Introduction to Rational Functions Group Activity 5 Business Project Week #8 f x A rational function is a function of the form, where f x and g x are

More information

MATHia X: Grade 8 Table of Contents

MATHia X: Grade 8 Table of Contents Module 1 Linear Linear Exploring Two-Step Multi-Step Students use a balance tool to explore two-step equations. They use a general strategy to sole any two-step equation. Students practice solving equations

More information

THS Step By Step Calculus Chapter 3

THS Step By Step Calculus Chapter 3 Name: Class Period: Throughout this packet there will be blanks you are expected to fill in prior to coming to class. This packet follows your Larson Textbook. Do NOT throw away! Keep in 3 ring-binder

More information

SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics. Numbers & Number Systems

SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics. Numbers & Number Systems SCHOOL OF ENGINEERING & BUILT ENVIRONMENT Mathematics Numbers & Number Systems Introduction Numbers and Their Properties Multiples and Factors The Division Algorithm Prime and Composite Numbers Prime Factors

More information

Derivatives and Graphs of Functions

Derivatives and Graphs of Functions Derivatives and Graphs of Functions September 8, 2014 2.2 Second Derivatives, Concavity, and Graphs In the previous section, we discussed how our derivatives can be used to obtain useful information about

More information

Cryptology complementary. Finite fields the practical side (1)

Cryptology complementary. Finite fields the practical side (1) Cryptology complementary Finite fields the practical side (1) Pierre Karpman pierre.karpman@univ-grenoble-alpes.fr https://www-ljk.imag.fr/membres/pierre.karpman/tea.html 2018 03 15 Finite Fields in practice

More information

CSE 20 DISCRETE MATH. Winter

CSE 20 DISCRETE MATH. Winter CSE 20 DISCRETE MATH Winter 2017 http://cseweb.ucsd.edu/classes/wi17/cse20-ab/ Final exam The final exam is Saturday March 18 8am-11am. Lecture A will take the exam in GH 242 Lecture B will take the exam

More information

R07. Code No: V0423. II B. Tech II Semester, Supplementary Examinations, April

R07. Code No: V0423. II B. Tech II Semester, Supplementary Examinations, April SET - 1 II B. Tech II Semester, Supplementary Examinations, April - 2012 SWITCHING THEORY AND LOGIC DESIGN (Electronics and Communications Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions

More information

Math 56 Homework 1. Matthew Jin. April 3, e n 10+ne. = O(n 1 ) n > n 0, where n 0 = 0 be- 10+ne

Math 56 Homework 1. Matthew Jin. April 3, e n 10+ne. = O(n 1 ) n > n 0, where n 0 = 0 be- 10+ne Math 56 Homework 1 Matthew Jin April 3, 2014 1a) e n 10+ne is indeed equal to big O of n 1 e as n approaches infinity. Let n n 10+ne n C n 1 for some constant C. Then ne n 10+ne C n Observe that Choose

More information

CSE 20 DISCRETE MATH. Fall

CSE 20 DISCRETE MATH. Fall CSE 20 DISCRETE MATH Fall 2017 http://cseweb.ucsd.edu/classes/fa17/cse20-ab/ Final exam The final exam is Saturday December 16 11:30am-2:30pm. Lecture A will take the exam in Lecture B will take the exam

More information

On Shanks Algorithm for Modular Square Roots

On Shanks Algorithm for Modular Square Roots On Shanks Algorithm for Modular Square Roots Jan-Christoph Schlage-Puchta 29 May 2003 Abstract Let p be a prime number, p = 2 n q +1, where q is odd. D. Shanks described an algorithm to compute square

More information

Floating-point representation

Floating-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 information

Floating point. Today! IEEE Floating Point Standard! Rounding! Floating Point Operations! Mathematical properties. Next time. !

Floating point. Today! IEEE Floating Point Standard! Rounding! Floating Point Operations! Mathematical properties. Next time. ! Floating point Today! IEEE Floating Point Standard! Rounding! Floating Point Operations! Mathematical properties Next time! The machine model Chris Riesbeck, Fall 2011 Checkpoint IEEE Floating point Floating

More information

Math Interim Mini-Tests. 3rd Grade Mini-Tests

Math Interim Mini-Tests. 3rd Grade Mini-Tests 3rd Grade Mini-Tests Mini-Test Name Availability Area of Plane Figures-01 Gr 3_Model, Reason, & Solve Problems-04 Multiplicative Properties & Factors-01 Patterns & Using the Four Operations-01 Real-World

More information

Introduction to Scientific Computing Lecture 1

Introduction 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 information

UNIT 8 STUDY SHEET POLYNOMIAL FUNCTIONS

UNIT 8 STUDY SHEET POLYNOMIAL FUNCTIONS UNIT 8 STUDY SHEET POLYNOMIAL FUNCTIONS KEY FEATURES OF POLYNOMIALS Intercepts of a function o x-intercepts - a point on the graph where y is zero {Also called the zeros of the function.} o y-intercepts

More information

Properties of a Function s Graph

Properties of a Function s Graph Section 3.2 Properties of a Function s Graph Objective 1: Determining the Intercepts of a Function An intercept of a function is a point on the graph of a function where the graph either crosses or touches

More information

Decimal/Binary Conversion on the Soroban

Decimal/Binary Conversion on the Soroban Decimal/Binary Conversion on the Soroban Conversion of a whole number from decimal to binary This method uses successive divisions by two, in place, utilizing a simple right-to-left algorithm. The division

More information

SPERNER S LEMMA MOOR XU

SPERNER S LEMMA MOOR XU SPERNER S LEMMA MOOR XU Abstract. Is it possible to dissect a square into an odd number of triangles of equal area? This question was first answered by Paul Monsky in 970, and the solution requires elements

More information

Data Representation 1

Data Representation 1 1 Data Representation Outline Binary Numbers Adding Binary Numbers Negative Integers Other Operations with Binary Numbers Floating Point Numbers Character Representation Image Representation Sound Representation

More information

SETS. Sets are of two sorts: finite infinite A system of sets is a set, whose elements are again sets.

SETS. Sets are of two sorts: finite infinite A system of sets is a set, whose elements are again sets. SETS A set is a file of objects which have at least one property in common. The objects of the set are called elements. Sets are notated with capital letters K, Z, N, etc., the elements are a, b, c, d,

More information

Number Representation

Number Representation ECE 645: Lecture 5 Number Representation Part 2 Floating Point Representations Rounding Representation of the Galois Field elements Required Reading Behrooz Parhami, Computer Arithmetic: Algorithms and

More information