CS475 Parallel Programming

Similar documents
CS475 Parallel Programming

Chapter 5. Curve fitting

ENGI 4430 Numerical Integration Page 5-01

2006 Jamie Trahan, Autar Kaw, Kevin Martin University of South Florida United States of America

Lecture 12 APPROXIMATION OF FIRST ORDER DERIVATIVES

4 Round-Off and Truncation Errors

1. A real number x is represented approximately by , and we are told that the relative error is 0.1 %. What is x? Note: There are two answers.

Numerical Simulations of the Complex Modied Korteweg-de Vries Equation. Thiab R. Taha. The University of Georgia. Abstract

Beam Warming Second-Order Upwind Method

ECE606: Solid State Devices Lecture 13 Solutions of the Continuity Eqs. Analytical & Numerical

1 0, x? x x. 1 Root finding. 1.1 Introduction. Solve[x^2-1 0,x] {{x -1},{x 1}} Plot[x^2-1,{x,-2,2}] 3

Mathematics HL and Further mathematics HL Formula booklet

AN EULER-MC LAURIN FORMULA FOR INFINITE DIMENSIONAL SPACES

Supervised learning: Linear regression Logistic regression

Integral Equation Methods. Jacob White. Thanks to Deepak Ramaswamy, Michal Rewienski, Xin Wang and Karen Veroy

EVALUATION OF FUNCTIONAL INTEGRALS BY MEANS OF A SERIES AND THE METHOD OF BOREL TRANSFORM

CSE 5526: Introduction to Neural Networks Linear Regression

On Modified Interval Symmetric Single-Step Procedure ISS2-5D for the Simultaneous Inclusion of Polynomial Zeros

G S Power Flow Solution

. The set of these sums. be a partition of [ ab, ]. Consider the sum f( x) f( x 1)

Cubic Nonpolynomial Spline Approach to the Solution of a Second Order Two-Point Boundary Value Problem

L5 Polynomial / Spline Curves

Numerical Differentiation

On the Interval Zoro Symmetric Single Step. Procedure IZSS1-5D for the Simultaneous. Bounding of Real Polynomial Zeros

Mu Sequences/Series Solutions National Convention 2014

Evolution Operators and Boundary Conditions for Propagation and Reflection Methods

PGE 310: Formulation and Solution in Geosystems Engineering. Dr. Balhoff. Interpolation

IFYMB002 Mathematics Business Appendix C Formula Booklet

5 Short Proofs of Simplified Stirling s Approximation

INTERNATIONAL BACCALAUREATE ORGANIZATION GROUP 5 MATHEMATICS FORMULAE AND STATISTICAL TABLES

DIFFERENTIAL GEOMETRIC APPROACH TO HAMILTONIAN MECHANICS

Regression and the LMS Algorithm

BERNSTEIN COLLOCATION METHOD FOR SOLVING NONLINEAR DIFFERENTIAL EQUATIONS. Aysegul Akyuz Dascioglu and Nese Isler

End of Finite Volume Methods Cartesian grids. Solution of the Navier-Stokes Equations. REVIEW Lecture 17: Higher order (interpolation) schemes

1 Lyapunov Stability Theory

16 Homework lecture 16

UNIT 2 SOLUTION OF ALGEBRAIC AND TRANSCENDENTAL EQUATIONS

( ) 2 2. Multi-Layer Refraction Problem Rafael Espericueta, Bakersfield College, November, 2006

Data Processing Techniques

Support vector machines

Simple Linear Regression

Special Instructions / Useful Data

C-1: Aerodynamics of Airfoils 1 C-2: Aerodynamics of Airfoils 2 C-3: Panel Methods C-4: Thin Airfoil Theory

Introduction to Numerical Differentiation and Interpolation March 10, !=1 1!=1 2!=2 3!=6 4!=24 5!= 120

Ordinary Least Squares Regression. Simple Regression. Algebra and Assumptions.

PHYS Look over. examples 2, 3, 4, 6, 7, 8,9, 10 and 11. How To Make Physics Pay PHYS Look over. Examples: 1, 4, 5, 6, 7, 8, 9, 10,

MOLECULAR VIBRATIONS

Module 1 : The equation of continuity. Lecture 5: Conservation of Mass for each species. & Fick s Law

Given a table of data poins of an unknown or complicated function f : we want to find a (simpler) function p s.t. px (

A Conventional Approach for the Solution of the Fifth Order Boundary Value Problems Using Sixth Degree Spline Functions

MMJ 1113 FINITE ELEMENT METHOD Introduction to PART I

MA 524 Homework 6 Solutions

Initial-Value Problems for ODEs. numerical errors (round-off and truncation errors) Consider a perturbed system: dz dt

CS 2750 Machine Learning. Lecture 8. Linear regression. CS 2750 Machine Learning. Linear regression. is a linear combination of input components x

Analysis of Lagrange Interpolation Formula

Physics 114 Exam 2 Fall Name:

A Remark on the Uniform Convergence of Some Sequences of Functions

A FINITE DIFFERENCE SCHEME FOR A FLUID DYNAMIC TRAFFIC FLOW MODEL APPENDED WITH TWO-POINT BOUNDARY CONDITION

Assignment 7/MATH 247/Winter, 2010 Due: Friday, March 19. Powers of a square matrix

Newton s Power Flow algorithm

MA/CSSE 473 Day 27. Dynamic programming

Random Variate Generation ENM 307 SIMULATION. Anadolu Üniversitesi, Endüstri Mühendisliği Bölümü. Yrd. Doç. Dr. Gürkan ÖZTÜRK.

Homework Assignment Number Eight Solutions

CS5620 Intro to Computer Graphics

Numerical Analysis Formulae Booklet

Lecture 5: Interpolation. Polynomial interpolation Rational approximation

Continuous Random Variables: Conditioning, Expectation and Independence

QR Factorization and Singular Value Decomposition COS 323

Outline. Numerical Heat Transfer. Review All Black Surfaces. Review View Factor, F i j or F ij. Review Gray Diffuse Opaque II

Numerical Differentiation

ANALYSIS ON THE NATURE OF THE BASIC EQUATIONS IN SYNERGETIC INTER-REPRESENTATION NETWORK

Packing of graphs with small product of sizes

Tu Nonlinear partial Functional Derivative and Nonlinear LS Seismic Inversion

Application of Generating Functions to the Theory of Success Runs

ECE 595, Section 10 Numerical Simulations Lecture 19: FEM for Electronic Transport. Prof. Peter Bermel February 22, 2013

Objectives of Multiple Regression

Chapter 5 Properties of a Random Sample

A Series Illustrating Innovative Forms of the Organization & Exposition of Mathematics by Walter Gottschalk

å 1 13 Practice Final Examination Solutions - = CS109 Dec 5, 2018

Computational Geometry

Manipulator Dynamics. Amirkabir University of Technology Computer Engineering & Information Technology Department

Bayesian Inferences for Two Parameter Weibull Distribution Kipkoech W. Cheruiyot 1, Abel Ouko 2, Emily Kirimi 3

A Markov Chain Competition Model

A Collocation Method for Solving Abel s Integral Equations of First and Second Kinds

Generalized One-Step Third Derivative Implicit Hybrid Block Method for the Direct Solution of Second Order Ordinary Differential Equation

F. Inequalities. HKAL Pure Mathematics. 進佳數學團隊 Dr. Herbert Lam 林康榮博士. [Solution] Example Basic properties

LECTURE 8: Topics in Chaos Ricker Equation. Period doubling bifurcation. Period doubling cascade. A Quadratic Equation Ricker Equation 1.0. x x 4 0.

x y exp λ'. x exp λ 2. x exp 1.

On the General Solution of First-Kind Hypersingular Integral Equations

Lecture Notes Types of economic variables

Research Article A New Iterative Method for Common Fixed Points of a Finite Family of Nonexpansive Mappings

Chapter 3 Differentiation and Integration

Barycentric Interpolators for Continuous. Space & Time Reinforcement Learning. Robotics Institute, Carnegie Mellon University

Research Article Gauss-Lobatto Formulae and Extremal Problems

Midterm Exam 1, section 2 (Solution) Thursday, February hour, 15 minutes

Chapter 9 Jordan Block Matrices

Laboratory I.10 It All Adds Up

Lebesgue Measure of Generalized Cantor Set

Bezier curve and its application

A Class of Deformed Hyperbolic Secant Distributions Using Two Parametric Functions. S. A. El-Shehawy

Transcription:

CS475 Parallel Programmg Deretato ad Itegrato Wm Bohm Colorado State Uversty Ecept as otherwse oted, the cotet o ths presetato s lcesed uder the Creatve Commos Attrbuto.5 lcese. Pheomea Physcs: heat, low, space, tme Mathematcs: cotuous uctos, partal deretal equatos Computer scece: Dscrete smulato o physcal pheomea through Fte Derece Methods

Deretals Physcal pheomea lke the low o heat are modeled wth deretals: d Δ = d lm Δ Δ o A deretal descrbes rate o chage, e.g. velocty s the rate o chage o posto, v = d/d, ad accelerato s the rate o chage o velocty, a = dv/d, whch s the secod dervatve the dervatve o the dervatve o posto Partal Deretal Equatos Partal deretal equatos are deretal equatos hgher dmesos epressed a coordate system, e.g D: ad y descrbe the chage o u the ad y drecto.

Laplace Laplace descrbed physcal pheomea ad 3D, e.g. heat D Vy ΔVy V Δy Δ Vy V ΔV I X drecto: cell receves heat VΔy, loses heat VΔV Δy, hece ΔV Δy heat removed Smlarly, Y drecto: ΔVy Δ heat removed trck ΔVΔy = ΔV Δ ΔVyΔ = ΔVy Δy ΔΔy V ΔΔy ΔΔy Vy y ΔΔy Combed loss : V Vy y ΔΔy 3

More trcks V Vy Heat coservato law: = 0 y V = k Feyma: heat lows at a rate proportoal to the temperature u gradet Vy = k y These two combed: u u y = 0 heat Heat at boudary kow What s the heat sde? Dscretze t w c e s? u c = u,y, u = u,yh, u s = u,y-h, u e = uh,y, u w = u-h,y 4

Taylor seres: ucto appromato We ca epress a ucto terms o ts dervatves, The more dervatves the closer at least that was the wsdom utl chaos got dscovered Potcare. h = k =! Taylor appromato u e = uh,y = u c h h u u w = u-h,y = u c - h h u u e u w = u c u h u h u e u w u s u = 4u c u h y 5

Taylor Heat coservato u Taylor: u e u w u s u = 4u c h Heat coservato: u u y = 0 u h y thereore: u c = u u s u e u w / 4 Thermal equlbrum: temperature at,y s average o surroudg temperatures Solvg the heat equato grd: we could have a drect soluto equatos wth ukows Too Comple! teratve soluto: relaato Keep dog at u every pot utl equlbrum reached / c = u us ue uw 4 Jacob verso: pg pog wth two arrays Nce parallelsm, slow covergece Gauss-Sedel: oe array, use latest verso More comple data depedece, aster covergece 6

CS vew Nearest eghbor computato, checkerboard or block row parttog Echage o data alog borders Trck: overlappg areas see e.g. Qu Ch. 3 Re-computato Reduced commucato requecy Potetally more complcated commucato patter Itegrato Deretato: dg rate o chage dy y =, = d y = z w, dy dz dw = d d d y = z. w, dy dz dw = w z d d d y = u / v, dy du dv = v u / v d d d Itegrato: dg surace uder 7

Itegrato b a d = F b F a where Fʹ = b a b d = a Numercal tegrato Appromate ad derve smple ormula or tegral Lear: two pots, quadratc: three, etc. Two approaches: ope vs, closed: ope: pots do t clude a ad b closed: pots clude a ad b deret math Appromate a umber o tervals Applyg ay orm o above appromato methods 8

9 Trapezodal rule I ~ b-a.ab/ Itervals: 0, = 0 h, = 0 h,. X, h = b-a/ I ~ h 0 / - / = a b 0 = Better appromatos Ether: more pots crease or hgher order polyomals E.g. Smpsos rule uses quadratc appromato over 3 pots I = Itervals: I= 4 3 0 h 4 3,3,5..,4,6.. 0 a b = =

Iteratve / adaptve approach Iterate wth smaller ad smaller segmets utl I ~ I h =b-a/ Error: use relatve error h etc. = h / etc. ε = r preset appro preset prevous appro appro.00% 0.5*0 % : umber o sgcat dgts Recursve approach: adaptve quadrature traplet,rght = { retur rght-let*letrght/;} tol = 0.5*ep0,-; arealet,rght,est ={ md=letrght/; } a=traplet,md; a=trapmd,rght; ewest = aa; absewest-est/ewest<tol retur ewest; else retur arealet,md,a areamd,rght,a 0