Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A factory produces CPTs ( cheap plastic tat ) . The profit from each CPT is 5 . 0 0 . Conversely if a CPT
A factory produces CPTs cheap plastic tat
The profit from each CPT is
Conversely if a CPT fails during the month warranty period, the net profit from the CPT is ie all profit is refunded
CPTs suffer from two types of faults:
Overuse faults: the probability of a given CPT having an overuse fault during month t is tt
Factory faults: the probability of a given CPT having a factory fault during month t
is t t
Contextual knowledge unnecessary for answering this question here
a Build a function remainprob which has no input, and which outputs the probability of a CPT surviving the first months without a fault. Run it so we can see the output.
b Build a function factorysimulationn::Number that simulates faults in n CPTs over months. EG n The function should output a vector v where vi is the number of remaining ie unbroken CPTs on month i
Plot the output of this simulation as a scatter plot. EG with
scatter: v xlabel"days", ylabel "functioning CPTs ylims label false
The factory can invest in making better products.
If it invests per CPT in reducing factory faults, the factory fault probability scales by a factor
In other words, the overuse fault probability becomes
If it invests per CPT in reducing overuse faults, the overuse fault probability also scales by the same factor
Of course, no amount of investment can reduce the factors and below zero.
c Build a function profitxy that calculates the expected profit for items if
are invested in reducing factory faults, and
are invested in reducing overuse faults.
d Let be the mathematical representation of the profitxy you didnot make in the last question. Suppose the factory is commited to investing exactly
pence per CPT in fault reduction.
Write the optimisation problem the company has to solve to maximise profit. You don't need to write a mathematical expression for
What condition on the gradientjacobian of
should hold for a locally optimal allocation of investment?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started