You are on page 1of 22

DEPARTEMEN

Teknik Elektro

KOMPUTASI
NUMERIK
ENEE604020 – 2 SKS

Dr. Aries Subiantoro, ST. MSc.


aries.subiantoro@ui.ac.id; 0813 1473 8070
Biography

Dr. Ir. Aries Subiantoro, MSc.

Lecturer at Electrical Engineering Department Universitas Indonesia


• Vice Head of Electrical Engineering Department in 2004-2008.
• Executive Director of CCIT in Faculty of Engineering (2008-2017).
• Member of joint research collaboration with LAMIH University of Valencienne France in field of
multi agent control.
• Involved in the Indonesia Electrical Engineering Association FORTEI as Vice Chair (2018-2020).
• Head of Electrical Engineering Department in 2018 - 2022
• Since 2018 - 2022, was appointed as member of Faculty Senate of Universitas Indonesia.
• His research interests include vehicle stability control, multi agent systems and cooperative
control, artificial intelligence, intelligent control, and advanced control for industry process and
renewable energy.
Your Logo or Name Here 2
References & Asessment
References:
• Steven C. Chapra, “Applied Numerical Methods: with
MATLAB® for Engineers and Scientists 4th edition,” Mc-
Graw Hill, 2018
• Steven C. Chapra and Raymond P. Canale, “Numerical
Methods for Engineers 6th edition,” Mc-Graw Hill,
2010

Grading:
• Tugas Mandiri, 20%
• Tugas Kelompok, 10%
• UTS, 35%
• UAS, 35%
3 2/14/2022 Departemen Teknik Elektro FTUI
(1) Motivation

(2) A Simple Mathematical Model

(3) Conservation Laws

Outline (4) Numerical Methods

(5) Roundoff and Truncation


Errors
Motivation
Definition: Techniques by which mathematical
problems are formulated so that they can be solved
with arithmetic operations
1. Expand the types of problems you can address
2. Allow you to use “canned” software with insight
3. Can solve engineering problems with your own program
4. An efficient vehicle for learning to use computers
5. Provide a vehicle for you to reinforce your understanding of
mathematics
Mathematical Modeling Engineering Problem
Solving

• Requires understanding of engineering systems


• by observation and experiment
• theoretical analysis and generalization
• Computer are great tools, however, without
fundamental understanding of engineering
problems, they will be useless

6 2/14/2022 Motivation A Simple Mathematical Model Conservation Laws Numerical Methods Roundoff and Truncation Errors
Mathematical Modeling

A mathematical model is represented as a functional relationship of the


form

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

7 2/14/2022 Motivation A Simple Mathematical Model Conservation Laws Numerical Methods Roundoff and Truncation Errors
Modeling of a Fallen Parachutiste
Using Newton’s 2nd law of motion, the model is formulated as
dv F

dt m

FU F  FD  FU
FD  mg
F=ma FU  cv
v dv mg  cv

FD dt m
8 2/14/2022 Motivation A Simple Mathematical Model Conservation Laws Numerical Methods Roundoff and Truncation Errors
Modeling of a Fallen Parachutiste

• This is a differential equation and is written in terms of the differential


rate of change dv/dt of the variable that we are interested in predicting.
• If the parachutist is initially at rest (v=0 at t=0), the solution of this
differential equation is described as
Independent variable

v(t ) 
gm
c
1 e ( c / m ) t
 
Dependent variable Parameters
Forcing function

9 2/14/2022 Motivation A Simple Mathematical Model Conservation Laws Numerical Methods Roundoff and Truncation Errors
The model in
Modeling of a Bungee Jumper differential equation
The solution

10 2/14/2022 Motivation A Simple Mathematical Model Conservation Laws Numerical Methods Roundoff and Truncation Errors
Finite Difference Approximation
Original model

Approximation model

11 2/14/2022 Motivation A Simple Mathematical Model Conservation Laws Numerical Methods Roundoff and Truncation Errors
Numerical Solution
Euler’s method

12 2/14/2022 Motivation A Simple Mathematical Model Conservation Laws Numerical Methods Roundoff and Truncation Errors
Conservation Laws in Engineering

• Form the basis for a variety of complicated and powerful mathematical


models

It is called the time variable (or transient) computation


• In case of nonexistent change, the increases and decreases must be in
balance.

It is called the steady-state calculation

13 2/14/2022 Motivation A Simple Mathematical Model Conservation Laws Numerical Methods Roundoff and Truncation Errors
Conservation Laws in Engineering

• Form the basis for a variety of complicated and powerful mathematical


models

It is called the time variable (or transient) computation


• In case of nonexistent change, the increases and decreases must be in
balance.

It is called the steady-state calculation

14 2/14/2022 Motivation A Simple Mathematical Model Conservation Laws Numerical Methods Roundoff and Truncation Errors
Conservation Laws in Engineering

For steady-state incompressible fluid flow in pipes:


Flow in = Flow out

or

100 + 80 = 120 + Flow4


Flow4 = 60

15 2/14/2022 Motivation A Simple Mathematical Model Conservation Laws Numerical Methods Roundoff and Truncation Errors
Devices Used in 4 Major Area of Engineering

16 2/14/2022 Motivation A Simple Mathematical Model Conservation Laws Numerical Methods Roundoff and Truncation Errors
Devices Used in 4 Major Area of Engineering

17 2/14/2022 Motivation A Simple Mathematical Model Conservation Laws Numerical Methods Roundoff and Truncation Errors
Accuracy and Precision

• Accuracy, how close is a computed or measured value to the


true value
• Precision (or reproducibility), how close is a computed or
measured value to previously computed or measured values.
• Inaccuracy (or bias), a systematic deviation from the actual
value.
• Imprecision (or uncertainty), magnitude of scatter.

18 2/14/2022 Motivation A Simple Mathematical Model Conservation Laws Numerical Methods Roundoff and Truncation Errors
Accuracy and Precision

(a) inaccurate and imprecise

(b) accurate and imprecise

(c) inaccurate and precise

(d) accurate and precise

19 2/14/2022 Motivation A Simple Mathematical Model Conservation Laws Numerical Methods Roundoff and Truncation Errors
Scope of the Numerical
Methods

Roots and optimization


Linear algebraic equations
Curve fitting
Integration and differentiation
Differential equations

20
MATLAB is a proprietary multi-paradigm programming

Commercial language and numeric computing environment


developed by MathWorks.

Softwares
Lab-View is a system-design platform and
To o l s f o r E n g i n e e r i n g D e s i g n a n d development environment for a visual programming
Analysis language from National Instruments.

Carsim Mechanical Simulation


Carsim is a commercial software package that predicts the
performance of vehicles in response to driver controls
(steering, throttle, brakes, clutch, and shifting) in a given
environment (road geometry, coefficients of friction, wind).

Altair Hyperworks is a computational fluid dynamics


software (CFD) suite that allows users to simulate a
wide range of scenarios.
Terima Kasih
Aries Subiantoro
+62 813 1473 8070
aries.subiantoro@ui.ac.id
www.ee.ui.ac.id

You might also like