welcome to eml3041: computational methods. sit in first four rows only my name is dr. kaw. introduce...

39
Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say one thing (nothing personal) about yourself to them! At home, go thru the piazza announcements. All is well that ends well; well-begun is half-done. No cell phones, laptops or other distractions. Daydreamers and sleepers will not be disturbed! http://nm.MathForCollege.com 1

Upload: griselda-murphy

Post on 13-Jan-2016

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

• Welcome to EML3041: Computational Methods.

• SIT IN FIRST FOUR ROWS ONLY • My name is Dr. Kaw.• Introduce yourself to the person on your left and right!

Say one thing (nothing personal) about yourself to them!• At home, go thru the piazza announcements. • All is well that ends well; well-begun is half-done.• No cell phones, laptops or other distractions.

Daydreamers and sleepers will not be disturbed!

http://nm.MathForCollege.com 1

Page 2: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

04/21/23 http://nm.MathForCollege.com 2

Introduction to Scientific Computing

http://nm.MathForCollege.comTransforming Numerical Methods Education for STEM

Undergraduates

Page 3: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 3

My advice

• If you don’t let a teacher know at what level you are by asking a question, or revealing your ignorance you will not learn or grow.

• You can’t pretend for long, for you will eventually be found out. Admission of ignorance is often the first step in our education.– Steven Covey—Seven Habits of Highly Effective People

Page 4: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

Why use Numerical Methods?

Page 5: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

Why use Numerical Methods?

• To solve problems that cannot be solved exactly

duex u

2

2

2

1

Page 6: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

Why use Numerical Methods?• To solve problems that are intractable to solve

exactly!

Page 7: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 7

Steps in Solving anEngineering Problem

http://nm.MathForCollege.com

Page 8: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 8

How do we solve an engineering problem?

Problem Description

Mathematical Model

Solution of Mathematical Model

Using the Solution

Page 9: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 9

Example of Solving an Engineering Problem

Page 10: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 10

Bascule Bridge THG

Page 11: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 11

Trunnion

Hub

Girder

Bascule Bridge THG

Page 12: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 12

Trunnion-Hub-Girder Assembly Procedure

Step1. Trunnion immersed in dry-ice/alcohol

Step2. Trunnion warm-up in hub

Step3. Trunnion-Hub immersed in

dry-ice/alcohol

Step4. Trunnion-Hub warm-up into girder

Page 13: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 13

Problem

After Cooling, the Trunnion Got Stuck in Hub

Page 14: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 14

Why did it get stuck?

Magnitude of contraction needed in the trunnion was 0.015” or more. Did it contract enough?

Page 15: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 15

Video of Assembly Process

Unplugged Version VH1 Version

Page 16: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 16

Consultant calculations

TDD

FT o18880108 Finin o//1047.6 6

0.01504"

)188)(1047.6)(363.12( 6

D

"363.12D

Page 17: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 17

Is the formula used correct?

TDD

T(oF) α (μin/in/oF)

-340 2.45

-300 3.07

-220 4.08

-160 4.72

-80 5.43

0 6.00

40 6.24

80 6.47

TDD

Page 18: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 18

The Correct Model Would Account for Varying Thermal Expansion Coefficient

dTTDDc

a

T

T

)(

Page 19: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 19

Can You Roughly Estimate the Contraction?

dTTDDc

a

T

T

)(

Ta=80oF; Tc=-108oF; D=12.363”

dTTDDc

a

T

T

)(

Page 20: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 20

Can You Find a Better Estimate for the Contraction?

dTTDDc

a

T

T

)(

Ta = 80oFTc = -108oFD = 12.363"

Page 21: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 21

Estimating Contraction Accurately

dTTDDc

a

T

T

)(

Change in diameter (D) by cooling it in dry ice/alcohol is given by

0150.6101946.6102278.1 325 TT

Ta = 80oFTc = -108oFD = 12.363"

"0137.0D

Page 22: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 22

So what is the solution to the problem?

One solution is to immerse the trunnion in liquid nitrogen which has a boiling point of -321oF as opposed to the dry-ice/alcohol temperature of -108oF.

"0244.0D

Page 23: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 23

Revisiting steps to solve a problem

1) Problem Statement: Trunnion got stuck in the hub.

2) Modeling: Developed a new model

3) Solution: 1) Used trapezoidal rule OR b) Used regression and integration.

4) Implementation: Cool the trunnion in liquid nitrogen.

dTTDDc

a

T

T

)(

Page 24: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 24

THE END

http://nm.MathForCollege.com

Page 25: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 25

Introduction to Numerical Methods

Mathematical Procedures

http://nm.MathForCollege.com

Page 26: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 26

Mathematical Procedures• Nonlinear Equations• Differentiation• Simultaneous Linear Equations• Curve Fitting

– Interpolation– Regression

• Integration• Ordinary Differential Equations• Other Advanced Mathematical Procedures:

– Partial Differential Equations– Optimization– Fast Fourier Transforms

Page 27: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 27

Nonlinear EquationsHow much of the floating ball is under water?

010993.3165.0 423 xx

Diameter=0.11m

Specific Gravity=0.6

Page 28: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 28

Nonlinear EquationsHow much of the floating ball is under the water?

010993.3165.0)( 423 xxxf

Page 29: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 29

DifferentiationWhat is the acceleration at t=7 seconds?

dt

dva t.

t v(t) 89

50001016

1016ln2200

4

4

Page 30: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 30

Differentiation

Time (s) 5 8 12

Vel (m/s) 106 177 600

What is the acceleration at t=7 seconds?

dt

dva

Page 31: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 31

Simultaneous Linear EquationsFind the velocity profile, given

,)( 2 cbtattv Three simultaneous linear equations 106525 cba

125 t

177864 cba60012144 cba

Time (s) 5 8 12

Vel (m/s) 106 177 600

Page 32: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 32

InterpolationWhat is the velocity of the rocket at t=7 seconds?Time (s) 5 8 12

Vel (m/s) 106 177 600

Page 33: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 33

RegressionThermal expansion coefficient data for cast steel

Page 34: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 34

Regression (cont)

Page 35: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 35

Integration

fluid

room

T

T

dTDD

Finding the diametric contraction in a steel shaft when dipped in liquid nitrogen.

Page 36: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

http://nm.MathForCollege.com 36

Ordinary Differential EquationsHow long does it take a trunnion to cool

down?

),( ahAdt

dmc

room )0(

Page 37: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

Additional Resources

For all resources on this topic such as digital audiovisual lectures, primers, textbook chapters, multiple-choice tests, worksheets in MATLAB, MATHEMATICA, MathCad and MAPLE, blogs, related physical problems, please visit

http://nm.MathForCollege.com/topics/introduction_numerical.html

Page 38: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

THE END

http://nm.MathForCollege.com

Page 39: Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say

Passing this course

http://nm.MathForCollege.com 39

Tests Project HW Posts read27% 31% 58% 96%

50% 44% 41% 97%

51% 53% 49% 66%

42% 102% 97% 59%

55% 82% 64% 54%

66% 0% 76% 79%

55% 72% 78% 96%

63% 76% 45% 49%