Design debug and test a java program that estimates safety

Assignment Help JAVA Programming
Reference no: EM131427650

Assignment -

The purpose of this assignment is: 

  • Data types, variables, constants
  • Expressions, Math methods, Executable statements
  • Input/Output
  • Comments

OBJECTIVE - Design, debug and test a Java program that estimates safety of industrial blasts and displays reports.

BACKGROUND - Industrial blasting is widely used in the recovery of mineral resources, both in surface mining and quarrying for rock fragmentation and displacement of the broken rock. However, if the blasting process is not organized properly, the rock fragments may be thrown beyond the clearance zone which may result in accidents. Due to the vital importance of industrial blast safety, the major blast parameters and factors affecting maximum projection range have to be estimated to establish a blast safety zone.

A commonly used equation to calculate the safe distance from a blast is:

Safe Distance = FOS × 11 × sdob-2.167 × d0.667

where

FOS is a factor of safety that is currently equal to 1.5 (may be changed due to government regulations)

d is a borehole diameter (millimeters)

sdob is the depth of burial (m/kg1/3)

The sdob is calculated as

sdob = (sl + 0.0005 × cclf × d )/( 0.00923 × (cclf × d3 × ED)0.333)

where 

sl is a stemming length (meters)

d is a borehole diameter (millimeters)

ED is explosive density (grams/centimeter3)

cclf is contributing charge length factor

The cclf is calculated as

cclf = 1000 × cl / d

where 

cl is a charge length (meters)

d is a borehole diameter (millimeters)

When cclf is greater than 10, it is limited to 10.

282_Figure.png

The company always uses the same type of industrial explosive with density ED = 1.4 grams/centimeter3 and currently is not planning to use other explosives. However, it may be changed in future if they change the supplier.

CODING REQUIREMENTS 

Your program shall be implemented using material covered in lectures 1-4. 

Your program shall be compliable by JDK SE 7

Your program shall have only one class that contains only one method main(). 

Your program shall define symbolic constants for all values which have a physical

meaning, are currently fixed, but there is a chance that they may be changed in future.

However, there is no need to define symbolic constants for those values which are permanently built into formulas and will never be changed.

In this assignment you can presume that the user input always correct (input verification is not required). Your program shall input blast parameters in the following order:

-  charge length (cl)

-  stemming length (sl)

-  borehole diameter (d)

The program shall perform all calculations with double precision. The safe distance shall be displayed as an integer value.

An example with two test cases is shown below. Your program must take the input parameters in exactly the same order and produce output in exactly the same format.

Assignment Files -

https://www.dropbox.com/s/45lqn2qptffckil/Java%20Programming%20Assignment.zip?dl=0

Reference no: EM131427650

Questions Cloud

Discuss about the labor market and organizations : The United States has a very free labor market, and organizations both small and large have the freedom to produce, buy, and sell products as long as it is in compliance with the law. Every organization has their rules and policies that all employ..
Important step in detecting and preventing such practice : Analyzing why and how insider fraud occurs is an important step in detecting and preventing such practice. Describe fraud risk management.
Identify three new principles or theories of management : MNGT 5000: Early in the course we discussed bureaucracy. We said this form of organization was the starting point for understanding all modern organizations. Based on the text and other class readings develop an essay that begins with a brief def..
Workplace with a diverse workforce : 1. In a workplace with a diverse workforce, how could an English-only rule create lower morale, poorer communication, and lower productivity. Explain and provide example(s).
Design debug and test a java program that estimates safety : CSIT811 Assignment. OBJECTIVE - Design, debug and test a Java program that estimates safety of industrial blasts and displays reports
Compute the probability of the top event : a. What equation should you use to compute the probability of the top event? b. Using the equation, what numerical value do you get for the top event probability?
Appropriate appraisal of the ethical nature of the situation : Pretend Payless shoesourse is considering selling customer data gained through their Facebook page to a 3rd party as a way to increase revenue. What other information or reference points would help you to make an appropriate appraisal of the ethical ..
What issues need to be considered when implementing : You are tasked with developing an ethics policy for a jewelry company. After meeting with the CEO, you both agree the policy must cover the following: gifts from vendors, use of confidential information, and conflicts of interest. You take your ch..
Measure the readiness of the healthcare system : One of the major feature of evaluation is to measure the readiness of the healthcare system and ensure that it will not incorporate any risk to patients or organization. Discuss the risk assessment and provide example of health or public informati..

Reviews

len1427650

3/15/2017 12:51:50 AM

Submit your assignment before the due date. You can resubmit later if necessary. Only the latest submission will be tested and marked providing that you have submitted at least one meaningful solution before the due date. Otherwise, resubmitted assignments will not be assessed. Submission via email is not acceptable. Assignments without properly filled assignment headers will not be marked. Enquiries about the marks can only be made within a maximum of 1 week after the assignment results are published. After 1 week the marks cannot be changed.

len1427650

3/15/2017 12:50:46 AM

Read the assignment specification carefully, and make sure that you follow whatever directed in this assignment. In every assignment that you will submit in this subject, you must put the following information in the header of your assignment.

len1427650

3/15/2017 12:50:38 AM

Australian student, this is java assignment, please read all the instructions carefully and please check the lecture pdf attachments also. Lecture attachments are for your help. I hope I will get best. Try to prepare it in notepad++. Please make sure no errors...must be compiling because I have to submit it online in the tutorial lab. For more information’s please ask me at any time by email.

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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