ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 2 Mathematical Modeling and Engineering Problem Solving
Objectives Introduce Mathematical Modeling Analytic vs. Numerical Solution
Problem Solving Process Understanding of Physical Problem Observation and Experiment Repetition of empirical studies Fundamental Laws
Problem Solving Process Physical Problem Mathematical Model DataTheory Numeric or Graphic Results Implementation
Mathematical Model A formulation or equation that expresses the essential features of a physical system or process in mathematical terms Dependent Variable =f Independent Variables Forcing Functions Parameters
Mathematical Model Dependent Variable Reflects System Behavior Independent Variable Dimensions Space & Time Parameters System Properties & Composition Forcing Function External Influences acting on system
Mathematical Model Change = Increase - Decrease Change 0 : Transient Computation Change = 0 : Steady State Computation Expressed in terms of
Mathematical Model Fundamental Laws Conservation of Mass Conservation of Momentum Conservation of Energy
A Simple Model Dependent Variable Velocity (v) Independent Variable Time (t) Parameters Mass (m), Shape (s) Forcing Function Gravity, Air resistance FuFu FDFD
A Simple Model Fundamental Law Conservation of Momentum Force Balance (+) FDFD FiFi FuFu c=Drag Coefficient
A Simple Model FuFu FDFD FiFi
Describes system in Mathematical Terms Represents an Idealization and Simplification ignores negligible details focuses on essential features Yields Reproducible Results use for predictive purposes
Analytic vs Numerical Solution Analytic Solution
Analytic vs Numerical Solution m=68.1 kg c=12.5 kg/s g=9.8 m/s 2 t 0 t (s)v (m/s) Analytic Solution
Analytic vs Numerical Solution Transient Steady State Practical purposes
Analytic vs Numerical Solution Numerical Solutions Techniques by which mathematical problems are formulated so that they can be solved with arithmetic operations
Analytic vs Numerical Solution Start from Governing Equation Derivative = Slope
Analytic vs Numerical Solution vivi titi True Slope
Analytic vs Numerical Solution Use Finite Difference to Approximate Derivative vivi titi t i+1 v i+1 True Slope Approximate Slope
Analytic vs Numerical Solution
Numerical Solution Slope New Value Old ValueStep Size Euler Method
Analytic vs Numerical Solution Procedure 1. Select a sequence of time nodes 2. Define initial conditions (e.g. v(t=0) ) 3. For each time node evaluate
Analytic vs Numerical Solution t (s)v (m/s)
Homework Problems 1.6, 1.8 Also Resolve parachutist problem using the numerical solution developed in class with: (a) Time intervals 1 (s), (b) Time intervals 0.5 (s), for the first ten sec. of free fall. Plot the solutions and discuss the error as compared to the analytic solution DUE DATE: Wednesday September 3.