Professional Documents
Culture Documents
Numerical ch1
Numerical ch1
Numerical ch1
Numerical Methods
Chapter (1):
Mathematical Modeling and Engineering Problem Solving
Chapter (4):
Truncation Errors and the Taylor Series
Chapter (5):
Bracketing Methods
Chapter (6):
Open Methods
Chapter (9):
Gauss Elimination
Chapter (11):
Special Matrices and Gauss-Seidel
Chapter 1
َٙٔد اإلنكرسٚ أٔ تانثس9 4444 260 حٛح تسسانح َصٚسجٗ انًساًْح تاإلتالؽ ػٍ أ٘ خطأ أٔ يالدظاخ ذساْا ضسٔزٛح نهُفغ انؼاو فَٛانُٕذاخ يجا
Physics I/II, English 123, Statics, Dynamics, Strength, Structure I/II, C++, Java, Data, Algorithms, Numerical, Economy
eng-hs.com, eng-hs.net ٍٛشسح ٔيسائم يذهٕنح يجاَا ًا تانًٕلؼ info@eng-hs.com 9 4444 260 ٌ دًادج شؼثا.و
July 2013
𝑖𝑛𝑑𝑒𝑝𝑒𝑛𝑑𝑒𝑛𝑡 𝑓𝑜𝑟𝑐𝑖𝑛𝑔
𝐷𝑒𝑝𝑒𝑛𝑑𝑒𝑛𝑡 , 𝑝𝑎𝑟𝑎𝑚𝑒𝑡𝑒𝑟𝑠,
=𝑓
𝑣𝑎𝑟𝑖𝑎𝑏𝑙𝑒 𝑣𝑎𝑟𝑖𝑎𝑏𝑙𝑒𝑠 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛𝑠
dependent variable: a characteristic that usually reflects the behavior
or state of the system.
independent variables: usually dimensions, such as time and space,
along which the system's behavior is being determined.
parameters: reflective of the system's properties or composition.
forcing functions: external influences acting upon the system.
Ex:
𝐹
𝑎= (𝟏. 𝟑)
𝑚
The net force is the difference between the downward and upward
force. Therefore
𝑑𝑣 𝑚𝑔 − 𝑐𝑣
= (1.8)
𝑑𝑡 𝑚
Simplifying
𝑑𝑣 𝑐
=𝑔− 𝑣 (1.9)
𝑑𝑡 𝑚
Solution:
Inserting the parameters into Eq. (1.10) yields
9.8 (68.1)
𝑣 𝑡 = (1 − 𝑒 −(12.5/68.1) 𝑡 ) = 53.39 (1 − 𝑒 −0.18355 𝑡 )
12.5
For Newton's second law by realizing that the time rate of change
of velocity can be approximated by (Fig. 1.4):
𝑑𝑣 ∆𝑣 𝑣 𝑡𝑖+1 − 𝑣 (𝑡𝑖 )
≅ = (1.11)
𝑑𝑡 ∆𝑡 𝑡𝑖+1 − 𝑡𝑖
𝑑𝑣 ∆𝑣
= lim
𝑑𝑡 ∆𝑡→0 ∆𝑡 ْٕ ذؼرمد تؼض انُساء أٌ انصٔاج
.دج نالَرماو يٍ انسجمٛانفسصح انٕد
َٙٔد اإلنكرسٚ أٔ تانثس9 4444 260 حٛح تسسانح َصٚسجٗ انًساًْح تاإلتالؽ ػٍ أ٘ خطأ أٔ يالدظاخ ذساْا ضسٔزٛح نهُفغ انؼاو فَٛانُٕذاخ يجا
Physics I/II, English 123, Statics, Dynamics, Strength, Structure I/II, C++, Java, Data, Algorithms, Numerical, Economy
eng-hs.com, eng-hs.net ٍٛشسح ٔيسائم يذهٕنح يجاَا ًا تانًٕلؼ info@eng-hs.com 9 4444 260 ٌ دًادج شؼثا.و
July 2013
𝑣 𝑡𝑖+1 − 𝑣 𝑡𝑖 𝑐
=𝑔− 𝑣 𝑡𝑖
𝑡𝑖+1 − 𝑡𝑖 𝑚
This equation can then be rearranged to yield
𝑐
𝑣 𝑡𝑖+1 = 𝑣 𝑡𝑖 + 𝑔 − 𝑣 𝑡𝑖 (𝑡𝑖+1 − 𝑡𝑖 (1.12)
𝑚
If you are given an initial value for velocity at some time 𝒕𝒊 , you
can easily compute velocity at a later time 𝒕𝒊+𝟏 . This new value of
velocity at 𝒕𝒊+𝟏 can in turn be employed to extend the computation to
velocity at 𝒕𝒊+𝟐 and so on. Thus, at any time along the way:
Example 1.2
Problem Statement: perform the same computation as in example
1.1 but use Eq. (1.12) to compute the velocity. Employ a step size of 2 s
for the calculation.
Solution:
At the start of the computation (ti = 0), the velocity of the
parachutist is zero.
12.5
𝑣 = 0 + 9.8 − (0) 2 = 19.60 𝑚/𝑠
68.1
The results are plotted in Fig. 1.5 along with the exact solution.
There is some discrepancy between the two results. One way to
minimize such discrepancies is to use a smaller step size. For example,
applying Eq. (1.12) at 1-s intervals results in a smaller error. With the
aid of the computer, large numbers of calculations can be performed
easily. Thus, you can accurately model the velocity of the falling
parachutist without having to solve the differential equation exactly.
Ex. Use calculus to solve Eq. (1.9) for the case where the initial
velocity. 𝒗(𝟎) is zero.
𝑑𝑣 𝑐
=𝑔− 𝑣 (1.9)
𝑑𝑡 𝑚
Solution:
𝑣 𝑡
𝑑𝑣
= 𝑑𝑡
𝑔 − 𝑐/𝑚 𝑣
0 0
1 𝑐 𝑣
ln 𝑔 − 𝑣 =𝑡
(−𝑐/𝑚) 𝑚 0
𝑐 𝑐𝑡
ln 𝑔 − 𝑣 − ln 𝑔 = −
𝑚 𝑚
𝑐
𝑔− 𝑣 𝑐𝑡
ln 𝑚 = −
𝑔 𝑚
𝑐
𝑔− 𝑣 𝑐𝑡
𝑚 = 𝑒− 𝑚
𝑔
𝑐 𝑐𝑡
𝑔− 𝑣 = 𝑔 𝑒− 𝑚
𝑚
𝑐 𝑐𝑡
𝑣 = 𝑔 − 𝑔 𝑒− 𝑚
𝑚
𝑚𝑔 𝑐𝑡
−𝑚
𝑣= 1−𝑒
𝑐
ٍ ػايا ًا نرذٕلٚ ايسأج ػشسٙذمض
ٖ ايسأج أخس،اتُٓا إنٗ زجم
.ٕياٚ ٍٚ ػشسٙذجؼهّ أدًك ف
َٙٔد اإلنكرسٚ أٔ تانثس9 4444 260 حٛح تسسانح َصٚسجٗ انًساًْح تاإلتالؽ ػٍ أ٘ خطأ أٔ يالدظاخ ذساْا ضسٔزٛح نهُفغ انؼاو فَٛانُٕذاخ يجا
Physics I/II, English 123, Statics, Dynamics, Strength, Structure I/II, C++, Java, Data, Algorithms, Numerical, Economy
eng-hs.com, eng-hs.net ٍٛشسح ٔيسائم يذهٕنح يجاَا ًا تانًٕلؼ info@eng-hs.com 9 4444 260 ٌ دًادج شؼثا.و
July 2013
Solution:
∆𝑡 = 1 𝑠 :
𝑐
𝑣 1 = 𝑣 0 + 𝑔− 𝑣 0 ∆𝑡
𝑚
12.5
𝑣 1 = 0 + 9.8 − 0 1 = 9.8 𝑚/𝑠
68.1
𝑣𝑡𝑟𝑢𝑒 − 𝑣 𝑡𝑖+1
𝜀𝑡 = %
𝑣𝑡𝑟𝑢𝑒
8.953 − 9.8
= = 0.095 %
8.953
step 𝑣 (10) 𝜀
2 47.969 6.9 %
1 46.364 3.32 %
Solution:
First jumper:
𝑔𝑚
𝑣= (1 − 𝑒 − 𝑐/𝑚 𝑡
)
𝑐
9.8 ∗ 70
= (1 − 𝑒 − (12/70) 10 )
12
= 46.87 𝑚/𝑠
Second jumper:
𝑔𝑚
𝑣= (1 − 𝑒 − 𝑐/𝑚 𝑡
)
𝑐
9.8 ∗ 75
46.87 = (1 − 𝑒 − (15/75) 𝑡 )
15
0.9566 = 1 − 𝑒 − 0.2 𝑡
𝑒 −0.2 𝑡 = 0.0435
− 0.2 𝑡 = ln 0.0435
𝑡 = 15.7 𝑠
ٍ ٌء زائ ٌغ إذا نى ذكٙانؼهى ش
ٍُٚشراٚ أنثسخ أ.ّٛذمراخ ػه
َٙٔد اإلنكرسٚ أٔ تانثس9 4444 260 حٛح تسسانح َصٚسجٗ انًساًْح تاإلتالؽ ػٍ أ٘ خطأ أٔ يالدظاخ ذساْا ضسٔزٛح نهُفغ انؼاو فَٛانُٕذاخ يجا
Physics I/II, English 123, Statics, Dynamics, Strength, Structure I/II, C++, Java, Data, Algorithms, Numerical, Economy
eng-hs.com, eng-hs.net ٍٛشسح ٔيسائم يذهٕنح يجاَا ًا تانًٕلؼ info@eng-hs.com 9 4444 260 ٌ دًادج شؼثا.و