Intro
Intro
Wen-Chieh Lin
Assistant Professor Department of Computer Science and Institute of Multimedia Engineering
Introduction
Administration About
me Course overview
Administration
Course
web
http://caig.cs.nctu.edu.tw/course/NM
Office
hours
Wed 3:305:00 PM
EC707,
TA:
[email protected] EC
[email protected] EC229B,
ext. 56675
Textbook
Applied
References
Applied
Numerical Methods with MATLAB for Engineers and Scientists, (2005), by S. C. Chapra, McGraw-Hill. Scientific Computing: An Introductory Survey, 2nd Ed. (2002), by Michael Heath, McGrawHill Numerical Recipes in C++, 2nd Ed. (2002) by William H. Press, Saul A. Teukolsky, William T. Vetterling, Brian P. Flannery, Cambridge University Press
Numerical Methods Wen-Chieh Lin 5
algebra
Assignments
Written
(40%)
date Penalty of 10% of the value of the assignment/day 0 points for any cheating on assignments or test
About me
Ph.D.
Texture
10
11
12
Physics-based Animation
13
is not a course to teach you to code. This is a course to teach you computer algorithms for analyzing and solving science and engineering problems in numerical ways.
14
Numerical Analysis/Methods
What
is numerical analysis/method?
Analysis
and design of algorithms for numerically solving mathematical problems in science and engineering
Why
Simulation
15
16
Numerically Solving
1 .5 2.25
2
x 2
2
Too large Too small A bit closer Close Pretty close
1 .4 1.96
2
1.45 2.1025
2
1.425 2.030625
2
1.4125 1.99515625
2
Course Overview
Approximation
Solving
sets of equations
18
and curve
fitting
Find
intermediate values from a table of data Fit curves to data If the curve passes all data points, we call it interpolation.
Interpolation
19
of functions
Numerical
approximate
derivative values of a function approximate definite integral, even when no analytical form exists
Numerical
equations Optimization
Numerical Methods Wen-Chieh Lin 20
graphicsroot finding, interpolation, curve fitting, optimization, ODE solver, PDE solver, finite element method
Physics-based
for prototypingODE solver, PDE solver, optimization, numerical integration, interpolation, finite element method
Circuit
Generate motion based on physical laws (e.g., Newton s laws, Fluid dynamics) Simulated physical phenomena
gravity momentum collision friction fluid flow (liquid, gas, turbulence) flexibility, elasticity fracture
23
Simulated Flames
Duc Quang Nguyen, Ronald Fedkiw and Henrik Wann Jensen, SIGGRAPH 2003
Numerical Methods Wen-Chieh Lin
24
Simulated Water
Simulated Cloth
Questions?
28