How many units the want to buy

Assignment Help Computer Engineering
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.

Reference no: EM13322916

Questions Cloud

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

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd