CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Winter 2004 Lecture 11 Tuesday, February 24, 2004.

Slides:



Advertisements
Similar presentations
Differentiation of the Exponential Function (e x ) and Natural Logarithms (lnx) Exponential function e x.
Advertisements

CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Fall 2006 Lecture 11 Cordic, Log, Square, Exponential Functions.
ET-314 Week 11 Nov 7, 2014 Topic(s): 19.1 Vectors.
ECE 645 – Computer Arithmetic Lecture 11: Advanced Topics and Final Review ECE 645—Computer Arithmetic 4/22/08.
Trig Graphs. y = sin x y = cos x y = tan x y = sin x + 2.
CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Winter 2004 Lecture 2.
TRIGONOMETRY. Sign for sin , cos  and tan  Quadrant I 0° <  < 90° Quadrant II 90 ° <  < 180° Quadrant III 180° <  < 270° Quadrant IV 270 ° < 
Trig Functions of Any Angle Lesson 2.3. Angles Beyond 90°  Expand from the context of angles of a right triangle  Consider a ray from the origin through.
Raster conversion algorithms for line and circle
CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Lecture 6.
CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Lecture 5.
Logarithmic Equations Unknown Exponents Unknown Number Solving Logarithmic Equations Natural Logarithms.
CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Winter 2004 Lecture 12 Thursday 02/26/2004.
CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Winter 2004 Lecture 4.
CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Winter 2004 Lecture 10 Thursday 02/19/02.
CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Fall 2006 Lecture 11 Cordic, Log, Square, Exponential Functions.
CSE 246: Computer Arithmetic Algorithms and Hardware Design
CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Winter 2004 Lecture 1.
CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Fall 2006 Lecture 10 Floating Point Number Rounding, Polynomial.
Economics 2301 Lecture 8 Logarithms. Base 2 and Base 10 Logarithms Base 2 LogarithmsBase 10 Logarithms Log 2 (0.25)=-2since 2 -2 =1/4Log 10 (0.01)=-2since.
Digital Kommunikationselektronik TNE027 Lecture 3 1 Multiply-Accumulator (MAC) Compute Sum of Product (SOP) Linear convolution y[n] = f[n]*x[n] = Σ f[k]
Spring 2006EE VLSI Design II - © Kia Bazargan 368 EE 5324 – VLSI Design II Kia Bazargan University of Minnesota Part IX: CORDIC Algorithms.
CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Winter 2004 Lecture 9.
CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Fall 2006 Lecture 9: Floating Point Numbers.
CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Winter 2005 Lecture 1: Numbers.
Find the period of the function y = 4 sin x
CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Winter 2004 Lecture 8.
CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Winter 2004 Lecture 7.
5.2 Logarithmic Functions & Their Graphs
By: Kelley Borgard Block 4A
Exponential FunctionsLogarithms Properties of Logarithms Natural Logarithms Solving Exponential Equations
3.3 Properties of Logarithms Change of Base. When solve for x and the base is not 10 or e. We have changed the base from b to 10. WE can change it to.
Lesson 3-8 Derivative of Natural Logs And Logarithmic Differentiation.
Objectives: 1.Be able to convert a logarithmic function into an exponential function. 2.Be able to convert an exponential function into a logarithmic function.
EXPONENTIAL AND LOGARITHMIC FUNCTIONS.
Real-Valued Functions of a Real Variable and Their Graphs Lecture 43 Section 9.1 Wed, Apr 18, 2007.
The exponential function occurs very frequently in mathematical models of nature and society.
CHAPTER Continuity Integration by Parts The formula for integration by parts  f (x) g’(x) dx = f (x) g(x) -  g(x) f’(x) dx. Substitution Rule that.
5.4 Exponential Functions: Differentiation and Integration The inverse of f(x) = ln x is f -1 = e x. Therefore, ln (e x ) = x and e ln x = x Solve for.
Introduction to the Unit Circle in Trigonometry. What is the Unit Circle? Definition: A unit circle is a circle that has a radius of 1. Typically, especially.
a) y = 3 x b) y = -3 x c) y = (1/2) x d) y = -(1/2) x.
June 2007 Computer Arithmetic, Function EvaluationSlide 1 VI Function Evaluation Topics in This Part Chapter 21 Square-Rooting Methods Chapter 22 The CORDIC.
Clicker Question 1 What is the instantaneous rate of change of f (x ) = ln(x ) at the point x = 1/10? A. 1/10 B. 10 C. 0 D. ln(1/10) E. undefined.
1 Fall, 2013 A6. Arithmetic, Geometric, and Harmonic Averages Instructor: J.-W. John Cheng Mech. Engr. Dept., Nat ’ l Chung Cheng Univ. Interfacial Physics.
Derivatives  Definition of a Derivative  Power Rule  Package Rule  Product Rule  Quotient Rule  Exponential Function and Logs  Trigonometric Functions.
How are you all doing? Any questions about anything?
CORDIC Algorithm COordinate Rotation DIgital Computer Method for Elementary Function Evaluation (e.g., sin(z), cos(z), tan -1 (y)) Originally Used for.
Chapter 5: Exponential and Logarithmic Functions 5.5: Properties and Laws of Logarithms Essential Question: What are the three properties that simplify.
ECE 450 Introduction to Robotics Section: Instructor: Linda A. Gee 10/07/99 Lecture 11.
CORDIC-Based Processor
CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Fall 2006 Lecture 7 Division.
CORDIC Algorithm COordinate Rotation DIgital Computer
Sin x = Solve for 0° ≤ x ≤ 720°
CHAPTER Continuity Fundamental Theorem of Calculus In this lecture you will learn the most important relation between derivatives and areas (definite.
Derivation of the 2D Rotation Matrix Changing View from Global to Local X Y X’ Y’  P Y Sin  X Cos  X’ = X Cos  + Y Sin  Y Cos  X Sin  Y’ = Y Cos.
A3. Functions 1. Intervals 2. What is a function? 3. Graphs of functions 4. Inverse functions 5. Trigonometric and inverse trigonometric functions 6. Exponential.
MAT 213 Brief Calculus Section 3.3 Exponential and Logarithmic Rate-of- Change Formulas.
4.4 Trig Functions of Any Angle Objectives: Evaluate trigonometric functions of any angle Use reference angles to evaluate trig functions.
LOGARITHMIC AND EXPONENTIAL EQUATIONS LOGARITHMIC AND EXPONENTIAL EQUATIONS SECTION 4.6.
CSE 575 Computer Arithmetic Spring 2003 Mary Jane Irwin (www. cse. psu
SECTION 5-5A Part I: Exponentials base other than e.
UNIVERSITY OF MASSACHUSETTS Dept
Ch. 3 – Exponential and Logarithmic Functions
Derivatives of Log Functions
Derivatives of Log Functions
Systems Architecture I
Derivatives of Logarithmic Functions
4.3 – Differentiation of Exponential and Logarithmic Functions
Warm-Up!
Systems Architecture I
Presentation transcript:

CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Winter 2004 Lecture 11 Tuesday, February 24, 2004

Project  IEEE Computer Society Author Kit (≤5Pages) Introduction Statement of Problem Approaches Examples Experiments Conclusion  30 Minutes

Project Presentation Schedule WeekTuesdayThursday 8Today 9Kumar Jeremy Mohsen 10Thomas John Shu Hu Patrick Allen Alex Jodin

Cordic Algorithms  Coordinate Rotations Digital Computer Rotate vector (x,y) to (x’,y’) α (x’,y’) (x,y)

          Cordic Algorithms

 Key: Given cos α, sin α, tan α we can derive Cordic Algorithms iαiαi

 Find  Cordic Algorithms (Example)

Cordic Algorithms        

Logarithms – Method 1  Find 

Logarithms – Method 1  I.  II.  III. A table of

Logarithms – Method 1 (Example)  Find ln(x), x = = _ x _ _ x _

Logarithms – Method 1 (Example)  -ln x = (1.-1) + ln(1.01) + ln( )

Logarithms – Method 2  Let define   Initially x<2, ie. y 0 =0  If 

Logarithms – Method 2 for i = 1 to l do x = x 2 if x ≥ 2 then y i = 1 x = x/2 else y i = 0

Logarithms – Method 2 (Example) x x __ y 1 = 1 x 2 / x _ y 2 = 1  Find ln 2 (x), x = 1.11 (1.75)

Logarithms – Method 2 (Example) (x 2 /2) 2 /2 = y 3 = 0 ln ≈ 0.110

Squarer x3 x2 x1 x0 X x3 x2 x1 x0 x3x0 x2x0 x1x0 x0x0 x3x1 x2x1 x1x1 x0x1 x3x2 x2x2 x1x2 x0x2 + x3x3 x2x3 x1x3 x0x3 _ x3x2 x3x1 x3x0 x2x0 x1x0 x0 x3 x2x1 x1 + x2 _

Exponentiation e x        

 I.  II.  min:  max: