Activity 2 Langrange Multiplier Tabangan
Activity 2 Langrange Multiplier Tabangan
In
gem 602 – NUMERICAL METHODS
INSTRUCTOR: Dr. Michael Loretero
Problem: Optimization of pipe diameter for minimum amount of material per unit length.
Let M be the total material needed for fabrication per unit length.
Then,
𝑀 = 𝑀𝑑1 + 𝑀𝑑2 + 𝑀𝑑3 + 𝑀𝑑4 + 𝑀𝑑5
𝑀(𝐷1 , 𝐷2 , 𝐷3 , 𝐷4 , 𝐷5 ) = 𝜋[(𝐷1 ) + (𝐷2 ) + (𝐷3 ) + (𝐷4 ) + (𝐷5 )]
Assumption:
A steady flow and velocity of fluid is constant
𝑚1 = 0.15 𝑘𝑔/𝑠
𝜌 = 1.225 𝑘𝑔/𝑚3
𝑣 = 2 𝑚/𝑠
𝑚 = 𝜌𝑉
𝑉 = 𝐴𝑣 = (0.25𝜋𝐷 2 )𝑣
𝑚1
𝑚 = 𝜌𝑣(0.25𝜋𝐷 2 ) → 𝐷1 = 2√
𝜌𝑣
0.15
𝑚 = 𝜌𝑣(0.25𝜋𝐷 2 ) → 𝐷1 = 2√ = 0.5𝑚
(1.225)(2)
Constraints:
1 √𝟐
(𝐷3 )2 = → 𝑫𝟑 =
8 𝟒
1 𝟏
(𝐷4 )2 = → 𝑫𝟒 =
16 𝟒
1 𝟏
(𝐷5 )2 = → 𝑫𝟓 =
16 𝟒
From (9):
(𝐷3 )2 + (𝐷5 )2 − (𝐷2 )2 = 0 (9)
1 1 3 √𝟑
(𝐷2 )2 = + = → 𝑫𝟐 =
8 16 16 𝟒