INTRODUCTION TO SCIENTIFIC COMPUTING

Slides:



Advertisements
Similar presentations
2009 Spring Errors & Source of Errors SpringBIL108E Errors in Computing Several causes for malfunction in computer systems. –Hardware fails –Critical.
Advertisements

Floating Point (FLP) Representation A Floating Point value: f = m*r**e Where: m – mantissa or fractional r – base or radix, usually r = 2 e - exponent.
Floating Point Numbers
ECIV 201 Computational Methods for Civil Engineers Richard P. Ray, Ph.D., P.E. Error Analysis.
Floating Point Numbers
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 3 Approximations and Errors.
CSE 378 Floating-point1 How to represent real numbers In decimal scientific notation –sign –fraction –base (i.e., 10) to some power Most of the time, usual.
1 Error Analysis Part 1 The Basics. 2 Key Concepts Analytical vs. numerical Methods Representation of floating-point numbers Concept of significant digits.
Computer Organization CS345 David Monismith Based upon notes by Dr. Bill Siever and notes from the Patterson and Hennessy Text.
Chapter3 Fixed Point Representation Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 31.
Objectives: * 1. Define significant digits. * 2. Explain how to determine which digits in measurement are significant. * 3. Convert measurements in to.
Information Representation (Level ISA3) Floating point numbers.
Differentiation A Slippery Slope - Jerks You Around - Accelerates Your Mind.
NCR Register
Lecture 2 Number Representation and accuracy
CISE301_Topic11 CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4:
Data Representation in Computer Systems
Making Measurements. Precision vs Accuracy  Accuracy : A measure of how close a measurement comes to the actual, accepted or true value of whatever is.
Significant Digits Rules: 1.All non-zero digits are significant SD’s 4 SD’s 1 SD 2 SD’s.
The Teacher CP4 Binary and all that… CP4 Revision.
CSC 221 Computer Organization and Assembly Language
Floating Point Arithmetic
MECN 3500 Inter - Bayamon Lecture 3 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
The Teacher CP4 Binary and all that… CP4 Revision.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 3.
Accuracy vs. Precision Measurements need to accurate & precise. Accurate -(correct) the measurement is close to the true value. Precise –(reproducible)
Nonlinear Equations Your nonlinearity confuses me
Errors in Numerical Methods
NCR Register INTRODUCTION, APPROXIMATION AND ERRORS.
Nonlinear Equations Your nonlinearity confuses me
Objectives: * 1. Define significant digits. * 2. Explain how to determine which digits in measurement are significant. * 3. Convert measurements in to.
Chapter 1 Scientific Computing 1.Computer Arithmetic (1.3) 2.Approximation in Scientific Computing (1.2) January 7.
ESO 208A/ESO 218 LECTURE 2 JULY 31, ERRORS MODELING OUTPUTS QUANTIFICATION TRUE VALUE APPROXIMATE VALUE.
 Scientific notation is simply a method for expressing, and working with, very large or very small numbers. It is a short hand method for writing numbers,
Number Systems Decimal Can you write 12,045 in expanded form? Base? Allowable digits for each place?
Cosc 2150: Computer Organization Chapter 9, Part 3 Floating point numbers.
Introduction to Numerical Analysis I MATH/CMPSC 455 Loss of Significance.
Floating Point (FLP) Representation
Introduction to Numerical Analysis I
Floating Point Representations
Objectives Today: P4 Data Types – Floating Points P4 Variable Quiz P3 Iteration and Selection Practical Are you logged on? Then come around the table Unit.
Dr. Clincy Professor of CS
Recap Add these numbers together in binary
New head garb has been ordered
Data Structures Mohammed Thajeel To the second year students
Introduction to Scientific Computing
Errors in Numerical Methods
INTRODUCTION TO SCIENTIFIC COMPUTING
SCIENTIFIC NOTATION.
Floating Point Representation
Errors in Numerical Methods
Computational Methods Autar Kaw University of South Florida
How to represent real numbers
How to represent real numbers
Dr. Clincy Professor of CS
Computational Methods EML3041
Approximations and Round-Off Errors Chapter 3
Nonlinear Equations Your nonlinearity confuses me
Chapter 3 DataStorage Foundations of Computer Science ã Cengage Learning.
Nonlinear Equations Your nonlinearity confuses me
Mechanical Engineering Majors Authors: Autar Kaw, Luke Snyder
Sources of Error Major: All Engineering Majors
Data Binary Arithmetic.
Chapter 1 / Error in Numerical Method
Chapter3 Fixed Point Representation
Computational Methods EML3041
CISE-301: Numerical Methods Topic 1: Introduction to Numerical Methods and Taylor Series Lectures 1-4: KFUPM CISE301_Topic1.
Presentation transcript:

INTRODUCTION TO SCIENTIFIC COMPUTING http://nm.mathforcollege.com

This is what you have been saying about your TI-30Xa I don't care what people say The rush is worth the price I pay I get so high when you're with me But crash and crave you when you are away Give me back now my TI89 Before I start to drink and whine TI30Xa calculators make me cry Incarnation of Jason will you ever die TI30Xa – you make me forget the high maintenance TI89. I never thought I will fall in love again! http://nm.mathforcollege.com

Given the f (x) vs x curve, and the magnitude of the areas as shown, the value of y x a 5 7 2 b c -2 2 12 Cannot be determined http://nm.mathforcollege.com

A steel cylindrical shaft initially at room temperature is immersed in a dry-ice/alcohol bath. A layman estimates the reduction in diameter by using The layman uses value of the thermal expansion coefficient at -108oF in the above formula. Seeing the graph on your right, the magnitude of contraction you would calculate instead will be ______________than the layman’s estimate. Less More Same http://nm.mathforcollege.com

The number of significant digits in 2.30500 is 4 5 6 http://nm.mathforcollege.com

The absolute relative approximate error in an iterative process at the end of the tenth iteration is 0.007%. The least number of significant digits correct in the answer is 2 3 4 5 http://nm.mathforcollege.com

The number 6.749832 with 3 significant digits with chopping is 6.75 6.749 6.750 http://nm.mathforcollege.com

The binary representation of (0.3)10 is (0.01001……...)2 (0.10100……...)2 (0.01010……...)2 (0.01100……...)2 http://nm.mathforcollege.com

In a five bit fixed representation, (0. 1)10 is represented as (0 In a five bit fixed representation, (0.1)10 is represented as (0.00011)2. The true error in this representation most nearly is 0.00625 0.053125 0.09375 9.5×10-8 http://nm.mathforcollege.com

add 7 subtract 7 add 15 subtract 15 Five bits are used for the biased exponent. To convert a biased exponent to an unbiased exponent, you would add 7 subtract 7 add 15 subtract 15 http://nm.mathforcollege.com

The largest positive number in a 7 bit word where 1st bit is used for the sign of number 2nd bit is used for the sign of exponent next 3 bits are used for the magnitude of the mantissa last 2 bits are used for the magnitude of the exponent is _________ 1.875 4 7 15 http://nm.mathforcollege.com