Reference no: EM13322916
You are analyzing a manufacture process. you are working with managers who are responsable for buying components for the manufacturing process. each manager has a specific budget to buy a unique component each month; any one manager can only buy one type of component each month.compnent A has a cost of $2.25 per unit;component b $3.50;component c $1.25;component d$4.10.
To help them make purchase decisions you want to write a matlab program.
a) The program should ask the user three things:Which unit (A,B,C or D) he or she is responsable for buying,how many units the want to buy,and total budget for month.
b)Program must calculate total cost of intis based on managers input. in addition the program must check to see if the total costs exceeds the managers budget.
c.The program must output the total number of units, and the total costs. if the total cost of the units is less than the amount budgeted, the output should read "it would cost $xx.xx to purchase N units of component C."
if the total cost of the units exceeds the budget, the output should read "you can only purchase N units of component C for a budget of $xx.xx.
|
What is the volume of the box as we observe it
: In its own reference frame, a box has the shape of a cube 2.5mon a side. This box is loaded onto the flat floor of a spaceship, What is the volume of the box as we observe it
|
|
Determine the exit temperature if the gas is argon
: A diffuser receives an ideal gas flow at 100 kPa, 300 K with a velocity of 250 m/s and the exit velocity is 25 m/s. Determine the exit temperature if the gas is argon, helium or nitrogen.
|
|
Explain what is the normal boiling temperature
: The following reaction is known to have a standard change in enthalpy of 148 kJ/mol and a standard change in entropy of 312 J/(mol•K) at 25ºC. What is the normal boiling temperature (ºC) of XY3? XY3(l) ? XY3(g)
|
|
Estimate concentration of tba after 10 minutes of oxidation
: A groundwater is contaminated with methyl tertiary butyl ether (MTBE) at a concentration of 20 mg/L.the groundwater will be treated with an advanced oxidation process that involves formation of hdyroxyl free radical (OH*).
|
|
How many units the want to buy
: The program should ask the user three things:Which unit (A,B,C or D) he or she is responsable for buying, how many units the want to buy,and total budget for month.
|
|
What is the angle of the third order peak
: In an X ray scattering measurement the first order diffraction peak is observed at angle 1= 17.4 deg. What is the angle of the third order peak
|
|
What amount was realized from the sale to actually use
: A $2 million school-bond issue bearing interest at 15 percent payable annually and maturing in 25 year was sold at a price which a 20 percent annual rate of return to the investors. The brokerage fee for handling the sale was 0.3 percent of th..
|
|
Determine horizontal distance ab and elevation of point a
: The height of the instrument during this measurement was 1.60m From the same setup from point A, the zenith angle and slope distance toward point B are measured as 83deg 32'30" and 186.23m respectively, while the elevation of point B is 315.34m AM..
|
|
Define what is the final total pressure
: If the valve is open and the gasses mix and assuming that the temperature is constant, what is the final total pressure
|