Scientific Computing CS 412 الحوسبة العلمیة عال 412

14
Scientific Computing CS 412 ة ی م ل ع ل ا ة ی سو ح ل ال ا ع412 Lecture 4: Numbers and sets By I.Safa Alawneh

description

Scientific Computing CS 412 الحوسبة العلمیة عال 412. Lecture 4: Numbers and sets By I.Safa Alawneh. Numbers and sets. The set of natural numbers, denoted N, is the set of non-negative whole numbers: N= { 0,1,2,3 …..} - PowerPoint PPT Presentation

Transcript of Scientific Computing CS 412 الحوسبة العلمیة عال 412

Page 1: Scientific Computing CS 412 الحوسبة العلمیة عال 412

Scientific ComputingCS 412

العلمیة الحوسبة412عال

Lecture 4: Numbers and setsBy

I.Safa Alawneh

Page 2: Scientific Computing CS 412 الحوسبة العلمیة عال 412

Numbers and setsThe set of natural numbers, denoted

N, is the set of non-negative whole numbers:

N= { 0,1,2,3 …..} The set of integers, Z, contains the

signed whole numbers including zero: Z= { …..,-2,-1,0,1,2, ……}

The set of rationals, Q, also include numbers with fractions:

Q = { p/q: p, q€ Z ,q≠ 0}

Page 3: Scientific Computing CS 412 الحوسبة العلمیة عال 412

Numbers and setsAn Irrational Number is a real number

that cannot be written as a simple fraction.

Irrational means not Rational

Examples:

Page 4: Scientific Computing CS 412 الحوسبة العلمیة عال 412

Real Numbers are just numbers like: 1, 12.38 , -0.8625 ,3/4, √2, 1998

Numbers and sets

Page 5: Scientific Computing CS 412 الحوسبة العلمیة عال 412

Representing NumbersIn computer systems, real numbers are

usually represented explicitly by floating-point numbers or symbolic or rule-based representation.

Page 6: Scientific Computing CS 412 الحوسبة العلمیة عال 412

Representing Numbers

Page 7: Scientific Computing CS 412 الحوسبة العلمیة عال 412

Representing Numbers

Page 8: Scientific Computing CS 412 الحوسبة العلمیة عال 412

VectorsMany quantities can be measured or

reported using a single number: time, distance…

These are called Scalar quantities.There are many phenomena that

cannot use single scalar: a position in space

Page 9: Scientific Computing CS 412 الحوسبة العلمیة عال 412

Representing Vectors

Page 10: Scientific Computing CS 412 الحوسبة العلمیة عال 412

Representing of functions (Explicit)

Page 11: Scientific Computing CS 412 الحوسبة العلمیة عال 412

Representing of functions (Implicit)

Page 12: Scientific Computing CS 412 الحوسبة العلمیة عال 412

Parametric Representing of functions

Page 13: Scientific Computing CS 412 الحوسبة العلمیة عال 412

Parametric Representing of functions

Page 14: Scientific Computing CS 412 الحوسبة العلمیة عال 412