SlideShare a Scribd company logo
1 of 22
Download to read offline
Numerical Analysis - Introduction
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Numerical Analysis
An Introduction
Numerical Analysis - Introduction
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
References
• Steven Chapra and Raymond Canale,
"Numerical Methods for Engineers," 5th
editions, ISBN 0-07-123140-4
Numerical Analysis - Introduction
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Numerical Methods
Numerical Analysis - Introduction
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Why Numerical?
• Ignorance
• Readily Available Packages
• Need to Develop New Techniques
• Good use of your computer!
• Re-Understand Mathematics
Numerical Analysis - Introduction
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Mathematical Modeling &
Engineering Solutions
Numerical Analysis - Introduction
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Mathematical Models
Numerical Analysis - Introduction
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Example Problem
dt
dv
mmaF 
cvmgFFF UD 
cvmgvm
dt
dv
m  
m
cvmg
v

    mct
e
c
mg
tv /
1 

Numerical Analysis - Introduction
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Solution
Numerical Analysis - Introduction
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Approximate Solution
12
12
tt
vv
t
v
dt
dv






m
cvmg
tt
vv 



12
12
m
cvmg
tt
vv 1
12
12 



Numerical Analysis - Introduction
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Approximate Solution
 
m
cvmg
ttvv 1
1212


Numerical Analysis - Introduction
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Approximation and Round-Off
Errors
Numerical Analysis - Introduction
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Errors!
• Round-off errors are due to the fact that
the computers present numbers in as a
finite number of bits and bytes!
• Truncation Errors are errors that emerge
from the approximation of the
mathematical model
• Model errors are due to the fact that the
mathematical model usually is an
approximation of the physical reality!
Numerical Analysis - Introduction
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Significant Figures
Numerical Analysis - Introduction
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Accuracy and Precision
• Accuracy how close
your solution is
• Precision is how close
your repetition of the
solution are!
Numerical Analysis - Introduction
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Error Definition
• True Error
• True Relative Error
• Approximate Error
ionApproximatvalueTrueEt 
valueTrue
Et
t 
ionApproximatCurrent
ApproxPastionApproximatCurrent
a
.

Numerical Analysis - Introduction
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Round-off Errors
210
10*210*510*3253 
21
10*510*225.0
4
1 

...10*310*310*310*3
...33333.0
3
1
4321



Numerical Analysis - Introduction
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Computer Presentation of Numbers
Numerical Analysis - Introduction
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
When numbers are too small!
Numerical Analysis - Introduction
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Truncation Errors
Numerical Analysis - Introduction
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Taylor’s Expansion
          ...
!2
'''
2
0
0000 


xx
xfxxxfxfxf
         3
2
000
!2
''' hO
h
xfhxfxfxf 
Numerical Analysis - Introduction
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Truncation Error!
Numerical Analysis - Introduction
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Conclusion
• We need the numerical methods to solve
problems that do not have a solution or
have a complex mathematical solution
• Errors have different sources: Truncation,
round off, and model errors
• Error is evaluated using approximate
solutions

More Related Content

What's hot

03 truncation errors
03 truncation errors03 truncation errors
03 truncation errors
maheej
 
numerical differentiation&integration
numerical differentiation&integrationnumerical differentiation&integration
numerical differentiation&integration
8laddu8
 

What's hot (20)

APPLICATION OF NUMERICAL METHODS IN SMALL SIZE
APPLICATION OF NUMERICAL METHODS IN SMALL SIZEAPPLICATION OF NUMERICAL METHODS IN SMALL SIZE
APPLICATION OF NUMERICAL METHODS IN SMALL SIZE
 
Interpolation
InterpolationInterpolation
Interpolation
 
Numerical method for solving non linear equations
Numerical method for solving non linear equationsNumerical method for solving non linear equations
Numerical method for solving non linear equations
 
03 open methods
03 open methods03 open methods
03 open methods
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson method
 
Applications of numerical methods
Applications of numerical methodsApplications of numerical methods
Applications of numerical methods
 
Numerical integration
Numerical integrationNumerical integration
Numerical integration
 
Numerical method
Numerical methodNumerical method
Numerical method
 
Initial Value Problems
Initial Value ProblemsInitial Value Problems
Initial Value Problems
 
Intro to Discrete Mathematics
Intro to Discrete MathematicsIntro to Discrete Mathematics
Intro to Discrete Mathematics
 
bisection method
bisection methodbisection method
bisection method
 
application of differential equations
application of differential equationsapplication of differential equations
application of differential equations
 
Presentation on Solution to non linear equations
Presentation on Solution to non linear equationsPresentation on Solution to non linear equations
Presentation on Solution to non linear equations
 
NUMERICAL METHODS ppt new (1).pptx
NUMERICAL METHODS  ppt new (1).pptxNUMERICAL METHODS  ppt new (1).pptx
NUMERICAL METHODS ppt new (1).pptx
 
Engineering mathematics presentation
Engineering mathematics presentationEngineering mathematics presentation
Engineering mathematics presentation
 
Finite difference method
Finite difference methodFinite difference method
Finite difference method
 
Numerical Analysis
Numerical AnalysisNumerical Analysis
Numerical Analysis
 
Iterative methods
Iterative methodsIterative methods
Iterative methods
 
03 truncation errors
03 truncation errors03 truncation errors
03 truncation errors
 
numerical differentiation&integration
numerical differentiation&integrationnumerical differentiation&integration
numerical differentiation&integration
 

Viewers also liked

Approximation and error
Approximation and errorApproximation and error
Approximation and error
rubenarismendi
 
The False-Position Method
The False-Position MethodThe False-Position Method
The False-Position Method
Tayyaba Abbas
 
software engineering
software engineeringsoftware engineering
software engineering
ramyavarkala
 
Software Engineering ppt
Software Engineering pptSoftware Engineering ppt
Software Engineering ppt
shruths2890
 
Regula falsi method
Regula falsi methodRegula falsi method
Regula falsi method
andrushow
 

Viewers also liked (20)

Approximation and error
Approximation and errorApproximation and error
Approximation and error
 
Error analysis
Error analysisError analysis
Error analysis
 
Historyandtypespsych[1]
Historyandtypespsych[1]Historyandtypespsych[1]
Historyandtypespsych[1]
 
Algorithms Lecture 3: Analysis of Algorithms II
Algorithms Lecture 3: Analysis of Algorithms IIAlgorithms Lecture 3: Analysis of Algorithms II
Algorithms Lecture 3: Analysis of Algorithms II
 
Attachment
AttachmentAttachment
Attachment
 
The False-Position Method
The False-Position MethodThe False-Position Method
The False-Position Method
 
Social Psychology: Introduction: Lecture1
Social Psychology: Introduction: Lecture1Social Psychology: Introduction: Lecture1
Social Psychology: Introduction: Lecture1
 
General Psychology: Chapter 1
General Psychology: Chapter 1General Psychology: Chapter 1
General Psychology: Chapter 1
 
software engineering
software engineeringsoftware engineering
software engineering
 
Daa notes 1
Daa notes 1Daa notes 1
Daa notes 1
 
Software Engineering ppt
Software Engineering pptSoftware Engineering ppt
Software Engineering ppt
 
Filipino psychology concepts and methods
Filipino psychology   concepts and methodsFilipino psychology   concepts and methods
Filipino psychology concepts and methods
 
Types of errors
Types of errorsTypes of errors
Types of errors
 
Regula falsi method
Regula falsi methodRegula falsi method
Regula falsi method
 
Software Engineering UPTU
Software Engineering UPTUSoftware Engineering UPTU
Software Engineering UPTU
 
Social Psychology - Social Influence
Social Psychology - Social InfluenceSocial Psychology - Social Influence
Social Psychology - Social Influence
 
Psychology: Motivation,Types of Motivation & Theories of Motivation
Psychology: Motivation,Types of Motivation & Theories of MotivationPsychology: Motivation,Types of Motivation & Theories of Motivation
Psychology: Motivation,Types of Motivation & Theories of Motivation
 
The Simple Sentence
The Simple Sentence The Simple Sentence
The Simple Sentence
 
Design & Analysis Of Algorithm
Design & Analysis Of AlgorithmDesign & Analysis Of Algorithm
Design & Analysis Of Algorithm
 
Introduction to psychology
Introduction to psychologyIntroduction to psychology
Introduction to psychology
 

Similar to Introduction to Numerical Analysis

Mt s8 wbt_test_designtechniques
Mt s8 wbt_test_designtechniquesMt s8 wbt_test_designtechniques
Mt s8 wbt_test_designtechniques
TestingGeeks
 

Similar to Introduction to Numerical Analysis (20)

Bracketing Methods
Bracketing MethodsBracketing Methods
Bracketing Methods
 
You always dreamt of your own quantum computer. now you can have it in the cloud
You always dreamt of your own quantum computer. now you can have it in the cloudYou always dreamt of your own quantum computer. now you can have it in the cloud
You always dreamt of your own quantum computer. now you can have it in the cloud
 
Numerical Integration
Numerical IntegrationNumerical Integration
Numerical Integration
 
Regression
RegressionRegression
Regression
 
System of Initial Value Problems
System of Initial Value ProblemsSystem of Initial Value Problems
System of Initial Value Problems
 
Creating a Sticky message
Creating a Sticky messageCreating a Sticky message
Creating a Sticky message
 
50 Shades Of Fail Geneva
50 Shades Of Fail Geneva50 Shades Of Fail Geneva
50 Shades Of Fail Geneva
 
Servi sMART - Servi.ca - Smart Market Platform for Microservices
Servi sMART - Servi.ca - Smart Market Platform for MicroservicesServi sMART - Servi.ca - Smart Market Platform for Microservices
Servi sMART - Servi.ca - Smart Market Platform for Microservices
 
Interpolation Methods
Interpolation MethodsInterpolation Methods
Interpolation Methods
 
Rocket_Problem_Solving in engineering.ppt
Rocket_Problem_Solving in engineering.pptRocket_Problem_Solving in engineering.ppt
Rocket_Problem_Solving in engineering.ppt
 
Mt s8 wbt_test_designtechniques
Mt s8 wbt_test_designtechniquesMt s8 wbt_test_designtechniques
Mt s8 wbt_test_designtechniques
 
Adopting Data Science and Machine Learning in the financial enterprise
Adopting Data Science and Machine Learning in the financial enterpriseAdopting Data Science and Machine Learning in the financial enterprise
Adopting Data Science and Machine Learning in the financial enterprise
 
00 introduction
00 introduction00 introduction
00 introduction
 
Teaching Constraint Programming, Patrick Prosser
Teaching Constraint Programming,  Patrick ProsserTeaching Constraint Programming,  Patrick Prosser
Teaching Constraint Programming, Patrick Prosser
 
Rob Bain - Toll Road Forecasting (abridged)
Rob Bain - Toll Road Forecasting (abridged)Rob Bain - Toll Road Forecasting (abridged)
Rob Bain - Toll Road Forecasting (abridged)
 
AITPM Toll Road Forecasting
AITPM Toll Road ForecastingAITPM Toll Road Forecasting
AITPM Toll Road Forecasting
 
Simulation technology, speed up your iterative process (by Jan Buytaert)
Simulation technology, speed up your iterative process (by Jan Buytaert)Simulation technology, speed up your iterative process (by Jan Buytaert)
Simulation technology, speed up your iterative process (by Jan Buytaert)
 
Deep Dive into Software Estimation - Texavi Tech Bootcamp on How to be a good...
Deep Dive into Software Estimation - Texavi Tech Bootcamp on How to be a good...Deep Dive into Software Estimation - Texavi Tech Bootcamp on How to be a good...
Deep Dive into Software Estimation - Texavi Tech Bootcamp on How to be a good...
 
No, you don't need to learn python
No, you don't need to learn pythonNo, you don't need to learn python
No, you don't need to learn python
 
Lecture 1 introduction to or
Lecture 1   introduction to orLecture 1   introduction to or
Lecture 1 introduction to or
 

More from Mohammad Tawfik

More from Mohammad Tawfik (20)

Supply Chain Management for Engineers - INDE073
Supply Chain Management for Engineers - INDE073Supply Chain Management for Engineers - INDE073
Supply Chain Management for Engineers - INDE073
 
Supply Chain Management 01 - Introduction
Supply Chain Management 01 - IntroductionSupply Chain Management 01 - Introduction
Supply Chain Management 01 - Introduction
 
Supply Chain Management 02 - Logistics
Supply Chain Management 02 - LogisticsSupply Chain Management 02 - Logistics
Supply Chain Management 02 - Logistics
 
Supply Chain Management 03 - Inventory Management
Supply Chain Management 03 - Inventory ManagementSupply Chain Management 03 - Inventory Management
Supply Chain Management 03 - Inventory Management
 
Creative problem solving and decision making
Creative problem solving and decision makingCreative problem solving and decision making
Creative problem solving and decision making
 
Digital content for teaching introduction
Digital content for teaching introductionDigital content for teaching introduction
Digital content for teaching introduction
 
Crisis Management Basics
Crisis Management BasicsCrisis Management Basics
Crisis Management Basics
 
DISC Personality Model
DISC Personality ModelDISC Personality Model
DISC Personality Model
 
Training of Trainers
Training of TrainersTraining of Trainers
Training of Trainers
 
Effective Delegation Skills
Effective Delegation SkillsEffective Delegation Skills
Effective Delegation Skills
 
Train The Trainer
Train The TrainerTrain The Trainer
Train The Trainer
 
Business Management - Marketing
Business Management - MarketingBusiness Management - Marketing
Business Management - Marketing
 
Stress Management
Stress ManagementStress Management
Stress Management
 
Project Management (CAPM) - Integration
Project Management (CAPM) - IntegrationProject Management (CAPM) - Integration
Project Management (CAPM) - Integration
 
Project Management (CAPM) - The Framework
Project Management (CAPM) - The FrameworkProject Management (CAPM) - The Framework
Project Management (CAPM) - The Framework
 
Project Management (CAPM) - Introduction
Project Management (CAPM) - IntroductionProject Management (CAPM) - Introduction
Project Management (CAPM) - Introduction
 
The Creative Individual
The Creative IndividualThe Creative Individual
The Creative Individual
 
Introduction to Wind Energy
Introduction to Wind EnergyIntroduction to Wind Energy
Introduction to Wind Energy
 
Finite Element for Trusses in 2-D
Finite Element for Trusses in 2-DFinite Element for Trusses in 2-D
Finite Element for Trusses in 2-D
 
Future of Drones ITW'16
Future of Drones ITW'16Future of Drones ITW'16
Future of Drones ITW'16
 

Recently uploaded

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Recently uploaded (20)

ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 

Introduction to Numerical Analysis

  • 1. Numerical Analysis - Introduction Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Numerical Analysis An Introduction
  • 2. Numerical Analysis - Introduction Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com References • Steven Chapra and Raymond Canale, "Numerical Methods for Engineers," 5th editions, ISBN 0-07-123140-4
  • 3. Numerical Analysis - Introduction Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Numerical Methods
  • 4. Numerical Analysis - Introduction Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Why Numerical? • Ignorance • Readily Available Packages • Need to Develop New Techniques • Good use of your computer! • Re-Understand Mathematics
  • 5. Numerical Analysis - Introduction Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Mathematical Modeling & Engineering Solutions
  • 6. Numerical Analysis - Introduction Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Mathematical Models
  • 7. Numerical Analysis - Introduction Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Example Problem dt dv mmaF  cvmgFFF UD  cvmgvm dt dv m   m cvmg v      mct e c mg tv / 1  
  • 8. Numerical Analysis - Introduction Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Solution
  • 9. Numerical Analysis - Introduction Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Approximate Solution 12 12 tt vv t v dt dv       m cvmg tt vv     12 12 m cvmg tt vv 1 12 12    
  • 10. Numerical Analysis - Introduction Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Approximate Solution   m cvmg ttvv 1 1212  
  • 11. Numerical Analysis - Introduction Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Approximation and Round-Off Errors
  • 12. Numerical Analysis - Introduction Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Errors! • Round-off errors are due to the fact that the computers present numbers in as a finite number of bits and bytes! • Truncation Errors are errors that emerge from the approximation of the mathematical model • Model errors are due to the fact that the mathematical model usually is an approximation of the physical reality!
  • 13. Numerical Analysis - Introduction Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Significant Figures
  • 14. Numerical Analysis - Introduction Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Accuracy and Precision • Accuracy how close your solution is • Precision is how close your repetition of the solution are!
  • 15. Numerical Analysis - Introduction Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Error Definition • True Error • True Relative Error • Approximate Error ionApproximatvalueTrueEt  valueTrue Et t  ionApproximatCurrent ApproxPastionApproximatCurrent a . 
  • 16. Numerical Analysis - Introduction Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Round-off Errors 210 10*210*510*3253  21 10*510*225.0 4 1   ...10*310*310*310*3 ...33333.0 3 1 4321   
  • 17. Numerical Analysis - Introduction Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Computer Presentation of Numbers
  • 18. Numerical Analysis - Introduction Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com When numbers are too small!
  • 19. Numerical Analysis - Introduction Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Truncation Errors
  • 20. Numerical Analysis - Introduction Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Taylor’s Expansion           ... !2 ''' 2 0 0000    xx xfxxxfxfxf          3 2 000 !2 ''' hO h xfhxfxfxf 
  • 21. Numerical Analysis - Introduction Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Truncation Error!
  • 22. Numerical Analysis - Introduction Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Conclusion • We need the numerical methods to solve problems that do not have a solution or have a complex mathematical solution • Errors have different sources: Truncation, round off, and model errors • Error is evaluated using approximate solutions