Propagation of error Ignoring higher order terms, the error in function, based on the uncertainty in its inputs, can be estimated by where  is the symbol.

Slides:



Advertisements
Similar presentations
Roundoff and truncation errors
Advertisements

Newton’s Method finds Zeros Efficiently finds Zeros of an equation: –Solves f(x)=0 Why do we care?
Roots: Bracketing Methods
Roots of Equations Our first real numerical method – Root finding
Civil Engineering Majors Author(s): Autar Kaw, Jai Paul
Example: Uniform Flow at Known Q and y
Review of Flood Routing
End of Chapter 4 Movement of a Flood Wave and begin Chapter 7 Open Channel Flow, Manning’s Eqn. Overland Flow.
1 There are various techniques for estimating discharge for small watersheds. If you know the maximum discharge that you need to convey, how do you determine.
TIDAL INLETS Natural of man-made cut through barrier island Allows for bay flushing Provides access for maritime traffic Normally migrate unless restrained.
FUNCTIONS AND MODELS Chapter 1. Preparation for calculus :  The basic ideas concerning functions  Their graphs  Ways of transforming and combining.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 7 Roots of Equations Bracketing Methods.
PHYS2020 NUMERICAL ALGORITHM NOTES ROOTS OF EQUATIONS.
CE 230-Engineering Fluid Mechanics Lecture # Noncircular conduits Uniform flow in open channels.
Design of Beams Engineering Design vs. Analysis
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 6 Roots of Equations Bracketing Methods.
MECH 221 FLUID MECHANICS (Fall 06/07) Chapter 9: FLOWS IN PIPE
Pertemuan Open Channel 1. Bina Nusantara.
HEC-RAS US Army Corps of Engineers Hydrologic Engineering Center
Dr. Marco A. Arocha Aug,  “Roots” problems occur when some function f can be written in terms of one or more dependent variables x, where the.
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
Bracketing Methods Chapter 5 The Islamic University of Gaza
Hydrology and Water Resources RG744 Institute of Space Technology December 11, 2013.
We will now move on to study rating curves for natural channels
Linear Equations Section 2.4 Equation comes from the Latin aequus meaning “even” or “level”. An equation is a statement in which two algebraic expressions.
CH 7 - Open Channel Flow Brays Bayou Concrete Channel Uniform & Steady
Solving Non-Linear Equations (Root Finding)
STUDY OF THE ROUGHNESS CHARACTERISTICS OF PLANT SPECIES IN CALIFORNIA RIVERS By U.C.Davis J.Amorocho Hydraulics Laboratory.
Chapter 6 Finding the Roots of Equations
Lesson 9 Channel characteristics
10/21/ Bisection Method Major: All Engineering Majors Authors: Autar Kaw, Jai Paul
Part 2 Chapter 5 Roots: Bracketing Methods PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright © The McGraw-Hill.
Solving systems of equations with 2 variables
Channel Design Channel design based on use of Manning eq. to find normal depth Yo for a specified discharge. Using Manning eq. M = 1.49 imperial 1.00 metric.
Chapter 3 Roots of Equations. Objectives Understanding what roots problems are and where they occur in engineering and science Knowing how to determine.
Uniform Open Channel Flow
Numerical Methods for Engineering MECN 3500
STORMWATER MANAGEMENT Manning’s Equation for gravity flow in pipes & open channels.
Hydraulic Routing in Rivers Reference: HEC-RAS Hydraulic Reference Manual, Version 4.1, Chapters 1 and 2 Reading: HEC-RAS Manual pp. 2-1 to 2-12 Applied.
Newton’s Method, Root Finding with MATLAB and Excel
Case Study #1 Finding Roots of Equations ~ CE402 Numerical Methods for Engineers Dr. Fritz Fiedler ~ Andy Abrams David Crosby Zack Munstermann.
ME 142 Engineering Computation I Root Finding & Iterative Solutions.
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 5 Bracketing Methods.
Solving Non-Linear Equations (Root Finding)
Applications of Loops: The power of MATLAB Mathematics + Coding
Solution of Nonlinear Equations Topic: Bisection method
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Applied Numerical Methods With MATLAB ® for Engineers.
Today’s class Numerical differentiation Roots of equation Bracketing methods Numerical Methods, Lecture 4 1 Prof. Jinbo Bi CSE, UConn.
Basic Hydraulics: Channels Analysis and design – I
There are various techniques for estimating discharge for small watersheds. If you know the maximum discharge that you need to convey, how do you determine.
4 Numerical Methods Root Finding Secant Method Modified Secant
INTEGRALS We saw in Section 5.1 that a limit of the form arises when we compute an area. We also saw that it arises when we try to find the distance traveled.
5 INTEGRALS.
SOLVING NONLINEAR EQUATIONS. SECANT METHOD MATH-415 Numerical Analysis 1.
Friction Losses Flow through Conduits Incompressible Flow.
Regional to Engineering Scale HUC8 HUC12 Catchment Engineering Hydrology Engineering Hydraulics Personal – a flooded home.
CSE 330: Numerical Methods. What is true error? True error is the difference between the true value (also called the exact value) and the approximate.
CSE 330: Numerical Methods. Introduction The bisection and false position method require bracketing of the root by two guesses Such methods are called.
Lecture Notes Dr. Rakhmad Arief Siregar Universiti Malaysia Perlis
Bracketing Methods (Bisection Method)
Find: sc 0.7% 1.1% 1.5% 1.9% d b ft3 Q=210 s b=12 [ft] n=0.025
Discharge, stream flow & channel shape
Graphing Linear Equations
Find: V [ft/s] xL xR b b=5 [ft] xL=3 xR=3 ft3 s
SOLUTION OF NONLINEAR EQUATIONS
HEC-RAS US Army Corps of Engineers Hydrologic Engineering Center
Mechanics of Materials Engr Lecture 1
Assignment 1: due 1/16/19 Estimate all of the zero of x3-x2-2x+1 graphically. Write a MatLab code for Newton’s method. Use your code to refine the graphical.
Assignment 1: due 1/17/19 Estimate all of the zero of x3-x2-2x+1 graphically. Write a MatLab code for Newton’s method. Use your code to refine the graphical.
Presentation transcript:

Propagation of error Ignoring higher order terms, the error in function, based on the uncertainty in its inputs, can be estimated by where  is the symbol for uncertainty or error

Can be extended to as many variables as needed Useful for determining uncertainty of result based on measurement error

Example: required cross-sectional area for a beam Equation relating shear, load and area P=A f where P is load A is area f is shearing stress

Given: a beam that spans 28ft  1/12 ft Spacing between beams 9 ft Supporting live load 30 lb/ft 2  5 lb/ft 2 dead load 12.5 lb/ft 2  1 lb/ft 2 beam weight 22.5 lb/lin ft = 2.5 lb/ft 2 allowable horizontal shear f =230 psi total weight is 45 lb/ft 2  6 lb/ft 2

beam carries w = 45 lb/ft 2 * 9 ft = 405 lb/ft plus or minus 6 lb/ft 2 * 9 ft = 54 lb/ft load P is wL/2 (because we have two supports) maximum load is 3/2*load so for design A=3/4 * wL/ f

Using given numbers Now do propagation of error

Your first real numerical method - Root finding finding the value x where a function f(x)=0 You will encounter this process again and again

Example problem From water resources, Manning’s equation for open channel flow where Q is volumetric flow (m 3 /3) A is channel cross-sectional area R is hydraulic radius S is energy gradient n is Manning’s n

Hydaulic radius is defined as where P is the wetted perimeter So

For a rectangular channel h b Wetted area = bh Wetted perimeter = b+2h

Assume you are given the slope of the channel (roughly equivalent to the energy gradient), Manning’s n, the width of the channel, and the flow rate. Can you tell how deep the water runs? No, because this equation is not analytically solvable for h Can solve it graphically or numerically

Graphical technique basically consists of plot of h (or other unknown) vs known function of h. Where line crosses is root. Example: Given n, Q, S and b, plot lhs vs h and see when it is 0

Graphical method useful for getting an idea of what’s going on in a problem, but depends on eyeball. Consider a root finding method called Bisection

Bisection algorithm 1) Choose upper and lower bounds for x interval. The sign of f(x upper ) and f(x lower ) must be different. 2) Estimate root with 3) If f(x b ) has the same sign as f(x u ), then replace x u with x b If f(x b ) has the same sign as f(x l ), then replace x l with x b Repeat from 2) until convergence is reached.

Graphic example of how bisection works And some Matlab code to illustrate it