0% found this document useful (0 votes)
12 views2 pages

Activity 2 Langrange Multiplier Tabangan

The document presents an assignment focused on optimizing pipe diameter to minimize material usage per unit length using Lagrange multipliers. It outlines the mathematical formulation, constraints, and derivations necessary to solve for the optimal diameters. The final results include specific values for the diameters based on the given conditions and equations.

Uploaded by

castor
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views2 pages

Activity 2 Langrange Multiplier Tabangan

The document presents an assignment focused on optimizing pipe diameter to minimize material usage per unit length using Lagrange multipliers. It outlines the mathematical formulation, constraints, and derivations necessary to solve for the optimal diameters. The final results include specific values for the diameters based on the given conditions and equations.

Uploaded by

castor
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

ASSIGNMENT 2

In
gem 602 – NUMERICAL METHODS
INSTRUCTOR: Dr. Michael Loretero

STUDENT: Castor Gomez Tabangan, MSME -1


ID no: 23102788

TOPIC: Langrange Multiplier

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. 𝑚1 = 𝑚2 + 𝑚3 + 𝑚4 → (𝐷1 )2 = (𝐷3 )2 + (𝐷4 )2 + (𝐷5 )2


2. 𝑚3 = 𝑚4 → (𝐷4 )2 = (𝐷5 )2
3. 𝑚2 = 𝑚3 + 𝑚4 → (𝐷3 )2 = (𝐷4 )2 + (𝐷5 )2
4. (𝐷2 )2 = (𝐷3 )2 + (𝐷5 )2

Langrange multiplier function:


𝑓(𝐷1 , 𝐷2 , 𝐷3 , 𝐷4 , 𝐷5 , 𝛾1 , 𝛾2 , 𝛾3 , 𝛾4 )
= 𝜋[(𝐷1 ) + (𝐷2 ) + (𝐷3 ) + (𝐷4 ) + (𝐷5 )] + 𝛾1 [(𝐷3 )2 + (𝐷4 )2 + (𝐷5 )2 − (𝐷1 )2 ] + 𝛾2 [(𝐷4 )2
− (𝐷5 )2 ] + 𝛾3 [(𝐷4 )2 + (𝐷5 )2 − (𝐷3 )2 ] + 𝛾4 [(𝐷3 )2 + (𝐷5 )2 − (𝐷2 )2 ]
Solving for the partial derivatives:
𝑓𝐷1 (𝐷1 , 𝐷2 , 𝐷3 , 𝐷4 , 𝐷5 , 𝛾1 , 𝛾2 , 𝛾3 , 𝛾4 ): 𝜋 − 2𝛾1 𝐷1 = 0 (1)

𝑓𝐷2 (𝐷1 , 𝐷2 , 𝐷3 , 𝐷4 , 𝐷5 , 𝛾1 , 𝛾2 , 𝛾3 , 𝛾4 ): 𝜋 − 2𝛾4 𝐷2 = 0 (2)

𝑓𝐷3 (𝐷1 , 𝐷2 , 𝐷3 , 𝐷4 , 𝐷5 , 𝛾1 , 𝛾2 , 𝛾3 , 𝛾4 ): 𝜋 + 2𝛾1 𝐷3 − 2𝛾3 𝐷3 + 2𝛾4 𝐷3 = 0 (3)

𝑓𝐷4 (𝐷1 , 𝐷2 , 𝐷3 , 𝐷4 , 𝐷5 , 𝛾1 , 𝛾2 , 𝛾3 , 𝛾4 ): 𝜋 + 2𝛾1 𝐷4 + 2𝛾2 𝐷4 + 2𝛾3 𝐷4 = 0 (4)

𝑓𝐷5 (𝐷1 , 𝐷2 , 𝐷3 , 𝐷4 , 𝐷5 , 𝛾1 , 𝛾2 , 𝛾3 , 𝛾4 ): 𝜋 + 2𝛾1 𝐷5 − 2𝛾2 𝐷5 + 2𝛾3 𝐷5 + 2𝛾4 𝐷5 = 0 (5)

𝑓𝛾1 (𝐷1 , 𝐷2 , 𝐷3 , 𝐷4 , 𝐷5 , 𝛾1 , 𝛾2 , 𝛾3 , 𝛾4 ): (𝐷3 )2 + (𝐷4 )2 + (𝐷5 )2 − (𝐷1 )2 = 0 (6)

𝑓𝛾2 (𝐷1 , 𝐷2 , 𝐷3 , 𝐷4 , 𝐷5 , 𝛾1 , 𝛾2 , 𝛾3 , 𝛾4 ): (𝐷4 )2 − (𝐷5 )2 = 0 (7)

𝑓𝛾3 (𝐷1 , 𝐷2 , 𝐷3 , 𝐷4 , 𝐷5 , 𝛾1 , 𝛾2 , 𝛾3 , 𝛾4 ): (𝐷4 )2 + (𝐷5 )2 − (𝐷3 )2 = 0 (8)

𝑓𝛾4 (𝐷1 , 𝐷2 , 𝐷3 , 𝐷4 , 𝐷5 , 𝛾1 , 𝛾2 , 𝛾3 , 𝛾4 ): (𝐷3 )2 + (𝐷5 )2 − (𝐷2 )2 = 0 (9)

From (6), (7), (8):


(𝐷3 )2 + (𝐷4 )2 + (𝐷5 )2 = 0.25 (6)
(𝐷4 )2 − (𝐷5 )2 = 0 (7)

−(𝐷3 )2 + (𝐷4 )2 + (𝐷5 )2 = 0 (8)

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 𝟒

You might also like