Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using MATLAB, here is what I have so far clc clear close all M={'Concrete', 12, 30, 85000, 900, 4, 4;'Wood', 18, 50, 100000, 800, 12,

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Using MATLAB, here is what I have so far

clc

clear

close all

M={'Concrete', 12, 30, 85000, 900, 4, 4;'Wood', 18, 50, 100000, 800, 12, 10;'Adobe', 15, 42, 55000, 600, 4, 5'};

choice = menu('choose a type of material',M(1:3,1));

choice = {M{choice,1:7}};

%Surface Area

SurfaceArea = 3000; %ft^2

%Thickness of wall

Thickness = choice {1,2}/12 %converting to feet

MaterialCost = choice{1,3}, %$/ft^3

MicellaneousMaterial = choice{1,4}; %$

LaborCost = choice{1,5}; %$/(person week)

Laborers = choice{1,6}; %people

Weeks = choice{1,7}; %weeks

MCost = Thickness*SurfaceArea*MaterialCost %Totalcost

LCost = LaborCost*Laborers*Weeks %Total cost of labor

FixedCost = MCost + LCost + MicellaneousMaterial; %

%Variable Costs and Revenue

%Cost Variables

Energycost = input('Energy Cost:'); %$

Laborcost = input('Labor Cost:'); %$

Landfillcost = input('Land Fill Cost:'); %$

Maintenancecost = input('Maintenance Cost:'); %$

%Revenue Variables

Priceadmission = input('Price admission per person:')

People = input('# of people per week:') %$

Donations = input('Expected donations per week:') %$

%Process

TFixedCost = FixedCost

VariableCost = Energycost + Laborcost + Landfillcost

Calculatlon Procedure for Constructlon (Fixed Cost) The program that you create will perform a complete Breakeven Analysis for a single construction option. Your team then should be able to perform several complete Breakeven Analyses in order to provide the final financial benefits of a single construction option To begin, your team must calculate the total cost of construction for three different construction materials. The total construction cost will be the "fixed cost" of your analysis. To begin, there will be 3 construction materials to choose from and all the information gray) MUST be contained within one 3 x 7 cell array. The cell array will be organized as below (do NOT include the titles highlighted in Number of Laborers people) Miscellaneous Number of weeks of construction Thickness of Material cost Labor Cost Material Construction Materials (s/(person week) wall [in] [s/ft3] Concrete Wood Adobe 12 1 1 0 0 2 85,000 100,000 55,000 12 10 600 The program should use a menu listing three material options: Concrete, Wood, or Adobe, pulled from the cell array. You may NOT hardcode or use an "if statement/switch statement" to retrieve these names. This menu should automatically change should the cell array be altered as to the number and types of materials The program should set the total surface area of the wall to be 3000 square feet The program should then calculate the total cost of construction considering all costs above, in appropriate units. You should use this total as your fixed cost. . . . Note: In all your calculations, your numbers should be able to automatically adjust should more materials be added to the cell array. No credit will be given to hardcoded values or the use of "if statements/switch statements." Calculatlon Procedure for Constructlon (Fixed Cost) The program that you create will perform a complete Breakeven Analysis for a single construction option. Your team then should be able to perform several complete Breakeven Analyses in order to provide the final financial benefits of a single construction option To begin, your team must calculate the total cost of construction for three different construction materials. The total construction cost will be the "fixed cost" of your analysis. To begin, there will be 3 construction materials to choose from and all the information gray) MUST be contained within one 3 x 7 cell array. The cell array will be organized as below (do NOT include the titles highlighted in Number of Laborers people) Miscellaneous Number of weeks of construction Thickness of Material cost Labor Cost Material Construction Materials (s/(person week) wall [in] [s/ft3] Concrete Wood Adobe 12 1 1 0 0 2 85,000 100,000 55,000 12 10 600 The program should use a menu listing three material options: Concrete, Wood, or Adobe, pulled from the cell array. You may NOT hardcode or use an "if statement/switch statement" to retrieve these names. This menu should automatically change should the cell array be altered as to the number and types of materials The program should set the total surface area of the wall to be 3000 square feet The program should then calculate the total cost of construction considering all costs above, in appropriate units. You should use this total as your fixed cost. . . . Note: In all your calculations, your numbers should be able to automatically adjust should more materials be added to the cell array. No credit will be given to hardcoded values or the use of "if statements/switch statements

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Management With Website Development Applications

Authors: Greg Riccardi

1st Edition

0201743876, 978-0201743876

More Books

Students also viewed these Databases questions

Question

How does a Pareto chart assist management?

Answered: 1 week ago