Based on Sedgewick and Wayne

Slides:



Advertisements
Similar presentations
5.4 Complex Numbers (p. 272).
Advertisements

GEOMETRIC REPRESENTATION OF COMPLEX NUMBERS A Complex Number is in the form: z = a+bi We can graph complex numbers on the axis shown below: Real axis.
Operations with Complex Numbers
Complex Numbers.
Complex Numbers The imaginary number i is defined as so that Complex numbers are in the form a + bi where a is called the real part and bi is the imaginary.
Objective Perform operations with complex numbers.
Original Tree:
6.5 Complex Numbers in Polar Form. Copyright © 2014, 2010, 2007 Pearson Education, Inc. 2 Objectives: Plot complex number in the complex plane. Find the.
Operations with Complex Numbers
2-9 Operations with complex numbers
Polar Coordinates. Common Coordinate Systems There are two common coordinate systems: Cartesian Rectangular Coordinate SystemPolar Coordinate System.
Section 2-5 Complex Numbers.
5.7 Complex Numbers 12/17/2012.
5-9 Operations with Complex Numbers Warm Up Lesson Presentation
Copyright © 2009 Pearson Education, Inc. CHAPTER 8: Applications of Trigonometry 8.1The Law of Sines 8.2The Law of Cosines 8.3Complex Numbers: Trigonometric.
Lesson 2.4 Read: Pages Page 137: #1-73 (EOO)
Section 4.8 – Complex Numbers Students will be able to: To identify, graph, and perform operations with complex numbers To find complex number solutions.
Lesson 7.5.  We have studied several ways to solve quadratic equations. ◦ We can find the x-intercepts on a graph, ◦ We can solve by completing the square,
1 ET 201 ~ ELECTRICAL CIRCUITS COMPLEX NUMBER SYSTEM  Define and explain complex number  Rectangular form  Polar form  Mathematical operations (CHAPTER.
Complex Numbers in Polar Form
4.6 Perform Operations With Complex Numbers. Vocabulary: Imaginary unit “i”: defined as i = √-1 : i 2 = -1 Imaginary unit is used to solve problems that.
5.7 Complex Numbers 12/4/2013. Quick Review If a number doesn’t show an exponent, it is understood that the number has an exponent of 1. Ex: 8 = 8 1,
Section 6.5 Complex Numbers in Polar Form. Overview Recall that a complex number is written in the form a + bi, where a and b are real numbers and While.
Express each number in terms of i.
Complex Numbers Definitions Graphing 33 Absolute Values.
11.2 GEOMETRIC REPRESENTATION OF COMPLEX NUMBERS Can be confusing, polar form has a degree with it, rectangular form does not, this all takes place in.
Chapter 1 Equations and Inequalities Copyright © 2014, 2010, 2007 Pearson Education, Inc Complex Numbers.
Section 8.7 Complex Numbers. Overview In previous sections, it was not possible to find the square root of a negative number using real numbers: is not.
5.4 – Complex Numbers. What is a Complex Number??? A complex number is made up of two parts – a real number and an imaginary number. Imaginary numbers.
Chapter 4 Section 8 Complex Numbers Objective: I will be able to identify, graph, and perform operations with complex numbers I will be able to find complex.
6.6 – Complex Numbers Complex Number System: This system of numbers consists of the set of real numbers and the set of imaginary numbers. Imaginary Unit:
Introduction to Complex Numbers AC Circuits I. Outline Complex numbers basics Rectangular form – Addition – Subtraction – Multiplication – Division Rectangular.
9/27/2016IT 1791 Abstraction A tool (concept) to manage complexity Hide irrelevant details; focus on the features needed Primitive date types are already.
Complex Numbers We haven’t been allowed to take the square root of a negative number, but there is a way: Define the imaginary number For example,
ALGEBRA TWO CHAPTER FIVE QUADRATIC FUNCTIONS 5.4 Complex Numbers.
Set Collection A Bag is a general collection class that implements the Collection interface. A Set is a collection that resembles a Bag with the provision.
Complex Numbers TENNESSEE STATE STANDARDS:
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Abstraction A tool (concept) to manage complexity
ECE 3301 General Electrical Engineering
4.4: Complex Numbers -Students will be able to identify the real and imaginary parts of complex numbers and perform basic operations.
Complex Numbers Real part Imaginary part
Complex Numbers Imaginary Numbers Vectors Complex Numbers
Operations with Complex Numbers
11.2 – Geometric Representation of Complex Numbers
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Complex Numbers.
5.4 Complex Numbers.
Imaginary Numbers.
4.6 Complex Numbers (p. 275).
Complex Numbers Dave Saha 15 Jan 99.
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Express each number in terms of i.
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
4.6 Perform Operations with Complex Numbers
College Algebra Chapter 1 Equations and Inequalities
Complex Number and Roots
Unit 11 Math-2 (Honors) 11.1: Dividing Square root numbers
1.2 Adding And Subtracting Complex Numbers
1.2 Adding And Subtracting Complex Numbers
Lesson 2.4 Complex Numbers
Skills Check 2x – 3 2x + 1 Perform the indicated operation.
4.6 Complex Numbers Algebra II.
Trigonometric (Polar) Form of Complex Numbers
Complex Numbers MAΘ
Complex Numbers.
Complex Number.
Section – Complex Numbers
Complex Numbers.
Skills Check 2x – 3 2x + 1 Perform the indicated operation.
Presentation transcript:

Based on Sedgewick and Wayne Abstract Data Types Richard Newman Based on Sedgewick and Wayne 1

Abstract Data Type A data type is a set of values and a collection of operations on those values An ADT is a data type that is accessed only through an interface The interface is declared in the *.h file, the implementation in *.cpp file(s), and the client(s) in *.cpp files with main(). A first class data type is one we can use in our programs like built-in types. 2

Example ADTs Stack, queue, deque, tree, sorted list, ... Point, vector, complex number, matrix, ... Graph, digraph, ... 3

Example: Complex Numbers Complex numbers may be represented as pairs (a,b) in Cartesian coordinate where x = a + bi, Or in polar coordinates as pairs (r,q) where r is the distance from the origin and q is the angle of the vector from the real axis and x=reiq Complex number are not typically built-in types

Example: Complex Numbers Values are all real-valued pairs of numbers Operations can be the usual, add, subtract, multiply divide along with some others, like conjugation, roots, etc. Need to define these operations and overload +, -, *, / to make first class Also need to provide for assignment/copy, deletion, conversion to string, etc.

Next: Generics