Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)

Slides:



Advertisements
Similar presentations
EcoTherm Plus WGB-K 20 E 4,5 – 20 kW.
Advertisements

Números.
1 A B C
Trend for Precision Soil Testing % Zone or Grid Samples Tested compared to Total Samples.
Trend for Precision Soil Testing % Zone or Grid Samples Tested compared to Total Samples.
AGVISE Laboratories %Zone or Grid Samples – Northwood laboratory
Trend for Precision Soil Testing % Zone or Grid Samples Tested compared to Total Samples.
PDAs Accept Context-Free Languages
ALAK ROY. Assistant Professor Dept. of CSE NIT Agartala
1
EuroCondens SGB E.
Worksheets.
Slide 1Fig 26-CO, p.795. Slide 2Fig 26-1, p.796 Slide 3Fig 26-2, p.797.
Slide 1Fig 25-CO, p.762. Slide 2Fig 25-1, p.765 Slide 3Fig 25-2, p.765.
Sequential Logic Design
Copyright © 2013 Elsevier Inc. All rights reserved.
Addition and Subtraction Equations
David Burdett May 11, 2004 Package Binding for WS CDL.
Create an Application Title 1Y - Youth Chapter 5.
Add Governors Discretionary (1G) Grants Chapter 6.
CALENDAR.
CHAPTER 18 The Ankle and Lower Leg
Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)
The 5S numbers game..
突破信息检索壁垒 -SciFinder Scholar 介绍
A Fractional Order (Proportional and Derivative) Motion Controller Design for A Class of Second-order Systems Center for Self-Organizing Intelligent.
Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)
Break Time Remaining 10:00.
The basics for simulations
EE, NCKU Tien-Hao Chang (Darby Chang)
PP Test Review Sections 6-1 to 6-6
MM4A6c: Apply the law of sines and the law of cosines.
2013 Fox Park Adopt-A-Hydrant Fund Raising & Beautification Campaign Now is your chance to take part in an effort to beautify our neighborhood by painting.
Regression with Panel Data
Dynamic Access Control the file server, reimagined Presented by Mark on twitter 1 contents copyright 2013 Mark Minasi.
Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)
Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
Progressive Aerobic Cardiovascular Endurance Run
Biology 2 Plant Kingdom Identification Test Review.
MaK_Full ahead loaded 1 Alarm Page Directory (F11)
Facebook Pages 101: Your Organization’s Foothold on the Social Web A Volunteer Leader Webinar Sponsored by CACO December 1, 2010 Andrew Gossen, Senior.
When you see… Find the zeros You think….
2011 WINNISQUAM COMMUNITY SURVEY YOUTH RISK BEHAVIOR GRADES 9-12 STUDENTS=1021.
Before Between After.
2011 FRANKLIN COMMUNITY SURVEY YOUTH RISK BEHAVIOR GRADES 9-12 STUDENTS=332.
Subtraction: Adding UP
: 3 00.
Numeracy Resources for KS2
1 Non Deterministic Automata. 2 Alphabet = Nondeterministic Finite Accepter (NFA)
Static Equilibrium; Elasticity and Fracture
Converting a Fraction to %
Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)
Resistência dos Materiais, 5ª ed.
Clock will move after 1 minute
Lial/Hungerford/Holcomb/Mullins: Mathematics with Applications 11e Finite Mathematics with Applications 11e Copyright ©2015 Pearson Education, Inc. All.
Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)
Select a time to count down from the clock above
Copyright Tim Morris/St Stephen's School
1.step PMIT start + initial project data input Concept Concept.
WARNING This CD is protected by Copyright Laws. FOR HOME USE ONLY. Unauthorised copying, adaptation, rental, lending, distribution, extraction, charging.
A Data Warehouse Mining Tool Stephen Turner Chris Frala
1 Dr. Scott Schaefer Least Squares Curves, Rational Representations, Splines and Continuity.
1 Non Deterministic Automata. 2 Alphabet = Nondeterministic Finite Accepter (NFA)
Introduction Embedded Universal Tools and Online Features 2.
Schutzvermerk nach DIN 34 beachten 05/04/15 Seite 1 Training EPAM and CANopen Basic Solution: Password * * Level 1 Level 2 * Level 3 Password2 IP-Adr.
Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)
Presentation transcript:

Numerical Analysis 1 EE, NCKU Tien-Hao Chang (Darby Chang)

Summary 2 1 exam, 1project and some exercises

Target 3 Solve problems with numerical methods

In this slide Why numerical methods? –differences between human and computer –a very simple numerical method What is algorithm? –definition and components –three problems and three algorithms Convergence –compare rate of convergence 4

Why such methods? 5 Computer is stupid

x-2=0 6 Human says, x=2, easy!

{ x-2=0; } 7 Computer says, compilation error!

What is the difference? 8

9 Human is logical (thinking)

10 Can do inference

11 Computer is procedural (executing)

An example (((x+3)-2)+6)=0 –Human requires only the rules (in this case, arithmetic), –and can inference the steps for the solution 12

Computer (((x+3)-2)+6)=0 –Requires the exact procedure (steps) { x0=0–6; } { x1=x0+2; } { x=x1–3; } –These steps is numerical method 13

14 Does computer have any advantage?

15 It is fast

So, why numerical methods? Computer is stupid Computer is fast (and works hard) Sometimes, stupid methods can solve difficult problems 16

17

18

19

We know that 20

21 rubbish =.=

A systematic procedure 22

23 Bisection method

Bisection method 24

And very accurate 25 Actually, it is getting accurate after every trial

26 Computer works hard, so it could happen

Any Questions? 27

Algorithm 28 The heart of numerical analysis

Algorithm Definition –A precisely defined sequence of steps In this course –design; –implement; and –examine the performance 29

30 How to implement?

By hand 31 too painful (but you might need to)

With computer 32 in other words, do programming

Programming 33 Even scared!

34 Algorithm could be simple

An example from statistics 35

36

In action 37

38

It is also an algorithm 39 (a precisely defined sequence of steps)

Not 40 A difficult sequence of steps

Any Questions? 41

Another example 42 Definite integral using trapezoidal rule

43

44

45

In action 46

47

Error 48

49

Observations of the errors 50

Any Questions? 51

The third example 52

53

Stopping condition 54

In action 55

56

So far 57 a statistics problem, the integral problem, and the square root problem

Any Questions? 58

59 What is the differences among them? (hint: the concepts of the output)

Type of methods The statistics algorithm –generates an exact (analytic) solution The integral algorithm –generates an approximate (numerical) solution –many numerical methods work in much the same way The square root algorithm –generates a sequence of approximations which converge to the solution –another typical class of numerical methods 60

Poll 61 Programming ability

Learnt 62 C/C++ (??/24) Java (??/24) Other (??/24)

Learnt 63 Data structure (??/24) Algorithm (??/24)

Language vs. algorithm Two languages –The same concept, different patterns –e.g., Chinese and English –, feel sleepy English vs. C –Increase i by 1 –{ ++i; } Language is/defines the pattern Algorithm is/describes the concept 64

Pseudo-code 65 Not any real programming language

A pseudo-code example 66

Can You 67 Read/write pseudo-code?

Convergence 68 When several numerical methods are available, choose the fastest one

69

Rate of convergence 70

71

72

73

74

Any Questions? 75

Which Is Better? 76

Using L'Hôpital's rule ( ) 77

78

Rate of Convergence 79 There is another definition for function

Another definition of rate of convergence for function 80

81

Rate of convergence 82

Order of Convergence A different measure of convergence speed than rate of convergence Examines the relationship between successive error values 83

Order of Convergence Iterative Method 84

85 Note the dramatic difference between 1 and 2, and the slight difference between 2 and 3

86