CSE 3802 / ECE 3431 Numerical Methods in Scientific Computation

Slides:



Advertisements
Similar presentations
Today’s class Romberg integration Gauss quadrature Numerical Methods
Advertisements

Numerical Methods for Engineers MECH 300 Hong Kong University of Science and Technology.
ECIV 301 Programming & Graphics Numerical Methods for Engineers.
Chapter 1 Introduction The solutions of engineering problems can be obtained using analytical methods or numerical methods. Analytical differentiation.
CVEN Computer Applications in Engineering and Construction Dr. Jun Zhang.
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
Numerical Methods for Engineering MECN 3500
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Chapter 11.
Slide 1 Instructor: Dr. Hong Jiang Teaching Assistant: Mr. Sheng Zhang Department of Computer Science & Engineering University of Nebraska-Lincoln Classroom:
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.
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 10. Ordinary differential equations. Initial value problems.
Module 1 Introduction to Ordinary Differential Equations Mr Peter Bier.
Applications of Calculus. The logarithmic spiral of the Nautilus shell is a classical image used to depict the growth and change related to calculus.
Numerical Methods Intro to Numerical Methods &
Math-254 Numerical Methods.
Villanova University Dept. of Civil & Environmental Engineering CEE 3702 Numerical Analysis 1 CEE 3702 Numerical Analysis Fall 2000 Dr. David W. Dinehart.
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Solving ODE.
Welcome to ME 130 Applied Engineering Analysis Class
College of Engineering CIVE 1150 Fall 2008 Engineering Mechanics: Statics CIVE-1150 Sec. 1 – 6 & 91 Omar Abu-Yasein, PhD., P.E., SECB
Today’s class Numerical Integration Newton-Cotes Numerical Methods
MMJ 1113 Computational Methods for Engineers Mohsin Mohd Sies Fakulti Kejuruteraan Mekanikal, Universiti Teknologi Malaysia.
EE 3561_Unit_1(c)Al-Dhaifallah EE 3561 : - Computational Methods in Electrical Engineering Unit 1: Introduction to Computational Methods and Taylor.
Curve Fitting and Interpolation: Lecture (I)
Dr. Hatim Dirar Department of Physics, College of Science Imam Mohamad Ibn Saud Islamic University.
Introduction to Numerical Analysis I MATH/CMPSC 455 Fall 2011 Instructor: Xiaozhe Hu (Shawn)
CSE 541 Rick Parent ELEMENTARY NUMERICAL METHODS Winter 2012.
Review Taylor Series and Error Analysis Roots of Equations
MTH108 Business Math I Lecture 9.
Today’s class Spline Interpolation Quadratic Spline Cubic Spline Fourier Approximation Numerical Methods Lecture 21 Prof. Jinbo Bi CSE, UConn 1.
Math 3120 Differential Equations with Boundary Value Problems
© 2014 Pearson Education, Inc. This work is protected by United States copyright laws and is provided solely for the use of instructors in teaching their.
Mathematical Modeling and Engineering Problem Solving
Applied Numerical Method for Engineers and Scientists
Boyce/DiPrima 9 th ed, Ch 1.1: Basic Mathematical Models; Direction Fields Elementary Differential Equations and Boundary Value Problems, 9 th edition,
Chapter 3 Roots of Equations. Objectives Understanding what roots problems are and where they occur in engineering and science Knowing how to determine.
Numerical Methods for Engineering MECN 3500
Lecture Notes in Differential Equations (Math 210)
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Introduction Course Outline.
Today’s class Numerical Differentiation Finite Difference Methods Numerical Methods Lecture 14 Prof. Jinbo Bi CSE, UConn 1.
MECN 3500 Inter - Bayamon Lecture Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Today’s class Roots of equation Finish up incremental search
MECN 3500 Inter - Bayamon Lecture 6 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Today’s class Numerical differentiation Roots of equation Bracketing methods Numerical Methods, Lecture 4 1 Prof. Jinbo Bi CSE, UConn.
ES 240: Scientific and Engineering Computation. Chapter 1 Chapter 1: Mathematical Modeling, Numerical Methods and Problem Solving Uchechukwu Ofoegbu Temple.
Part 1 Chapter 1 Mathematical Modeling, Numerical Methods, and Problem Solving PowerPoints organized by Dr. Michael R. Gustafson II, Duke University and.
Exam 1 Oct 3, closed book Place ITE 119, Time:12:30-1:45pm
Curve Fitting Introduction Least-Squares Regression Linear Regression Polynomial Regression Multiple Linear Regression Today’s class Numerical Methods.
ES 84 Numerical Methods for Engineers, Mindanao State University- Iligan Institute of Technology Prof. Gevelyn B. Itao.
Today’s class Ordinary Differential Equations Runge-Kutta Methods
MTH108 Business Math I Lecture 8. Chapter 4 Mathematical Functions.
Ch 1.1: Basic Mathematical Models; Direction Fields Differential equations are equations containing derivatives. The following are examples of physical.
ECE 576 – Power System Dynamics and Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
Exam 1 Oct 3, closed book Place ITE 119, Time:12:30-1:45pm One double-sided cheat sheet (8.5in x 11in) allowed Bring your calculator to the exam Chapters.
Part 1 Chapter 1 Mathematical Modeling, Numerical Methods, and Problem Solving PowerPoints organized by Dr. Michael R. Gustafson II, Duke University and.
Created by the Faculty of the Mechanical Engineering Department in the Kate Gleason College of Engineering at RIT MECE 102: Engineering Mechanics Lab A.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1-1 Chapter 1.
Welcome to Computers in Civil Engineering 53:081 Spring 2003
Chapter 1.
CSE 4705 Artificial Intelligence
Final Examination (F2017) ME 130 Applied Engineering Analysis
Math-254 Numerical Methods.
MATH 2140 Numerical Methods
Prof. Rizopoulos Course Introduction
Today’s class Multiple Variable Linear Regression
Mathematical Modeling, Numerical Methods, and Problem Solving
Final Examination (S2018) ME 130 Applied Engineering Analysis-01
Mathematical Model.
Presentation transcript:

CSE 3802 / ECE 3431 Numerical Methods in Scientific Computation Jinbo Bi Department of Computer Science & Engineering http://www.engr.uconn.edu/~jinbo

The Instructor Ph.D in Mathematics Previous professional experience: Siemens Medical Solutions Inc. Department of Defense, Bioanalysis Research interests: biomedical informatics, machine learning, data mining, optimization, mathematical programming, Apply machine learning techniques in biological data, medical image analysis, patient health records analysis Homepage is at http://www.engr.uconn.edu/~jinbo

Class Meetings Lectures are Tuesday and Thursday, 12:30 –1:45 pm No specific lab time, but significant computer time expected. Computers are available in ITEB C25 and C27. Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Class Assignments Homework will be assigned once every week or two and due usually the following week. You may collaborate on the homework, but your submissions should be your own work. Grading: Homework 30% Exam 1 and 2 40% Final Exam 30% Numerical Methods Lecture 1 Prof. Jinbo Bi CSE, UConn

Mathematical Background MATH 2110Q Multivariate Calculus Taylor series MATH 2410Q Introduction to Differential Equations Integration MATH 2210 Linear Algebra Equation systems Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Computer Background Languages to be used: Matlab, C, C++ CSE 1100/1010 programming experience Any OS is acceptable Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Syllabus Go over the course syllabus Course website http://www.engr.uconn.edu/~jinbo/Fall2013_Numerical_Methods.htm Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Today’s Class: Introduction to numerical methods Basic content of course and class expectations Mathematical modeling Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Introduction What are numerical methods? “… techniques by which mathematical problems are formulated so that they can be solved with arithmetic operations.” (Chopra and Canale) What type of mathematical problems? Roots, Integration, Optimization, Curve Fitting, Differential Equations, and Linear Systems Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Introduction How do you solve these difficult mathematical problems? Example: What are the roots of x2-7x+12? Three general non-computer methods Analytical Graphical Manual Let us use some very simple examples to demonstrate the idea the concept. So what we mean numerical methods, numerical solutions. X2-7x+12, we are looking for the roots of this function. You could do three things, these three methods do not require computers. 1 so called analytical solutions 2, graphical way to find solutions 3, you manually calculate the solutions. Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Analytical Solutions This is what you learned in math class Gives exact solutions Example: Roots at 3 and 4 Not always possible for all problems and usually restricted to simple problems with few variables or axes The real world is more complex than the simple problems in math class Analycial solutions are the stuff you learn from your math class, algebra or calculus, differential equations. For the given function, you could factorize the function into the product of these two terms. Based on the examination of the two terms, you will know if you set x=3 or 4, this function will reach value of 0. So you know the roots are 3 and 4. Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Graphical Solution Numerical Methods, Prof. Jinbo Bi CSE, UConn The graphical solution give you a lot intuitive idea about the problem you are trying to solve. You specify some x values, then you calculate the function values of these x, then you draw them as points in this figure, and connect these points Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Manual Solution Using pen and paper, slide rulers, etc. to solve an engineering problem Very time consuming Error-prone Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Numerical Methods What are numerical methods? “… techniques by which mathematical problems are formulated so that they can be solved with arithmetic operations.” (Chopra and Canale) Arithmetic operations map into computer arithmetic instructions Numerical methods allow us to formulate mathematical problems so they can be solved numerically (e.g., by computer) Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Course Overview What is this course about? Using numerical methods to solve mathematical problems that arise in engineering Most of the focus will be on engineering problems Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Basic Materials Introduction Mathematical Problems Programming Mathematical Modeling Error Analysis Mathematical Problems Roots, Linear Systems, Integration, Optimization, Curve Fitting, Differential Equations Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Mathematical Modeling A mathematical model is the formulation of a physical or engineering system in mathematical terms. Empirical Theoretical Mahtemtaicla modeling involves a deep understanding of the engineering problem that you need to solve. You want to fix a car, no matter what fantastic tools you may have, if you don’t understand how the car works, you can not do it. Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Mathematical Modeling A mathematical model is represented as a functional relationship of the form Dependent independent forcing Variable = f variables, parameters, functions Dependent variable: Characteristic that usually reflects the state of the system Independent variables: Dimensions such as time and space along which the systems behavior is being determined Parameters: reflect the system’s properties or composition Forcing functions: external influences acting upon the system In general, a mathematcial model is represented as a funcational relationship of the following form The dependent variable usually reflects the state or a chracteristics of the system; Independenct variables are usually dimensions such as time, space, available resources, the kind of variables on which the system’s state can be determined. Parameters are reflective of the system’s properties, sometimes come from a theory. Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Mathematical Modeling A simple example: In an electrical circuit, I = V/R; The current, I, is dependent on resistance parameter, R, and forcing voltage function, V. Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Example 1 Newton’s 2nd low of Motion states that “the time rate change of momentum of a body is equal to the resulting force acting on it.” The model is formulated as F = m a F=net force acting on the body (N) m=mass of the object (kg) a=its acceleration (m/s2) Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Example 1 What is the velocity of a falling object? First step is to model the system Newton’s second law Total force is gravity and air resistance The gravity is the downward force which is paramterized by gravitational constant, which is approximately 9.8 m/s2 Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Example 1 First order differential equation Analytical solution Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Example 1 m=68.1kg, c=12.5 kg/s Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Example 1 What if we can’t find an analytical solution? How do you get a computer to solve the differential equation? Use numerical methods Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Euler’s Method Use the finite divided difference approximation of the derivative The approximation becomes exact as Δt → 0 Now, we want to re-formulate the problem so it can approximately solved using numerical steps, or arithmetic operations. Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Euler’s Method Using Euler’s method, we can approximate the velocity curve Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Euler’s Method …… Assume Δt=2 Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Euler’s method Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Euler’s Method Avoids solving differential equation Not an exact formula of the function Gets more exact as Δt→0 How do we choose Δt? Dependent on the tolerance of error. How do we estimate the error? Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Overview of the problems Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Overview of the problems Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn

Next class Programming and Software Read Chapters 1 & 2 Numerical Methods, Lecture 1 Prof. Jinbo Bi CSE, UConn