ES 240: Scientific and Engineering Computation. Chapter 1 Chapter 1: Mathematical Modeling, Numerical Methods and Problem Solving Uchechukwu Ofoegbu Temple.

Slides:



Advertisements
Similar presentations
CHAPTER 8 Momentum & Impulse.  Momentum is a product of mass and velocity  Momentum is a vector (magnitude and direction)  p = m v  Measured in kg.
Advertisements

Chapter 6: Roots: Open Methods
Chapter 4 Work and Energy Additional Concepts For Describing Motion.
The structure and evolution of stars
Chapter 3 Steady-State Conduction Multiple Dimensions
Chapter 9:Linear Momentum 8-4 Problem Solving Using Conservation of Mechanical Energy 8-5 The Law of Conservation of Energy 8-6 Energy conservation with.
Ch 1.1: Basic Mathematical Models; Direction Fields Differential equations are equations containing derivatives. Derivatives describe rates of change.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 4 Programming and Software EXCEL and MathCAD.
CVEN Computer Applications in Engineering and Construction Dr. Jun Zhang.
Engineering H191 - Drafting / CAD The Ohio State University Gateway Engineering Education Coalition Lab 4P. 1Autumn Quarter Transport Phenomena Lab 4.
Linear Momentum and Collisions
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 2 Mathematical Modeling and Engineering Problem Solving.
The Islamic University of Gaza Faculty of Engineering Numerical Analysis ECIV 3306 Introduction.
Numerical Solutions of Ordinary Differential Equations
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 11.
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 1 Mathematical Modeling.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Mathematical Modeling and Engineering Problem solving.
Physics Chapter 4: Forces and the Laws of Motion
Numerical Methods Intro to Numerical Methods &
1© Manhattan Press (H.K.) Ltd. Work Energy Energy 3.6 Work, energy and power Power Power.
M-files While commands can be entered directly to the command window, MATLAB also allows you to put commands in text files called M- files. M-files are.
MMJ 1113 Computational Methods for Engineers Mohsin Mohd Sies Fakulti Kejuruteraan Mekanikal, Universiti Teknologi Malaysia.
MA Dynamical Systems MODELING CHANGE. Introduction to Dynamical Systems.
Chapter 1 Computing Tools Analytic and Algorithmic Solutions Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
ES 240: Scientific and Engineering Computation. Chapter 4 Chapter 4: Errors Uchechukwu Ofoegbu Temple University.
Math 3120 Differential Equations with Boundary Value Problems
Mathematical Modeling and Engineering Problem Solving
1 CHAPTER 6 HEAT TRANSFER IN CHANNEL FLOW 6.1 Introduction (1) Laminar vs. turbulent flow transition Reynolds number is where  D tube diameter  u mean.
Chapter 6 Circular Motion and Other Applications of Newton’s Laws.
Scientific Computing Numerical Solution Of Ordinary Differential Equations - Euler’s Method.
CSE 3802 / ECE 3431 Numerical Methods in Scientific Computation
Ch 1.1: Basic Mathematical Models; Direction Fields Differential equations are equations containing derivatives. The following are examples of physical.
Boyce/DiPrima 9 th ed, Ch 1.1: Basic Mathematical Models; Direction Fields Elementary Differential Equations and Boundary Value Problems, 9 th edition,
 Extension of Circular Motion & Newton’s Laws Chapter 6 Mrs. Warren Kings High School.
Chapter 2 Kinematics in one Dimension June 4, 2016.
Scientific Computing General Least Squares. Polynomial Least Squares Polynomial Least Squares: We assume that the class of functions is the class of all.
Lecture Notes in Differential Equations (Math 210)
Systems of More Than One Particle into the frying pan, with subscripts 1 Multi-body Systems.
Part 1 Chapter 1 Mathematical Modeling, Numerical Methods, and Problem Solving PowerPoints organized by Dr. Michael R. Gustafson II, Duke University and.
LAB I1 Class Y Laboratory Measurements I1 Book(s) must be collected at VIA Lib Wednesday the between 4 and 6 pm..
Monday, October 5, 1998 Chapter 5: Springs Chapter 6: Linear Momentum Conservation of Momentum Impulse.
Copyright © 2010 Pearson Education, Inc. Lecture Outline Chapter 9 Physics, 4 th Edition James S. Walker.
Electric Field.
Work Readings: Chapter 11.
LINEAR EQUATIONS & THEIR GRAPHS CHAPTER 6. INTRODUCTION We will explore in more detail rates of change and look at how the slope of a line relates to.
Conservation of Energy
Chapter 18 Test Review. What is a reference point? The object that stays in place in relation to a moving object.
Ch 1.1: Basic Mathematical Models; Direction Fields Differential equations are equations containing derivatives. The following are examples of physical.
Part 1 Chapter 1 Mathematical Modeling, Numerical Methods, and Problem Solving PowerPoints organized by Dr. Michael R. Gustafson II, Duke University and.
Forces Chapter 6.1. What You Already Learned Velocity is the ratio of the change in position of an object over a period of time. Acceleration describes.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1-1 Chapter 1.
Chapter 6 Force and Motion II. Forces of Friction When an object is in motion on a surface or through a viscous medium, there will be a resistance to.
Basics of Physics Science Study of energy flow and energy transfer through living and non-living systems.
Formula Momentum (p) = Mass x velocity Unit is kgm/s.
Solving Engineering Problems
Chapter 1.
Conservation of energy
Ch 1.1: Basic Mathematical Models; Direction Fields
Solving Engineering Problems
Mathematical Modeling, Numerical Methods, and Problem Solving
Ch 1.1: Basic Mathematical Models; Direction Fields
Action and Reaction.
Ch 1.1: Basic Mathematical Models; Direction Fields
Reviewing Main Ideas Work
Motion in One Dimension
MOMENTUM (p) is defined as the product of the mass and velocity -is based on Newton’s 2nd Law F = m a F = m Δv t F t = m Δv IMPULSE MOMENTUM.
Key Areas covered Conservation of momentum in one dimension and in cases where the objects may move in opposite directions.
Mathematical Model.
Newton’s Laws of Motion
Presentation transcript:

ES 240: Scientific and Engineering Computation. Chapter 1 Chapter 1: Mathematical Modeling, Numerical Methods and Problem Solving Uchechukwu Ofoegbu Temple University

ES 240: Scientific and Engineering Computation. Chapter 1 Model Function Dependent variable - a characteristic that usually reflects the behavior or state of the system Independent variables - dimensions, such as time and space, along which the system’s behavior is being determined Parameters - constants reflective of the system’s properties or composition Forcing functions - external influences acting upon the system

ES 240: Scientific and Engineering Computation. Chapter 1 Model Function Example Assuming a bungee jumper is in mid-flight, an analytical model for the jumper’s velocity, accounting for drag, is Dependent variable - velocity v Independent variables - time t Parameters - mass m, drag coefficient c d Forcing function - gravitational acceleration g

ES 240: Scientific and Engineering Computation. Chapter 1 Model Example Let the mass of the jumper be 68.1 kg, and assuming a drag coefficient of 0.25 kg/m. We know that g = 9.81 Therefore: We can now easily compute the jumper’s velocity at different time periods

ES 240: Scientific and Engineering Computation. Chapter 1 Model Example Let’s fill in the table below by computing the velocity analytically Time (s)Velocity (m/s) ∞

ES 240: Scientific and Engineering Computation. Chapter 1 Model Results We can use a computer program to represent the model graphically: Let’s generate the graph below using Matlab

ES 240: Scientific and Engineering Computation. Chapter 1 Numerical Modeling Models can be represented by –Functions –differential equations - these can be solved either using analytical methods or numerical methods. Example: – the bungee jumper velocity equation from before is the analytical solution to the differential equation Net Force = Downward - Upward

ES 240: Scientific and Engineering Computation. Chapter 1 Numerical Methods To solve the problem using a numerical method, note that the time rate of change of velocity can be approximated as: Therefore: This can be summarized as: Finite Difference Method dv i /dt ∆t New Value = Old Value + Slope * Step Size Euler’sMethod

ES 240: Scientific and Engineering Computation. Chapter 1 Numerical Solution Let’s fill in the table below by computing the velocity numerically Time (s)Velocity (m/s) ∞

ES 240: Scientific and Engineering Computation. Chapter 1 Numerical Results Let’s generate the two graph below using Matlab

ES 240: Scientific and Engineering Computation. Chapter 1 Group exercise Compute the jumper’s velocity for 0-12 seconds using a step size of 1 Tabulate your results, also include the absolute error for each case For t = 12, plot of absolute error versus step size

ES 240: Scientific and Engineering Computation. Chapter 1 Solution – Step Size = 1 second Time (s)Numerical Velocity (m/s) Analytical Velocity (m/s) Absolute Error (%)

ES 240: Scientific and Engineering Computation. Chapter 1 Absolute Error Analysis Step SizeAbsolute Error (%)

ES 240: Scientific and Engineering Computation. Chapter 1 Bases for Numerical Models Conservation laws provide the foundation for many model functions. Change = increase – decrease Steady State: Change = 0; Different fields of engineering and science apply these laws to different paradigms within the field. Among these laws are: –Conservation of mass – chemical engineering –Conservation of momentum – civil and mechanical engr. –Conservation of charge – electrical engineering –Conservation of energy– electrical engineering

ES 240: Scientific and Engineering Computation. Chapter 1 Summary of Numerical Methods The book is divided into five categories of numerical methods:

ES 240: Scientific and Engineering Computation. Chapter 1Puzzle The longest repeated word WRITE A METHOD THAT TAKES A SIMPLE STRING AS INPUT, AND OUTPUTS ITS LONGEST REPEATED SUBSTRING. WHEN THERE ARE TWO OF EQUAL LENGTH, OUTPUT WHICHEVER IS FIRST LEXICOGRAPHICALLY. EXAMPLES abba should return ’a’ abracadabra should return ’abra’ Mississippi should return ’iss’