Create a program that demonstrates the core algorithms

Assignment Help Programming Languages
Reference no: EM13838858

This is an investigation assignment. You will work on this in your own time and complete the work ready for submission by the advertised deadline.

Construction Quotation Assistant

You have been approached by a local small business that specializes in the construction of concrete retaining walls to create an application to enhance part of the core functionality of the business. The application you are to create should automate the quotation process for pricing
the construction of retaining walls.

Each square metre of retaining wall costs a base amount of $514.72. This cost covers the price for site preparation, supply of material and construction of wall. Issues impacting the construction and therefore price of retaining walls include the following: difficulty of the land where the wall is to be built (normal, sandy, limestone, bluestone), the ease of access to the site, and the address of the walling project.

The user of the application will be able to specify the length of the wall and the height of the start and end of the wall. Concrete sleepers are 2m in length and 200mm in height. For this application it can be assumed that all walls are to be built from this basic size.

For this task you are asked to create a program that demonstrates the core algorithms that will prototype the general operation of the application. It should be a text based application that will accept user input and display the price and number of sleepers required for a retaining wall.

The output should not only provide the two values mentioned previous but should also provide an itemized representation of each bay of sleepers. Finally you should capture all inputs for a session and write these values out to a CSV file that could potentially be opened in a spreadsheet application.

The following is a typical interaction session (user input is in bold):

Welcome to the Quotation Assistant

Use this application to generate the required number of sleepers for your job and the initial quotation.

By using trigonometry calculations you can calculate the height of individual bays. The required is as follows:

a. Calculate the angle of the entire wall from the lowest height to the start of the highest bay height, ie:

b. Using this angle and the known length of each bay, the number of sleepers for each bay can be calculated. If the calculated height of a bay exceeds half the height of a sleeper than a full sleeper is required. For example a height of 249mm for a bay will require one sleeper; a height of 499mm will require 2 sleepers; a height of 750mm will require 4 sleepers.

c. The total number of sleepers can then be used to calculate the total metres squared required to construct the wall, which can then be used to calculate the total cost.

You will need to ensure that the user supplies the correct input values. If incorrect values are supplied then you should ask for them to be re-entered.

Reference no: EM13838858

Questions Cloud

What legal contract law doctrine could contractors use : What legal contract law doctrine/defense could Contractors use to justify its request for additional money to complete the project
Draw supply-demand diagram of the federal funds market : Draw a supply- demand diagram of the federal funds market and show the effects of a Federal Reserve Purchase of $85 billion in US Treasury Notes during a Quantitative Easing Campaign after the Fed has already lowered its Fed funds target to 0 - .25%.
An emulsion polymerization of styrene : During interval II of an emulsion polymerization of styrene at 60?, there are 2.7 x1016particles/dm3 of latex, each latex particle containing styrene monomer at a volume fraction of 0.53. Given that, a reaction temperature, the density and rate coeff..
An engineer is designing a reactor : An engineer is designing a reactor that will be filled with oxygen under high pressure. The volume of the reactor is 253 L, the maximum temperature inside the reactor will be 250ºC, and the pressure inside the reactor must not exceed 150 atm. The eng..
Create a program that demonstrates the core algorithms : Create a program that demonstrates the core algorithms that will prototype the general operation of the application.
Present value of perpetuity-present value of perpetuity : The present value of a perpetuity that pays $F every year when the annual rate of discount is i is? Consider a three-year fixed-payment security that has a present value of $1,000. If the annual rate of discount is 7 percent, the payment made at the ..
Why the receipts in egerton warburton & ors were assessable : Explain why the receipts in Egerton-Warburton & Ors v DFC of T (1934) 51 CLR 568 were assessable, but the receipts in IRC v Ramsay (1935) 1 All ER 847 were treated as capital amounts.
The appropriate arrhenius expressions : Assuming that in free-radical polymerization the rate constants can be replaced by the appropriate Arrhenius expressions: kd = Adexp(-Ed/RT) kp = Apexp(-Ep/RT)
What are the possible repercussions from a crime fighting : What are the possible repercussions from a crime fighting, public safety perspective of not investing in available new technologies being prominently employed in other local law enforcement agencies

Reviews

Write a Review

Programming Languages Questions & Answers

  Write program using while loop to output squares of integers

Write a program that uses while loop to perform the following steps:Output the sum of all the even numbers between firstnum and secondnum inclusive. Output all the numbers and their squares between firstnum and secondnum inclusive.

  Implement comparators to support sorting

Extend Project 1 to use advanced data structures and support sorting on various keys.

  Program accept word from user and pass it to function

Your program should accept the word from user and pass it to function. Function requires to check if word is "freezing". If it is, program must alert user.

  Project code in visual studio console application

Project code in visual Studio Console application and class library and the PADI project aims at implementing a simpli ed distributed software transactional system.

  Write attribute grammar using only synthesized attributes

Semantics of this string literal is correct if numeric value of baseten numeral matches length of string. Write attribute grammar using only synthesized attributes for nonterminals in definition of

  Provide pseudocode of your overall design

our final project will be to analyze, design, and document a simple program that utilizes a good design process and incorporates sequential, selection and repetitive programming statements as well as function and subprogram calls and uses arrays. ..

  Write program to establish two savings accounts

Write program which establishes two savings accounts with saver1 having account number 10002 with initial balance of $2,000, and saver2 having account 10003 with initial balance of $3,000.

  Write program to operate as point of sale application

Write down program which will operate as the point of sale (POS) application at carpet retailer. Carpet will be sold by square yard. Padding will be sold by square yard.

  How to make game in pascal programming lanuage

How to make game in pascal programming lanuage

  Write function to accept single argument-find prime number

Write down function named isPrime( num ) which accepts the single argument (num) and returns True if argument is prime, and False otherwise.

  Design a driver to test implementation of program

Design a driver to test your implementation. Add various random elements to heap, and then remove & display smallest element.

  Write an r function that can be used to produce graph

Write an R function that can be used to produce this kind of graph - It is important that you make the function exible by providing optional arguments that control how the function behaves.

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