数值计算方法
HTML and Java
Software
Higher-Order Programming
Maple - Mathematical Programming Language Mathematica - Mathematical Programming Language Java - Internet Programming Language Matlab - Matrix Laboratory
Linear Systems - Setting up multiple sets of
equations and solution techniques.
LU Decomposition - Technique to decompose
matrices
Eigen-analysis - finding the eigenvalues and
Topics
Matlab - Mathematical Program (Vectors) Computer Errors - Recognition and solutions Roots f(x) = 0
Linear Methods Nonlinear Methods
Topics
MatLab
Variable Types
Integers Real
Values (float and double) Complex Numbers (a + ib)
a - real value b - imaginary value (“i” is the square root of 1)
Transpose vector
x x 1 , x 2 , x 3 , x 4
x
T
x1 x2 x3 x 4
Matlab
Matrix is a combination of vectors and scalars.
Scalar and vectors are subsets of matrices. a 11 a 12 a 13 A a 21 a 22 a 23 a 31 a 32 a 33 Matlab uses matrix to do mathematical methods.
MatLab
The Matlab program can be run using command line, batch commands, and programs.
What is a program?
Program consist of three main components:
Input
Matlab
Data types
Numerical
Scalars Vectors Matrices
Logic Types Alpha/Numerical Types
Matlab
A scalar value is the simple number, a, 2,
3.14157…, A vector is a union of a
Matlab
Set of computer functions
Circular functions - sin(x),cos(x), tan(x), asin(x), acos(x), atan(x) Hyperbolic functions - sinh(x), cosh(x), tanh(x) Logarithmic functions - ln(x), log(x), exp(x) Logic functions - abs(x), real(x), imag(x)
Housekeeping
Attendance Attendance is expected and role will be taken Grading Participation: 10% Homework (10): 30% Term Project (7+1): 60% If through the term project. The term project is the exam. Not through the term project. Exam with test paper
Main Program - Numerical methods and
analysis and/or evaluation. Output - Results.
Inputs
Numerical values Initialization of the variables Conditions
Data Collection
Computer Hardware Types
Personal Computer Supercomputers Vector Processors Array Processors Parallel Processor
Software
Operating Systems (OS)
Project Purpose
Enable you to explore in-depth some aspect of Civil, Architectural, or Environmental Engineering of particular interest to you Provide experience in
eigenvectors
Topics
Fitting Data
Interpolation Curve Fitting
Numerical Differentiation Numerical Integration
Topics
ODE’s (ordinary differential equations)
Initial Value Problems Systems of ODE’s of IVP Boundary Value Problems Systems of ODE’s of BVP
Partial Differential Equations (PDE’s)
Why do we need to know how to use numerical analysis and methods?
-
Right Division Left Division Exponential
a+b a/b -
a-b a*b b\a a^b
Order of Precedence of Arithmetic Operations
Precedence
(1) (2) (3) - Parenthesis - Exponential from left to right - Multiplication and division from left to right. (4) - Addition and subtraction from left to right.
Books
◦
数值方法(MATLAB版)(第四版)(美) 马修斯,(美)芬克 著,周璐 等译,电 子工业出版社
Numerical Methods
1 Introduction & Course Overview
Lecture’s Goals
Introduce computer methods for the solution of civil engineering problems, including: General Introduction to Computer Applications in Engineering and Construction Why do you need to be able to write and understand computer program and numerical methods? Matlab - Mathematical Laboratory
Numerical Methods Using MATLAB
Dr. Sheng-Jian Lai
Research Building 713#, UESTC Email: cem@
Research & Work
◦ ◦
◦
◦
◦
Numerical Algorithm Computational Electromagnetics Microwave Engineering High Performance Parallel Computation and Cloud Computation Information System and Mobile Internet Development
Output
Outputs are the results of the program. They can go through a series of post-processing methods.
Numerical Values Decisions Graphs and Plots
Matlab
Simple commands
clc clg clear who whos help
- clears window - clear graphic window - clears the workspace - variable list - variable list with size - when doubt use it!
Matlab
Simple commands and symbols