introduction to scientific...
TRANSCRIPT
![Page 1: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/1.jpg)
5/19/2010 http://numericalmethods.eng.usf.edu 1
Introduction to Scientific Computing
Major: All Engineering Majors
Authors: Autar Kaw, Luke Snyder
http://numericalmethods.eng.usf.eduTransforming Numerical Methods Education for STEM
Undergraduates
![Page 2: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/2.jpg)
http://numericalmethods.eng.usf.edu 2
Introduction
![Page 3: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/3.jpg)
http://numericalmethods.eng.usf.edu 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: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/4.jpg)
Why use Numerical Methods?
• To solve problems that cannot be solved exactly
duex u
∫∞−
−2
2
21π
![Page 5: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/5.jpg)
Why use Numerical Methods?
• To solve problems that are intractable!
![Page 6: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/6.jpg)
http://numericalmethods.eng.usf.edu 6
Steps in Solving anEngineering Problem
http://numericalmethods.eng.usf.edu
![Page 7: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/7.jpg)
http://numericalmethods.eng.usf.edu 7
How do we solve an engineering problem?
Problem Description
Mathematical Model
Solution of Mathematical Model
Using the Solution
![Page 8: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/8.jpg)
http://numericalmethods.eng.usf.edu 8
Example of Solving an Engineering Problem
![Page 9: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/9.jpg)
http://numericalmethods.eng.usf.edu 9
Bascule Bridge THG
![Page 10: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/10.jpg)
http://numericalmethods.eng.usf.edu 10
Trunnion
Hub
Girder
Bascule Bridge THG
![Page 11: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/11.jpg)
http://numericalmethods.eng.usf.edu 11
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 12: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/12.jpg)
http://numericalmethods.eng.usf.edu 12
Problem
After Cooling, the Trunnion Got Stuck in Hub
![Page 13: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/13.jpg)
http://numericalmethods.eng.usf.edu 13
Why did it get stuck?
Magnitude of contraction needed in the trunnion was 0.015” or more. Did it contract enough?
![Page 14: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/14.jpg)
http://numericalmethods.eng.usf.edu 14
Video of Assembly Process
Unplugged Version VH1 Version
![Page 15: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/15.jpg)
http://numericalmethods.eng.usf.edu 15
Consultant calculations
TDD ∆××=∆ α
FT o18880108 −=−−=∆Finin o//1047.6 6−×=α
0.01504")188)(1047.6)(363.12( 6
−=−×=∆ −D
"363.12=D
![Page 16: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/16.jpg)
http://numericalmethods.eng.usf.edu 16
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.430 6.00
40 6.2480 6.47
TDD ∆××=∆ α
![Page 17: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/17.jpg)
http://numericalmethods.eng.usf.edu 17
The Correct Model Would Account for Varying Thermal Expansion Coefficient
dTTDDc
a
T
T
)(∫=∆ α
![Page 18: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/18.jpg)
http://numericalmethods.eng.usf.edu 18
Can You Roughly Estimate the Contraction?
dTTDDc
a
T
T
)(∫=∆ α
Ta=80oF; Tc=-108oF; D=12.363”dTTDDc
a
T
T
)(∫=∆ α
![Page 19: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/19.jpg)
http://numericalmethods.eng.usf.edu 19
Can You Find a Better Estimate for the Contraction?
dTTDDc
a
T
T
)(∫=∆ α
Ta = 80oFTc = -108oFD = 12.363"
![Page 20: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/20.jpg)
http://numericalmethods.eng.usf.edu 20
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.0−=∆D
![Page 21: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/21.jpg)
http://numericalmethods.eng.usf.edu 21
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.0−=∆D
![Page 22: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/22.jpg)
http://numericalmethods.eng.usf.edu 22
Revisiting steps to solve a problem1) 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 23: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/23.jpg)
http://numericalmethods.eng.usf.edu 23
THE END
http://numericalmethods.eng.usf.edu
![Page 24: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/24.jpg)
http://numericalmethods.eng.usf.edu 24
Introduction to Numerical Methods
Mathematical Procedures
http://numericalmethods.eng.usf.edu
![Page 25: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/25.jpg)
http://numericalmethods.eng.usf.edu 25
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 26: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/26.jpg)
http://numericalmethods.eng.usf.edu 26
Nonlinear EquationsHow much of the floating ball is under water?
010993.3165.0 423 =×+− −xx
Diameter=0.11m
Specific Gravity=0.6
![Page 27: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/27.jpg)
http://numericalmethods.eng.usf.edu 27
Nonlinear EquationsHow much of the floating ball is under the water?
010993.3165.0)( 423 =×+−= −xxxf
![Page 28: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/28.jpg)
http://numericalmethods.eng.usf.edu 28
DifferentiationWhat is the acceleration at t=7 seconds?
dtdva =t.
t v(t) 89
500010161016ln2200 4
4
−
−×
×=
![Page 29: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/29.jpg)
http://numericalmethods.eng.usf.edu 29
Differentiation
Time (s) 5 8 12Vel (m/s) 106 177 600
What is the acceleration at t=7 seconds?
dtdva =
![Page 30: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/30.jpg)
http://numericalmethods.eng.usf.edu 30
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 31: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/31.jpg)
http://numericalmethods.eng.usf.edu 31
InterpolationWhat is the velocity of the rocket at t=7 seconds?
Time (s) 5 8 12Vel (m/s) 106 177 600
![Page 32: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/32.jpg)
http://numericalmethods.eng.usf.edu 32
RegressionThermal expansion coefficient data for cast steel
![Page 33: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/33.jpg)
http://numericalmethods.eng.usf.edu 33
Regression (cont)
![Page 34: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/34.jpg)
http://numericalmethods.eng.usf.edu 34
Integration
∫=∆fluid
room
T
T
dTDD α
Finding the diametric contraction in a steel shaft when dipped in liquid nitrogen.
![Page 35: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/35.jpg)
http://numericalmethods.eng.usf.edu 35
Ordinary Differential EquationsHow long does it take a trunnion to cool down?
),( ahAdtdmc θθθ
−−= roomθθ =)0(
![Page 36: Introduction to Scientific Computingmathforcollege.com/nm/mws/gen/01aae/mws_gen_aae_spe_pptintroduction.pdf · 3. My advice • If you don’t let a teacher know at what level you](https://reader034.vdocuments.us/reader034/viewer/2022042103/5e80e8c87c9a2f05f703a319/html5/thumbnails/36.jpg)
Additional ResourcesFor 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://numericalmethods.eng.usf.edu/topics/introduction_numerical.html