Homework 2 Solutions (1)
.pdf
keyboard_arrow_up
School
University of Wisconsin, Madison *
*We aren’t endorsed by this school
Course
345
Subject
Mechanical Engineering
Date
Dec 6, 2023
Type
Pages
13
Uploaded by ProfessorRose11914
Homework 2 Solutions
July 8, 2022
1
Homework #2 Solutions
Due July 5 @ 11:59pm
1.1
Submission requirements
Upload a
single PDF or HTML file
of your IJulia notebook for this entire assigment.
Clearly
denote which question each section of your file corresponds to.
1.2
Problem 1 – On your mark, get set, bake!
A bakery mass produces 4 different types of cake: carrot, chocolate, vanilla, and angel-food. The
bakery measures cake characteristics using two different features: sweetness (
S
) and density (
D
).
The following table summarizes the characteristics of each type of cake as well as the (max) num-
ber of each type that are baked each month:
Cake
S
D
Max baked
Carrot
100
15
3810
Chocolate
90
18
2700
Vanilla
86
6
4000
Angel food
110
3
1500
The cakes can either be sold as-is at $14 a cake or combined into a “party platter” for catering.
There are two party platter options –
A
and
B
– that have requirements for average sweetness and
density. No more than 7 cakes can be added to any individual platter. The table below summarizes
these requirements and gives the selling price per platter:
Platter
S
D
Max cakes
Price
A
at least 98
at most 10
7
$20
B
at least 100
at most 8
7
$30
The
S
and
D
values for the party platters are calculated as the weighted averages of the
S
and
D
of the cakes added to the platter.
(a) Formulate a linear program that will yield the largest possible revenue for the bakery. As-
sume it is okay to sell fractional cakes, since we are planning in aggregate.
1
1.2.1
Solution
Let
C
be the set of cake types and
P
be the set of party platter types.
Decision variables
•
x
i
: number of each cake of type
i
∈
C
that are sold as-is
•
y
ij
: number of each cake of type
i
∈
C
that is used in party platter type
j
∈
P
Objective
max 14
∑
i
∈
C
x
i
+
20
∑
i
∈
C
y
iA
+
30
∑
i
∈
C
y
iB
Constraints
• Do not exceed total number of each cake type produced
x
_
{
car
}
+
y
_
{
car
,
A
}
+
y
_
{
car
,
B
} ≤
3810
x
_
{
choc
}
+
y
_
{
choc
,
A
}
+
y
_
{
choc
,
B
} ≤
2700
x
_
{
van
}
+
y
_
{
van
,
A
}
+
y
_
{
van
,
B
} ≤
4000
x
_
{
ang
}
+
y
_
{
ang
,
A
}
+
y
_
{
ang
,
B
} ≤
1500
• Max number of cakes on each party platter
∑
i
∈
Cy
iA
≤
7;
∑
i
∈
Cy
iB
≤
7
• Minimum sweetness on party platters
100
y
_
{
car
,
A
}
+
90
y
_
{
choc
,
A
}
+
86
y
_
{
van
,
A
}
+
110
y
_
{
ang
,
A
} ≥
98
∑
i
∈
Cy
iA
100
y
_
{
car
,
B
}
+
90
y
_
{
choc
,
B
}
+
86
y
_
{
van
,
B
}
+
110
y
_
{
ang
,
B
} ≥
100
∑
i
∈
Cy
iA
• Maximum density on party platters
15
y
_
{
car
,
A
}
+
18
y
_
{
choc
,
A
}
+
6
y
_
{
van
,
A
}
+
3
y
_
{
ang
,
A
} ≤
10
∑
i
∈
Cy
iA
15
y
_
{
car
,
B
}
+
18
y
_
{
choc
,
B
}
+
6
y
_
{
van
,
B
}
+
3
y
_
{
ang
,
B
} ≤
8
∑
i
∈
Cy
iA
(b) Build and solve the problem in Julia. What are the optimalnumbers of each type of cake and
party platter that the bakery should sell?
2
,
→
,
→
,
→
3
1.3
Problem 2 – Multi-period Planning
A company who works with car manufacturers produces and sells engines of various types and
sizes. There is one particular style of engine that comes in three different sizes (call them “size 1,”
“size 2,” and “size 3”). The contractor processes raw materials to procude the engines. Processing
a pallet of raw materials costs $700 per pallet and produces 2 size 1 engines, 1 size 2 engine, and 1
size 3 engine. Size 1 engines sell for $160 each, size 2 engines sell for $210 each, and size 3 engines
sell for $300 each. Engines (of any size) can be stored from month to month. Keeping engines in
good working condition costs $5
×
(engine size) per engine per month (i.e.,$5 for size 1, $10 for size
2, $15 for size 3).
The table below shows the maximum amount of each engine the contractor can sell in the next
three months as well as the maximum number of pallets of raw materials it can process in each
month. Demand that is not met in the month it occurs cannot be carried over to a later month (i.e.,
no backlogging is allowed – so the demand amounts in the table represent the maximum that can
be sell – it may not be possible to sell this much). The contractor currently has 10 size 1 engines
and 2 size 3 engines (no size 2 engines) in stock, and wishes to have at least that much – plus at
least one size 2 engine – in stock at the end of month 3.
Month (
t
)
Max raw
materials (RM
t
)
Max size 1 (M1
t
)
Max size 2 (M2
t
)
Max size 3 (M3
t
)
1
15
30
12
15
2
20
15
18
17
3
12
20
13
21
Formulate a linear programming model to help the contractor maximize its profits over the next
three months. Solve the model in Julia/JuMP and display the production plan (how many of each
engine size to produce, store, and sell in each month).
,
→
4
,
→
,
→
,
→
,
→
,
→
5
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
In a hypothetical scenario respond to the following email to reasuure the owner and in an informative and professional way.
Dear Project Manager-
I am so excited to have broken ground on the new mixed use space. As I watch the underground utilities such as water, storm drain, and sewer get installed I find myself worrying about failures. What steps are you taking to ensure those systems will not have to be dug up and repaired later in the construction process? We cannot afford a delay of any kind. Could you please explain how you plan to prevent any delays and ensure that the systems are functional and leak free.
The other concern that has come up that I would like to address now is the comfort of the office staff. Our current building is not comfortable. I am wondering why. We have the temperature appropriately set and it is easily maintained, but people still complain. What can we do to ensure they will be comfortable in the new building? A few months ago I asked one of our…
arrow_forward
Hello tutors, help me. Just answer "Let Us Try"
arrow_forward
Follow the instructions carefully.
arrow_forward
HELLO, CAN U HELP ME TO MY RESEARCH PART?, MY RESEARCH PART IS DATA GATHERING PROCEDURE, AND I'LL SEND THE SAMPLE THAT MY TEACHER GAVE ME, THIS IS MY TITLE BTW " Students who play Axie Infinity as scholars do not make enough money to support their studies: a qualitative study of Axie Infinity scholars among the students of Precious High Academy" THANKS!
arrow_forward
13. Here is a list of activity times for a project as well as crashing costs for its activities. Determine
which activities should be crashed and the total cost of crashing if the goal is to shorten the proj-
ect by three weeks as cheaply as possible. First construct a network diagram. You can use either
an AOA or an AON (see Solved Problem 5).
Path
Activity
Duration (weeks)
First Crash
Second Crash
Тор
A
5
$8
$10
9
C
3
14
15
Middle
3
11
7
9
3
14
15
Bottom
5
10
15
G
5
11
13
H
5
12
14
arrow_forward
Question: Continue the previous work, pls create me an Grann Chart for Production of High-Quality Organic Rice. You may assume the activities and days.
arrow_forward
Don't copy paste someone else answer if I get to know I'll report and downvote too do on your own and only handwritten with proper steps not that handwritten only
arrow_forward
The following tools / resources may be useful for you to complete the assignment:a. Chatgpt (You may use it to learn Matlab coding or any other computer language. An example is given here: https://shareg.pt/mXHGne9 ). Please take note that code generated by chatgpt can be directly copied and pasted.b. Matlabi) Useful cheat sheet (https://n.ethz.ch/~marcokre/download/ML-CheatSheet.pdf)ii) Getting started with Matlab (https://matlabacademy.mathworks.com/en/details/gettingstarted )iii) Getting 30-day Matlab trial license (https://www.mathworks.com/campaigns/products/trials.html ) iv) Polyfit (https://www.mathworks.com/help/matlab/ref/polyfit.html )v) Exponential Fit (https://www.mathworks.com/matlabcentral/answers/91159-how-do-i-fit-an-exponential-curve-to-my-data)c. PlotDigitizer (https://plotdigitizer.sourceforge.net/ ) or a free online app that does not requires installation (https://plotdigitizer.com/app )You may use your own engineering judgement to make any assumptions on any…
arrow_forward
MECT361
Mechatronics Components and Instrumentation
PLEASE GIVE ME THE short answer and wite it by keyword
thanks
arrow_forward
Please solve, engineering econ
arrow_forward
You are a biomedical engineer working for a small orthopaedic firm that fabricates rectangular shaped fracture
fixation plates from titanium alloy (model = "Ti Fix-It") materials. A recent clinical report documents some problems with the plates
implanted into fractured limbs. Specifically, some plates have become permanently bent while patients are in rehab and doing partial
weight bearing activities.
Your boss asks you to review the technical report that was generated by the previous test engineer (whose job you now have!) and used to
verify the design. The brief report states the following... "Ti Fix-It plates were manufactured from Ti-6Al-4V (grade 5) and machined into
solid 150 mm long beams with a 4 mm thick and 15 mm wide cross section. Each Ti Fix-It plate was loaded in equilibrium in a 4-point bending
test (set-up configuration is provided in drawing below), with an applied load of 1000N. The maximum stress in this set-up was less than the
yield stress for the Ti-6Al-4V…
arrow_forward
In the automotive industry, supercars are highly accredited with how they are manufacture; from the
type of car chassis used to the type of materials employed. Often enough, companies like BMW,
Mercedes & Audi produces supercars that exemplifies a better reliability compared to other automotive
manufacturing companies. This is because they pay close attention to the details on how the car is
manufactured; right from raw materials to a finished supercar. The task given to you is to watch the
video link provided below & explain the electrostatic process acquired for the two different models of
BMW vehicles.
https://www.youtube.com/watch?v=sUqKUbmdOr0
Pls watch the video before answering
arrow_forward
QUESTION 1
In 2020, the world faces a critical health issue called Covid-19. During this period, the
government of Malaysia have implemented Movement Control Order (MCO) where many
sectors have been closed temporarily. This implementation has caused school to shut down and
all class activities conducted through online. Same goes to private sectors. This has caused
electricity usage increased rapidly.
AM
PM
Image courtesy : https://bit.ly/3eAqi7j)
As an owner of house in Figure 1, identify three renewable resources and elaborate how can
you utilise your house, to harvest energy from environment. In your explanation:
a.
Include the location of installation
b.
Any criteria or reason for the selection of (a)
Drawback or side effect of the chosen methods.
с.
d.
If structure need modification, explain the need of the modification (If any)
arrow_forward
1. HI CAN YOU HELP ME WITH MY ASSIGNMENT. PLEASE WRITE IT PROPERLY, DONT WRITE IT.
Faculty members and staff from ABC University had a meeting on how they will conduct the virtual flag ceremony every Monday. There are reported 12 faculty members, 3 office staff, 4 heads from the different courses and 1 student leader attended a secret meeting in a room which is 15 meters wide by 10.5 meters long and a ceiling of 3.87meters. The room is completely sealed off and insulated. Each persons gives off 150kcal per hour of heat and occupies a volume of 0.2 cubic meter. The room has an initial pressure of 14.696psi and temperature of 522.27 Rankine.
• Calculate the room temperature after 15.5 minutes In Celcius
• What is the mass of air in kilograms
arrow_forward
Hello please show your correct and complete solution with schematic diagram and assumptions. Thanks ASAP!
Subject: Mechanical Engineering
arrow_forward
What are the answers in given problem
arrow_forward
Plz solve within 30min I vill give definitely upvote and vill give positive feedback thank you
arrow_forward
I need help solving this problem.
arrow_forward
solve this please on ANSYS and give me screenshots how you did it, please
arrow_forward
Help
arrow_forward
+ → CO
A student.masteryconnect.com/?iv%3D_n5SY3Pv5S17e01Piby
Gr 8 Sci Bench 1 GradeCam Rutherford TN 2021
AHMAD, ASHNA
D0
3 of 35
A student develops a model of an electric motor using two pins, a wire coil,
coil continues to spin with a certain speed.
wire coil
pins
magnet
tape
battery
How can the student increase the speed of the electric motor?
O by using wider pins
O by using thinner pins
O by using less wire in the clil
O by using more wire in the coil
e Type here to search
近
arrow_forward
Note: please show step by step solution. Hence, double check the solution. For correction purposes!. I require handwritten working out please!. Kindly, please meticulously, check the image for conceptual understanding and for extra information purposes!. Also on occasions, I receive wrong answers!!. Please go through the question and working out step by step when you finish them. Appreciate your time!.
arrow_forward
Note: please show step by step solution. Hence, double check the solution. For correction purposes!. I require handwritten working out please!. Kindly, please meticulously, check the image for conceptual understanding and for extra information purposes!. Also on occasions, I receive wrong answers!!. Please go through the question and working out step by step when you finish them. Appreciate your time!.
arrow_forward
A VẬT LÝ ĐẠI CƯƠ X
A TongHopTailieul x
A DaoHam.pdf - Go X
A Chương 1 - Good x
The position vec
My Tutoring | ba x
QUIZ 1: MOTION X
f (2) Facebook
O X
Slide 1
O YouTube
(66) YouTube
+ → C D
A Không bảo mật e-learning.hcmut.edu.vn/pluginfile.php?file=%2F1499051%2Fmod_resource%2Fcontent%2F8%2FChapter%201-%20Kinematics.pdf
A YouTube to MP3 C.
M Hộp thư đến (41) -...
Khóa học: Soft Skill.
O Audio Cambridge 1.
A TẠI LIEU WRITING.
t Link tải Cam 1- 15..
iot IELTS Simulation Te.
A (HV] Chương trình...
A BTC OISP GALA 202..
A GĐ2: OISP YOUTH...
A Tổng hợp đề writin.
A REPORT DE THI IEL.
>>
QUIZ 1: MOTION IN TWO AND THREE DIMENSIONS
1 / 5
195%
in meters and t is in seconds. At t = 3.00 s, find (a) the position of the particle, (b) its velocity, and
(c) its acceleration.
1.2. A motorist drives south at 20.0 m/s for 3.00 min, then turns west and travels at 25.0 m/s for 2.00
min, and finally travels northwest at 30.0 m/s for 1.00 min. For this 6.00-min trip, find (a) the total
vector displacement,…
arrow_forward
.com question/22816263
rch for an answer to any question...
it works
For parents For teachers
Honor code
16 nours agO• Chemistry Hign Scnoo1
You are currently in a stable orbit 9000 km
(1km=1000m) from the center of planet Proxima
Centauri B.
According to the calculations done by NASA, Planet Proxima Centauri B has
a mass of approximately 7.6x10^24kg.
Based on fuel consumption and expected material aboard the ship, your
colony ship lander has a mass of approximately 1.1x10^5 kg.
1. Using Newton's Law of Universal Gravitation, determine what the force of
gravity on your ship at that orbit be using the early measurements
2.Using Newton's second law determine the acceleration of your lander due
to gravity
3.Upon arrival, you measure the actual force of gravity to be 6x10^5 N,which
ic difforent from vourcalclated vauein cuection 1 ldentify 2cnocific
e to search
arrow_forward
pls help me to answer this questions
arrow_forward
I need answer within 20 minutes please please with my best wishes
arrow_forward
rush pls with computation
arrow_forward
reful-files from the Internet can contain viruses. Unless you need to edit, it's safer to stay in Protected View.
Your Full Name
Enable Editing
ID:
Sec:
Q1: Which one is stronger; undeformed copper or
copper that has been plastically deformed?
Q2: Which one is stronger; unannealed copper or
copper annealed (heated) at 750° C?
Q3: Why?
101.
O
Focus
arrow_forward
You are assigned as the head of the engineering team to work on selecting the right-sized blower that will go on your new line of hybrid vehicles.The fan circulates the warm air on the inside of the windshield to stop condensation of water vapor and allow for maximum visibility during wintertime (see images). You have been provided with some info. and are asked to pick from the bottom table, the right model number(s) that will satisfy the requirement. Your car is equipped with a fan blower setting that allow you to choose between speeds 0, 1,2 and 3. Variation of the convection heat transfer coefficient is dependent upon multiple factors, including the size and the blower configuration.You can only use the following parameters:
arrow_forward
I need a clear answer by hand, not by keyboard and fast answer within 20 minutes. Thank you | dybala
arrow_forward
Please solve very soon
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Principles of Heat Transfer (Activate Learning wi...
Mechanical Engineering
ISBN:9781305387102
Author:Kreith, Frank; Manglik, Raj M.
Publisher:Cengage Learning
Related Questions
- In a hypothetical scenario respond to the following email to reasuure the owner and in an informative and professional way. Dear Project Manager- I am so excited to have broken ground on the new mixed use space. As I watch the underground utilities such as water, storm drain, and sewer get installed I find myself worrying about failures. What steps are you taking to ensure those systems will not have to be dug up and repaired later in the construction process? We cannot afford a delay of any kind. Could you please explain how you plan to prevent any delays and ensure that the systems are functional and leak free. The other concern that has come up that I would like to address now is the comfort of the office staff. Our current building is not comfortable. I am wondering why. We have the temperature appropriately set and it is easily maintained, but people still complain. What can we do to ensure they will be comfortable in the new building? A few months ago I asked one of our…arrow_forwardHello tutors, help me. Just answer "Let Us Try"arrow_forwardFollow the instructions carefully.arrow_forward
- HELLO, CAN U HELP ME TO MY RESEARCH PART?, MY RESEARCH PART IS DATA GATHERING PROCEDURE, AND I'LL SEND THE SAMPLE THAT MY TEACHER GAVE ME, THIS IS MY TITLE BTW " Students who play Axie Infinity as scholars do not make enough money to support their studies: a qualitative study of Axie Infinity scholars among the students of Precious High Academy" THANKS!arrow_forward13. Here is a list of activity times for a project as well as crashing costs for its activities. Determine which activities should be crashed and the total cost of crashing if the goal is to shorten the proj- ect by three weeks as cheaply as possible. First construct a network diagram. You can use either an AOA or an AON (see Solved Problem 5). Path Activity Duration (weeks) First Crash Second Crash Тор A 5 $8 $10 9 C 3 14 15 Middle 3 11 7 9 3 14 15 Bottom 5 10 15 G 5 11 13 H 5 12 14arrow_forwardQuestion: Continue the previous work, pls create me an Grann Chart for Production of High-Quality Organic Rice. You may assume the activities and days.arrow_forward
- Don't copy paste someone else answer if I get to know I'll report and downvote too do on your own and only handwritten with proper steps not that handwritten onlyarrow_forwardThe following tools / resources may be useful for you to complete the assignment:a. Chatgpt (You may use it to learn Matlab coding or any other computer language. An example is given here: https://shareg.pt/mXHGne9 ). Please take note that code generated by chatgpt can be directly copied and pasted.b. Matlabi) Useful cheat sheet (https://n.ethz.ch/~marcokre/download/ML-CheatSheet.pdf)ii) Getting started with Matlab (https://matlabacademy.mathworks.com/en/details/gettingstarted )iii) Getting 30-day Matlab trial license (https://www.mathworks.com/campaigns/products/trials.html ) iv) Polyfit (https://www.mathworks.com/help/matlab/ref/polyfit.html )v) Exponential Fit (https://www.mathworks.com/matlabcentral/answers/91159-how-do-i-fit-an-exponential-curve-to-my-data)c. PlotDigitizer (https://plotdigitizer.sourceforge.net/ ) or a free online app that does not requires installation (https://plotdigitizer.com/app )You may use your own engineering judgement to make any assumptions on any…arrow_forwardMECT361 Mechatronics Components and Instrumentation PLEASE GIVE ME THE short answer and wite it by keyword thanksarrow_forward
- Please solve, engineering econarrow_forwardYou are a biomedical engineer working for a small orthopaedic firm that fabricates rectangular shaped fracture fixation plates from titanium alloy (model = "Ti Fix-It") materials. A recent clinical report documents some problems with the plates implanted into fractured limbs. Specifically, some plates have become permanently bent while patients are in rehab and doing partial weight bearing activities. Your boss asks you to review the technical report that was generated by the previous test engineer (whose job you now have!) and used to verify the design. The brief report states the following... "Ti Fix-It plates were manufactured from Ti-6Al-4V (grade 5) and machined into solid 150 mm long beams with a 4 mm thick and 15 mm wide cross section. Each Ti Fix-It plate was loaded in equilibrium in a 4-point bending test (set-up configuration is provided in drawing below), with an applied load of 1000N. The maximum stress in this set-up was less than the yield stress for the Ti-6Al-4V…arrow_forwardIn the automotive industry, supercars are highly accredited with how they are manufacture; from the type of car chassis used to the type of materials employed. Often enough, companies like BMW, Mercedes & Audi produces supercars that exemplifies a better reliability compared to other automotive manufacturing companies. This is because they pay close attention to the details on how the car is manufactured; right from raw materials to a finished supercar. The task given to you is to watch the video link provided below & explain the electrostatic process acquired for the two different models of BMW vehicles. https://www.youtube.com/watch?v=sUqKUbmdOr0 Pls watch the video before answeringarrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Principles of Heat Transfer (Activate Learning wi...Mechanical EngineeringISBN:9781305387102Author:Kreith, Frank; Manglik, Raj M.Publisher:Cengage Learning
Principles of Heat Transfer (Activate Learning wi...
Mechanical Engineering
ISBN:9781305387102
Author:Kreith, Frank; Manglik, Raj M.
Publisher:Cengage Learning