Exercise requires designing a program

Assignment Help Business Management
Reference no: EM132162411

This exercise requires designing a program which solves the problem described in the problem statement below. Provide comments in your pseudo-code and Java program as necessary.

Your solution must include three components:

  1. Flowchart
  2. Pseudo-code
  3. Program coded
  4. Program output

Problem Statement

When an object is falling because of gravity, the following formula can be used to determine the distance the object falls in a specific time period:

d = ½ gt2

The variables in the formula are as follows:

  • d is the distance in meters
  • g is 9.8
  • t is the amount of time, in seconds, that the object has been falling.

Module main. Displays heading "Time" and "Falling Distance". Uses a loop to generate times 1-10. For each iteration of the loop, a function fallingDistance is called to calculate the distance the object falls. The time and distance are displayed under the headings.

Module fallingDistance. Accepts each time 1-10 and calculates the distance an object falls during that interval. The falling distance is returned to main.

Expected Outcome

Your results should be similar to the following:

The distance an object travels in meters for times 1-10 seconds is as follows.

Time Distance

1 4.90

2 19.60

3 44.10

4 78.40

5 122.50

6 176.40

7 240.10

8 313.60

9 396.90

10 490.00

Reference no: EM132162411

Questions Cloud

How much authority a project manager will possess : Which of the following people has the greatest influence on how much authority a project manager will possess on a given project?
What is the required rate of increase in the tax rate : Millville must maintain its tax collections at a constant value of $3.2 million to maintain services. What is the required rate of increase in the tax rate
What impact do tariffs and quotas have on the welfare : What impact do tariffs and quotas have on the welfare of the US? Use economic principles and data in your reasoning. Make sure you discuss advantages.
What is his salary for year : Sam receives a starting salary offer of $30,000 for year 1. If he expects a 4% raise each year, what is his salary for year 10? Year 20? Year 30? Year 40
Exercise requires designing a program : This exercise requires designing a program which solves the problem described in the problem statement below.
What are the company most significant internal risks : Internal. What are the company's most significant internal risks and opportunities related to the project? How might they affect your financial estimates.
Draw a cash flow diagram for the life-cycle of the new car : Summarize the assumptions and costs in a report. Draw a cash flow diagram for the life-cycle of the new car
Why do you think it is important to analyse the existing : MGT101 : Why do you think it is important to analyse the existing strengths and weaknesses of a business before taking strategic decisions?
Explain the process of charpy impact testing : Diploma in Marine Surveying FLR2963 - Explain the term critical equipment and provide two clear examples of machinery which falls into this category on board

Reviews

Write a Review

Business Management Questions & Answers

  Definition of culture and socialization

Sociologist argue that the individual must first learn society's culture in order to effectively interact with those around him/her. to What extent to you agree to this statement. 1. Respond on whether you agree or disagree with the discussion topi..

  Firms that have sustained competitive advantage

Find examples of firms that have sustained competitive advantage by competing on the basis of (1) cost leadership, (2) response, and (3) differentiation.

  Corporate social responsibility ashford university discussio

In your own words, explain what corporate social responsibility (CSR) is. Name two examples of social responsible companies you know and explain why you consider them so.

  What is the myth of amoral business

What is the Myth of Amoral Business? If business operates within the law, does it thereby automatically operate morally? Most moral judgements in business are made on such generally accepted rules as.

  Describe any recommendations for improvement

Must include a separate references page that is formatted according to APA style.

  How to identify customer relationships with the organization

Explain how to identify customer relationships with the organization. Companies that implement a CRM system adhere to a customer-centric focus or model.

  Explain how does teva compete in the generic pharmaceuticals

Explain How does Teva compete in the generic pharmaceuticals industry and What is its competitive advantage

  Implementing solutions to improve and expand telehealth

Please view this short video (https://www.youtube.com/watch?v=8FMtugoDjbQ) and read the following article before starting this module assignment:

  How the point of view influences the story

Consider the point of view of the narrator in The Iliad and how the point of view influences the story.

  Illustrate what factor contribute to the country competition

Illustrate what factors contribute to the country's competitive advantage in the production of textiles? Explain how important are the countries supporting industries to the country's textile trade?

  Focus on marketing details

The company has been a success story world-wide because of its focus on marketing details and because it plans globally yet acts locally.

  Primary methods of data collection

Is it possible to use secondary data methods as substitutes of primary methods? Justify the answer with suitable illustrations and using data from different

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