The program that you create will perform a complete Breakeven Analysis for a single option (to complete the analysis for all four options, you will need to run the program four times). Your team then should be able to perform several complete Breakeven Analyses in order to possibly justify purchasing new equipment. The program should ask the user the following questions:
- The program should ask a user to enter:
- The program should ask a user to enter the following information: oName of the equipment option, entered as text
- Cost to purchase equipment [$]
- Energy cost [$/widget]
- Labor cost [$/widget]
- Maintenance cost [$/widget]
- Landfill cost [$/widget]
- Machine production [widgets/day]
- Material costs [$/lbm]
- The program should ask the user to enter the plant operation schedule:
oThe weight of each widget to be produced, in grams
oThe projected selling price of each widget, in dollars
oThe following values for the choice:
oNumber of days per week the plant will run
oNumber of weeks per year the plan will run
oNumber of years the analysis should include
The program should conduct a breakeven analysis on each equipment option using these steps:
- Determine the total variable cost of producing the widgets.
- Determine the total cost to operate the entered machine for the number of years requested by the user.
- Determine the total revenue for the number of years requested by the user.
The total cost vector should be calculated for the number of years requested, where each column is a year.
The total revenue vector should be calculated for the number of years requested, where each column is a year.
Determine the total profit for the number of years requested by the user.
The total profit vector should be calculated for the number of years requested, where each column is a year.
The program should now determine the breakeven point in months and in number of widgets for each option. This should be accomplished by creating a mathematical formula to express the breakeven point (time or widgets) as a function of cost.
Summary of Results
In the program, summarize the results in a manner similar to the following in the Command Window:
The machine listed below will operate for ## days per year.
Producing ## widgets each week will generate per year:
Total number of widgets produced per year: #.#e+###
The breakeven time is # months or # widgets. The total profit after # years is $####.
The revenue and cost should be displayed with no decimal places, and the total number of widgets produced should be displayed in exponential notation with one decimal place. In addition, the lines should be shown using tabs to indent from the left margin as shown. The "NAME" character in the output displayed above will be text that was entered in the program you created. The number of months to breakeven, widgets to breakeven, total number of years, and the total profit should all be displayed with no decimal places.
Finally, your program should create two figures:
- The program should generate a proper plot with the number of widgets produced on the abscissa, and the revenue and total cost on the ordinate for the equipment option. This figure should also include a large point on the line to indicate the found breakeven point.
- The program should generate a proper plot to display the profit of the equipment choice with respect to time. This figure should also include a large point on the line to indicate the found breakeven point.