CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Fall 2006 Lecture 11 Cordic, Log, Square, Exponential Functions.

Slides:



Advertisements
Similar presentations
Unit 6. For x  0 and 0  a  1, y = log a x if and only if x = a y. The function given by f (x) = log a x is called the logarithmic function with base.
Advertisements

ET-314 Week 11 Nov 7, 2014 Topic(s): 19.1 Vectors.
Trig Graphs. y = sin x y = cos x y = tan x y = sin x + 2.
Calculus Final Exam Review By: Bryant Nelson. Common Trigonometric Values x-value0π/6π/3π/22π/35π/6π7π/64π/33π/25π/311π/62π sin(x)0½1½0-½-½0 cos(x)1½0-½-½0½1.
TRIGONOMETRY. Sign for sin , cos  and tan  Quadrant I 0° <  < 90° Quadrant II 90 ° <  < 180° Quadrant III 180° <  < 270° Quadrant IV 270 ° < 
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 Fall 2006 Lecture 11 Cordic, Log, Square, Exponential Functions.
CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Winter 2004 Lecture 11 Tuesday, February 24, 2004.
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.
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 7.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Prentice Hall Derivatives of Exponential and Logarithmic Functions Section 3.9.
8.2 Integration By Parts.
Name : ______________ ( ) Class : ________ Date :_________ Objectives: Unit 7: Logarithmic and Exponential Functions Graphs Solving Equations of the Form.
Introduction to Logarithmic Functions
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 Logarithmic Functions EXPONENTIAL AND LOGARITHMIC FUNCTIONS Objectives Graph logarithmic functions. Evaluate.
3.9 Derivatives of Exponential and Logarithmic Functions.
3.9 Derivatives of Exponential and Logarithmic Functions.
1 Logarithms Definition If y = a x then x = log a y For log 10 x use the log button. For log e x use the ln button.
7.2The Natural Logarithmic and Exponential Function Math 6B Calculus II.
Please get out several sheets of paper and something to write with.
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.
Department of Computer Systems Engineering, N-W.F.P. University of Engineering & Technology. DSP Presentation Computing Multiplication & division using.
radius = r Trigonometric Values of an Angle in Standard Position 90º
June 2007 Computer Arithmetic, Function EvaluationSlide 1 VI Function Evaluation Topics in This Part Chapter 21 Square-Rooting Methods Chapter 22 The CORDIC.
3.9: Derivatives of Exponential and Logarithmic Functions.
Sec 4.1 Exponential Functions Objectives: To define exponential functions. To understand how to graph exponential functions.
3.9 Derivatives of Exponential and Logarithmic Functions.
5.5 Objectives Apply the base properties of logarithms. Use the change of base formula.
Puzzle Take a guess at what these statements are saying: power 2 (8) = 3 power 2 (32) = 5 power 3 (9) = 2 power 3 (81) = 4 power 5 (25) = 2 Now see if.
Table of Contents Logarithm Properties - Product Rule The Product Rule for logarithms states that... read as “the log of the product is the sum of the.
Derivatives  Definition of a Derivative  Power Rule  Package Rule  Product Rule  Quotient Rule  Exponential Function and Logs  Trigonometric Functions.
CORDIC Algorithm COordinate Rotation DIgital Computer Method for Elementary Function Evaluation (e.g., sin(z), cos(z), tan -1 (y)) Originally Used for.
NATURAL LOGARITHMS. The Constant: e e is a constant very similar to π. Π = … e = … Because it is a fixed number we can find e 2.
Chapter 4 Additional Derivative Topics Section 4 The Chain Rule.
CORDIC-Based Processor
ALISON BOWLING LOGARITHMS. LOGARITHMS (BASE 10) 10 0 = 1log 10 1 = = 10log = = 100log = = 1000log =
Derivative Rules.
CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Fall 2006 Lecture 7 Division.
CORDIC Algorithm COordinate Rotation DIgital Computer
Math Review Egr Trigonometry Consider a right triangle as shown with sides a and b and hypotenuse c. B c a A b.
Implementation of Public Key Encryption Algorithms
Derivatives of Exponential and Logarithmic Functions
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.
Table of Contents Logarithm Properties - Quotient Rule The Quotient Rule for logarithms states that... read as “the log of the quotient is the difference.
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.
LOGARITHMIC AND EXPONENTIAL EQUATIONS LOGARITHMIC AND EXPONENTIAL EQUATIONS SECTION 4.6.
8.6 Natural Logarithms.
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
Derivatives of Log Functions
Do Now: Determine the value of x in the expression.
Packet #10 Proving Derivatives
Deriving and Integrating Logarithms and Exponential Equations
Derivatives of Log Functions
Derivatives of Logarithmic Functions
4.3 – Differentiation of Exponential and Logarithmic Functions
Warm-Up!
3.4 Exponential and Logarithmic Equations
Warm-up: Solve for x: CW: Practice Log Quiz HW: QUIZ Review 3.1 – 3.4.
Logarithms.
Presentation transcript:

CSE 246: Computer Arithmetic Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Fall 2006 Lecture 11 Cordic, Log, Square, Exponential Functions

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

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: