SlideShare a Scribd company logo
1 of 21
Download to read offline
1
Numerical Analysis
Lecture 1
Assessment
2
Total: 100 marks
• Final Exam: 60 marks
• Mid-term: 15 marks
• Oral : 10 marks
• Assignments: 10 marks
• Participation: 5 marks
You will pass if you get 50 marks (PASS)
Assignments
• Google Classroom
• Code:
3
x3n5el6
Numbers
4
• A number is a mathematical object used to count, measure, and
label.
• Numbers can be represented in languages with symbols.
e.g.:
Digits and Numbers
• Digit
A digit is a single numerical symbol.
For example: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.
• Number
A number is a string of one or more digits.
For example, the number 23 is written with two digits, 2 and 3.
5
Number Systems
6
System Digits Base
Binary 0,1 Base-2
Octal 0,1,2,3,4,5,6,7 Base-8
Decimal 0,1,2,3,4,5,6,7,8,9 Base-10
Hexadecimal 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F Base-16
Conversion Table
7
Hexadecimal Octal Decimal Binary
0 0 0 0000
1 1 1 0001
2 2 2 0010
3 3 3 0011
4 4 4 0100
5 5 5 0101
6 6 6 0110
7 7 7 0111
8 10 8 1000
9 11 9 1001
A 12 10 1010
B 13 11 1011
C 14 12 1100
D 15 13 1101
E 16 14 1110
F 17 15 1111
Conversions
• Decimal to Other Base System
• Other Base System to Decimal
• Other Base System to Non-Decimal
• Shortcut method − Binary to Octal
• Shortcut method − Octal to Binary
• Shortcut method − Binary to Hexadecimal
• Shortcut method − Hexadecimal to Binary
8
We'll demonstrate here the following:
Decimal to Other Base System
• Step 1 − Divide the decimal number to be converted by the value of the
new base.
• Step 2 − Get the remainder from Step 1 as the rightmost digit (least
significant digit) of new base number.
• Step 3 − Divide the quotient of the previous divide by the new base.
• Step 4 − Record the remainder from Step 3 as the next digit (to the left) of
the new base number.
Repeat Steps 3 and 4, getting remainders from right to left, until the quotient
becomes zero in Step 3.
9
Steps:
Conversion from decimal to any base (Base-x)
10
❑ For integer number → divide by x
Example:
Convert from decimal to binary:
(45)10
45
2
22
1
2
11
2
5
2
2
2
1
2
0
0
1
1
0
1
101101
‫أعلى‬ ‫إلى‬ ‫أسفل‬ ‫من‬ ‫الرقم‬ ‫نكتب‬
(69)10
69
2
34
1
2
17
2
8
2
4
2
2
2
1
0
1
0
0
0
1000101
2
0
1
‫الباقي‬
Conversion from decimal to any base (Base-x)
11
Convert from decimal to octal:
901
901
8
112
5
8
14
0
8
1
6
8
0
1
1605
(901)10 → (1605)8
Conversion from decimal to any base (Base-x)
12
Convert from decimal to hexadecimal:
1066
1066
16
66
10
16
4
2
16
0
4
(1066)10 → (42A)16
13
Conversion from any base (Base-x) to decimal
Result = SUM (value * xpos)
Example:
Convert from binary to decimal:
101011
1 0 1 0 1 1
 pos
5 4 3 2 1 0
= 1*20+1*21+0*22+1*23+0*24+1*25
=1+2+0+8+0+32
=43
 value
(101011)2 → (43)10
Conversion from any base (Base-x) to decimal
14
Convert from octal to decimal:
672
(672)8=2*80+7*81+6*82
=2+56+384
=(442)10
5061
(5561)8=1*80+6*81+0*82+5*83
=1+48+0+2560
=(2609)10
Conversion from octal to binary
15
Replace each octal digit into its equivalent 3-bit binary number
Convert from octal to binary:
(537)8
(537)8= (101 011 111)2
Conversion from binary to octal
16
‫كل‬ ‫ل‬ّ‫نحو‬
3bit
‫بال‬ ‫المكافئ‬ ‫الرقم‬ ‫الى‬
octal
Convert from binary to octal:
a) 111110110
(111 110 110)2=(766)8
b) 1000001
(001 000 001)2=(101)8
‫الصحيح‬ ‫العدد‬ ‫في‬
‫بنبدأ‬
‫الشمال‬ ‫على‬ ‫أصفار‬ ‫نزود‬ ‫وممكن‬ ‫اليمين‬ ‫من‬
‫علشان‬
‫نكمل‬
3
bit
Conversion from hexadecimal to binary
17
Replace each hexadecimal digit into its equivalent 4-bit binary number
Convert from hexadecimal to binary:
(A8C3)16
(A8C3)16= (1010 1000 1100 0011)2
18
Conversion from binary to hexadecimal
‫كل‬ ‫ل‬ّ‫نحو‬
4bit
‫بال‬ ‫المكافئ‬ ‫الرقم‬ ‫الى‬
hexadecimal
‫الصحيح‬ ‫العدد‬ ‫في‬
‫بنبدأ‬
‫الشمال‬ ‫على‬ ‫أصفار‬ ‫نزود‬ ‫وممكن‬ ‫اليمين‬ ‫من‬
‫علشان‬
‫نكمل‬
4
bit
Convert from binary to hexadecimal:
a) 10101001
(1010 1001)2= (A9)16
d) 01101111
(0110 1111)2= (6F)16
Conversion from octal to hexadecimal
19
Octal → Binary → Hexadecimal
Convert from octal to hexadecimal:
A) 777
(777)8 → (111111111)2 → (0001 1111 1111)2 → (1FF)16
B) 605
(605)8 → (110000101)2 → (0001 1000 0101)2 → (185)16
C) 443
(443)8 → (100100011)2 → (0001 0010 0011)2 → (123)16
20
Conversion from hexadecimal to octal
Hexadecimal → Binary → Octal
Convert from hexadecimal to octal:
A) A9
(A9)16=(10101001)2=(010 101 001)2=(251)8
B) E7
(E7)16=(11100111)2=(011 100 111)2=(347)8
21

More Related Content

What's hot

Solving Linear Equations - GRADE 8 MATHEMATICS
Solving Linear Equations - GRADE 8 MATHEMATICSSolving Linear Equations - GRADE 8 MATHEMATICS
Solving Linear Equations - GRADE 8 MATHEMATICSCoreAces
 
Introduction To Equations
Introduction To EquationsIntroduction To Equations
Introduction To Equationsgemmabean
 
Linear Equation in one variables 3
Linear Equation in one variables 3Linear Equation in one variables 3
Linear Equation in one variables 3NG YIT HOE
 
Solution of linear equation & inequality
Solution of linear equation & inequalitySolution of linear equation & inequality
Solution of linear equation & inequalityflorian Manzanilla
 
Chapter 3. linear equation and linear equalities in one variables
Chapter 3. linear equation and linear equalities in one variablesChapter 3. linear equation and linear equalities in one variables
Chapter 3. linear equation and linear equalities in one variablesmonomath
 
Algebra Tiles Pp Version 2
Algebra Tiles Pp   Version 2Algebra Tiles Pp   Version 2
Algebra Tiles Pp Version 2guest880c6c
 
Linear Equations
Linear EquationsLinear Equations
Linear Equationsrfant
 
Tutorial linear equations and linear inequalities
Tutorial linear equations and linear inequalitiesTutorial linear equations and linear inequalities
Tutorial linear equations and linear inequalitieskhyps13
 
Algebra 1. 9.7 Lesson. Absolute Value
Algebra 1.  9.7 Lesson. Absolute ValueAlgebra 1.  9.7 Lesson. Absolute Value
Algebra 1. 9.7 Lesson. Absolute Valuedmatkeson21
 
Linear Equations and Inequalities in One Variable
Linear Equations and Inequalities in One VariableLinear Equations and Inequalities in One Variable
Linear Equations and Inequalities in One Variablemisey_margarette
 
2.6 Linear Inequalities in Two Variables
2.6 Linear Inequalities in Two Variables2.6 Linear Inequalities in Two Variables
2.6 Linear Inequalities in Two Variableshisema01
 
Solving add-subtract equations
Solving add-subtract equationsSolving add-subtract equations
Solving add-subtract equationsOrlando Calderon
 
U5 l1 simultaneous equations
U5 l1  simultaneous equationsU5 l1  simultaneous equations
U5 l1 simultaneous equationsjulienorman80065
 
Gr 8O's 2nd Online Session (Updated)
Gr 8O's 2nd Online Session (Updated)Gr 8O's 2nd Online Session (Updated)
Gr 8O's 2nd Online Session (Updated)Danique R. Bailey
 

What's hot (20)

Solving Linear Equations - GRADE 8 MATHEMATICS
Solving Linear Equations - GRADE 8 MATHEMATICSSolving Linear Equations - GRADE 8 MATHEMATICS
Solving Linear Equations - GRADE 8 MATHEMATICS
 
Linear Equations
Linear Equations Linear Equations
Linear Equations
 
Hprec2 2
Hprec2 2Hprec2 2
Hprec2 2
 
Introduction To Equations
Introduction To EquationsIntroduction To Equations
Introduction To Equations
 
Linear Equation in one variables 3
Linear Equation in one variables 3Linear Equation in one variables 3
Linear Equation in one variables 3
 
Solution of linear equation & inequality
Solution of linear equation & inequalitySolution of linear equation & inequality
Solution of linear equation & inequality
 
Word Problems
Word ProblemsWord Problems
Word Problems
 
Solving equations
Solving equationsSolving equations
Solving equations
 
Chapter 3. linear equation and linear equalities in one variables
Chapter 3. linear equation and linear equalities in one variablesChapter 3. linear equation and linear equalities in one variables
Chapter 3. linear equation and linear equalities in one variables
 
Algebra Tiles Pp Version 2
Algebra Tiles Pp   Version 2Algebra Tiles Pp   Version 2
Algebra Tiles Pp Version 2
 
Linear Equations
Linear EquationsLinear Equations
Linear Equations
 
Subtraction of Integers
Subtraction of IntegersSubtraction of Integers
Subtraction of Integers
 
Complex numbers
Complex numbersComplex numbers
Complex numbers
 
Tutorial linear equations and linear inequalities
Tutorial linear equations and linear inequalitiesTutorial linear equations and linear inequalities
Tutorial linear equations and linear inequalities
 
Algebra 1. 9.7 Lesson. Absolute Value
Algebra 1.  9.7 Lesson. Absolute ValueAlgebra 1.  9.7 Lesson. Absolute Value
Algebra 1. 9.7 Lesson. Absolute Value
 
Linear Equations and Inequalities in One Variable
Linear Equations and Inequalities in One VariableLinear Equations and Inequalities in One Variable
Linear Equations and Inequalities in One Variable
 
2.6 Linear Inequalities in Two Variables
2.6 Linear Inequalities in Two Variables2.6 Linear Inequalities in Two Variables
2.6 Linear Inequalities in Two Variables
 
Solving add-subtract equations
Solving add-subtract equationsSolving add-subtract equations
Solving add-subtract equations
 
U5 l1 simultaneous equations
U5 l1  simultaneous equationsU5 l1  simultaneous equations
U5 l1 simultaneous equations
 
Gr 8O's 2nd Online Session (Updated)
Gr 8O's 2nd Online Session (Updated)Gr 8O's 2nd Online Session (Updated)
Gr 8O's 2nd Online Session (Updated)
 

Similar to Lecture

Number system and their conversion
Number system and their conversionNumber system and their conversion
Number system and their conversionRam Pratap Singh
 
Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionMubashir Ali
 
Finite word length effects
Finite word length effectsFinite word length effects
Finite word length effectsPeriyanayagiS
 
More on number system
More on number systemMore on number system
More on number systemsamina khan
 
Standard 9th Number System Power point presentation
Standard 9th Number System Power point presentationStandard 9th Number System Power point presentation
Standard 9th Number System Power point presentationhemangipednekar0812
 
Number system by ammar nawab
Number system by ammar nawabNumber system by ammar nawab
Number system by ammar nawabAmmar_n
 
Number systems
Number systemsNumber systems
Number systemsKumar
 
LEfddfffhhfrrdvvggfdwfcxsfvdsfgC 02 A.pptx
LEfddfffhhfrrdvvggfdwfcxsfvdsfgC 02 A.pptxLEfddfffhhfrrdvvggfdwfcxsfvdsfgC 02 A.pptx
LEfddfffhhfrrdvvggfdwfcxsfvdsfgC 02 A.pptxAhsan433
 
Number system
Number systemNumber system
Number systemSajib
 
lecture02-numbersystem-191002152647.pdf
lecture02-numbersystem-191002152647.pdflecture02-numbersystem-191002152647.pdf
lecture02-numbersystem-191002152647.pdfAsthaChaurasia4
 
Chapter 2.1 introduction to number system
Chapter 2.1 introduction to number systemChapter 2.1 introduction to number system
Chapter 2.1 introduction to number systemISMT College
 
1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptxLibanMohamed26
 
Chapter 1 digital design.pptx
Chapter 1 digital design.pptxChapter 1 digital design.pptx
Chapter 1 digital design.pptxAliaaTarek5
 

Similar to Lecture (20)

Number system and their conversion
Number system and their conversionNumber system and their conversion
Number system and their conversion
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
 
Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & Conversion
 
Digital Electronics Notes.pdf
Digital Electronics Notes.pdfDigital Electronics Notes.pdf
Digital Electronics Notes.pdf
 
Finite word length effects
Finite word length effectsFinite word length effects
Finite word length effects
 
More on number system
More on number systemMore on number system
More on number system
 
Standard 9th Number System Power point presentation
Standard 9th Number System Power point presentationStandard 9th Number System Power point presentation
Standard 9th Number System Power point presentation
 
Number system by ammar nawab
Number system by ammar nawabNumber system by ammar nawab
Number system by ammar nawab
 
Number systems
Number systemsNumber systems
Number systems
 
LEfddfffhhfrrdvvggfdwfcxsfvdsfgC 02 A.pptx
LEfddfffhhfrrdvvggfdwfcxsfvdsfgC 02 A.pptxLEfddfffhhfrrdvvggfdwfcxsfvdsfgC 02 A.pptx
LEfddfffhhfrrdvvggfdwfcxsfvdsfgC 02 A.pptx
 
Number Systems
Number SystemsNumber Systems
Number Systems
 
Number system
Number systemNumber system
Number system
 
lecture02-numbersystem-191002152647.pdf
lecture02-numbersystem-191002152647.pdflecture02-numbersystem-191002152647.pdf
lecture02-numbersystem-191002152647.pdf
 
Number systems r002
Number systems  r002Number systems  r002
Number systems r002
 
Cse115 lecture01numbersystems
Cse115 lecture01numbersystemsCse115 lecture01numbersystems
Cse115 lecture01numbersystems
 
Chapter 2.1 introduction to number system
Chapter 2.1 introduction to number systemChapter 2.1 introduction to number system
Chapter 2.1 introduction to number system
 
Lecture 2 ns
Lecture 2 nsLecture 2 ns
Lecture 2 ns
 
1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx
 
Chapter 1 digital design.pptx
Chapter 1 digital design.pptxChapter 1 digital design.pptx
Chapter 1 digital design.pptx
 
DCF QNA edited
DCF QNA editedDCF QNA edited
DCF QNA edited
 

Recently uploaded

Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxAnaBeatriceAblay2
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 

Recently uploaded (20)

Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 

Lecture

  • 2. Assessment 2 Total: 100 marks • Final Exam: 60 marks • Mid-term: 15 marks • Oral : 10 marks • Assignments: 10 marks • Participation: 5 marks You will pass if you get 50 marks (PASS)
  • 4. Numbers 4 • A number is a mathematical object used to count, measure, and label. • Numbers can be represented in languages with symbols. e.g.:
  • 5. Digits and Numbers • Digit A digit is a single numerical symbol. For example: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. • Number A number is a string of one or more digits. For example, the number 23 is written with two digits, 2 and 3. 5
  • 6. Number Systems 6 System Digits Base Binary 0,1 Base-2 Octal 0,1,2,3,4,5,6,7 Base-8 Decimal 0,1,2,3,4,5,6,7,8,9 Base-10 Hexadecimal 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F Base-16
  • 7. Conversion Table 7 Hexadecimal Octal Decimal Binary 0 0 0 0000 1 1 1 0001 2 2 2 0010 3 3 3 0011 4 4 4 0100 5 5 5 0101 6 6 6 0110 7 7 7 0111 8 10 8 1000 9 11 9 1001 A 12 10 1010 B 13 11 1011 C 14 12 1100 D 15 13 1101 E 16 14 1110 F 17 15 1111
  • 8. Conversions • Decimal to Other Base System • Other Base System to Decimal • Other Base System to Non-Decimal • Shortcut method − Binary to Octal • Shortcut method − Octal to Binary • Shortcut method − Binary to Hexadecimal • Shortcut method − Hexadecimal to Binary 8 We'll demonstrate here the following:
  • 9. Decimal to Other Base System • Step 1 − Divide the decimal number to be converted by the value of the new base. • Step 2 − Get the remainder from Step 1 as the rightmost digit (least significant digit) of new base number. • Step 3 − Divide the quotient of the previous divide by the new base. • Step 4 − Record the remainder from Step 3 as the next digit (to the left) of the new base number. Repeat Steps 3 and 4, getting remainders from right to left, until the quotient becomes zero in Step 3. 9 Steps:
  • 10. Conversion from decimal to any base (Base-x) 10 ❑ For integer number → divide by x Example: Convert from decimal to binary: (45)10 45 2 22 1 2 11 2 5 2 2 2 1 2 0 0 1 1 0 1 101101 ‫أعلى‬ ‫إلى‬ ‫أسفل‬ ‫من‬ ‫الرقم‬ ‫نكتب‬ (69)10 69 2 34 1 2 17 2 8 2 4 2 2 2 1 0 1 0 0 0 1000101 2 0 1 ‫الباقي‬
  • 11. Conversion from decimal to any base (Base-x) 11 Convert from decimal to octal: 901 901 8 112 5 8 14 0 8 1 6 8 0 1 1605 (901)10 → (1605)8
  • 12. Conversion from decimal to any base (Base-x) 12 Convert from decimal to hexadecimal: 1066 1066 16 66 10 16 4 2 16 0 4 (1066)10 → (42A)16
  • 13. 13 Conversion from any base (Base-x) to decimal Result = SUM (value * xpos) Example: Convert from binary to decimal: 101011 1 0 1 0 1 1  pos 5 4 3 2 1 0 = 1*20+1*21+0*22+1*23+0*24+1*25 =1+2+0+8+0+32 =43  value (101011)2 → (43)10
  • 14. Conversion from any base (Base-x) to decimal 14 Convert from octal to decimal: 672 (672)8=2*80+7*81+6*82 =2+56+384 =(442)10 5061 (5561)8=1*80+6*81+0*82+5*83 =1+48+0+2560 =(2609)10
  • 15. Conversion from octal to binary 15 Replace each octal digit into its equivalent 3-bit binary number Convert from octal to binary: (537)8 (537)8= (101 011 111)2
  • 16. Conversion from binary to octal 16 ‫كل‬ ‫ل‬ّ‫نحو‬ 3bit ‫بال‬ ‫المكافئ‬ ‫الرقم‬ ‫الى‬ octal Convert from binary to octal: a) 111110110 (111 110 110)2=(766)8 b) 1000001 (001 000 001)2=(101)8 ‫الصحيح‬ ‫العدد‬ ‫في‬ ‫بنبدأ‬ ‫الشمال‬ ‫على‬ ‫أصفار‬ ‫نزود‬ ‫وممكن‬ ‫اليمين‬ ‫من‬ ‫علشان‬ ‫نكمل‬ 3 bit
  • 17. Conversion from hexadecimal to binary 17 Replace each hexadecimal digit into its equivalent 4-bit binary number Convert from hexadecimal to binary: (A8C3)16 (A8C3)16= (1010 1000 1100 0011)2
  • 18. 18 Conversion from binary to hexadecimal ‫كل‬ ‫ل‬ّ‫نحو‬ 4bit ‫بال‬ ‫المكافئ‬ ‫الرقم‬ ‫الى‬ hexadecimal ‫الصحيح‬ ‫العدد‬ ‫في‬ ‫بنبدأ‬ ‫الشمال‬ ‫على‬ ‫أصفار‬ ‫نزود‬ ‫وممكن‬ ‫اليمين‬ ‫من‬ ‫علشان‬ ‫نكمل‬ 4 bit Convert from binary to hexadecimal: a) 10101001 (1010 1001)2= (A9)16 d) 01101111 (0110 1111)2= (6F)16
  • 19. Conversion from octal to hexadecimal 19 Octal → Binary → Hexadecimal Convert from octal to hexadecimal: A) 777 (777)8 → (111111111)2 → (0001 1111 1111)2 → (1FF)16 B) 605 (605)8 → (110000101)2 → (0001 1000 0101)2 → (185)16 C) 443 (443)8 → (100100011)2 → (0001 0010 0011)2 → (123)16
  • 20. 20 Conversion from hexadecimal to octal Hexadecimal → Binary → Octal Convert from hexadecimal to octal: A) A9 (A9)16=(10101001)2=(010 101 001)2=(251)8 B) E7 (E7)16=(11100111)2=(011 100 111)2=(347)8
  • 21. 21