ENGR_1251_Project
m
keyboard_arrow_up
School
University of Texas, Arlington *
*We aren’t endorsed by this school
Course
1250
Subject
Industrial Engineering
Date
Feb 20, 2024
Type
m
Pages
2
Uploaded by SuperOkapi3224
%{
Preston Nguyen, Christian Morgan, Tuan Le
Problem Statement: Perform a breakeven analysis on different construction
materials for a zoo.
Variables:
materials - construction materials [String]
surfaceArea - total surface area of the wall [ft^2]
select - menu to select construction material options [String]
fixedCost - total construction cost for construction material [$]
%}
clear; clc; close all
%Set the input variables and constants listed above
materials = {'Concrete' 16 30 96000 900 5 5; 'Wood' 23 53 115000 800 12 11; 'Adobe' 18 42 68000 600 6 5};
surfaceArea = 3000;
select = menu('Select the material for construction:', materials{:,1});
fixedCost = (((materials{select,2} / 12)*materials{select,3}*surfaceArea)
+materials{select,4}+
(materials{select,5}*materials{select,6}*materials{select,7}));
%Allow the user to input the operational variable cost
Ec=input('Energy Cost [$/week]: ');
Lbc=input('Labor Cost [$/week]: ');
Mc=input('Maintenance Cost [$/week]: ');
Lfc=input('Landfill Cost [$/week]: ');
Nw=input('Number of weeks per year the zoo will operate: ');
Ny=input('Number of years the analysis should include: ');
%Allow the use to input the zoos antiipated public interest ad donations
Pa=input('Price of admission per person [$/person}: ');
Pw=input('Number of people per week that will visit the zoo: ');
Edw=input('Expected donations per week [$/week]: ');
%Calculate the total cost of operating the enclosure per week
operationCost = Ec+Lbc+Mc+Lfc;
%Calculate the total cost to operate the selected construction option for
%the number of years requested
weeksToConstruct = materials{select,7};
totalCostOption = [1:Ny];
totalCostOption = (totalCostOption(1,:)*Nw - weeksToConstruct).*operationCost;
%Calculate the total revenue for the number of years requested
revenue = [1:Ny];
revenue = (Pa*Pw+Edw)*Nw*revenue(1,:);
%Calculate the total profit for the number of years requested
profit = [1:Ny];
profit = revenue - totalCostOption(1,:);
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