Determine the distance the object falls in a specific

Assignment Help Business Economics
Reference no: EM132164282

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: EM132164282

Questions Cloud

What congressional committees are important to health policy : This discussion should not be a formal paper and needs no cover page. It should have a reference page if you have references, and should be double-spaced.
Impact including applicable aspects of culture and ethics : Compare and critically appraise both leadership styles and organizational impact including applicable aspects of Culture and Ethics
What are the major components of the criminal justice system : What are the major components of the criminal justice system, and do the components collaborate and cooperate to function as a system? 200 words.
Display the lcs table produced by the algorithm : In this programming exercise you will implement the algorithm we developed in class for solving the Longest Common Subsequence problem.
Determine the distance the object falls in a specific : 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:
Print the adjacency matrix of the graph : Write a program that implements a backtracking algorithm that solves the m-Coloring Problem as presented in class and given in your text.
Should peter pablo be found guilty of arson in the scenario : Peter Pablo, a shift supervisor in the distribution center, worked for Jabil Circuits for six years. Peter is experienced in operating all of the machinery.
Write a program that picks four cards from a deck : Write a program that picks four cards from a deck of 52 cards and computes their sum.
How researcher critically reviewed the relevant literature : RES 8111 – Research Methods - How the researcher identified the research topic, and later generated the research question - How the researcher emphasized

Reviews

Write a Review

Business Economics Questions & Answers

  Designing both for economically-developed countries

You are interested in designing both for economically-developed countries and third-world countries. In economically-developed countries there are working dialysis systems, but your design would be an improvement. In the third-world, access to any di..

  What property tax rate will necessary to fund public service

Suppose that there are 150 houses in the community with 2,000 square feet (providing services that rent for $10,000 per year). The interest rate is 4% and with proper maintenance all of the houses will last forever. In an election the population deci..

  What equal monthly investment is required over period

What equal monthly investment is required over a period of 40 years to achieve a balance of $2,200,000 in an investment account that pays monthly interest of 0.25%? If montly interest is 2.5%

  What will the effects of the tax be in the short run

What will the effects of the tax be in the short run on industry output and price. Will the price rise by the full ?ve cents in the short run.

  The production theory in the long run

Draw the isocost line corresponding to a total cost of $10,000 is: 50 L + 100 K. TC = w L + r K, where L is the quantity of labour, K is the quantity of capital, w is the price of labour, and r is the price of capital. And draw the isoquant curve on ..

  Find the minimum sample size needed

No preliminary estimate is available. Find the minimum sample size needed.

  Demand curve-consumer surplus is the area

From a demand curve, consumer surplus is the area:

  Making predictions about market outcomes

According to the World Bank’s Mind, Society, and Behavior, which two economists are associated with the removal of psychological factors from economics generally and from “making predictions about market outcomes” in particular?

  Is mary correct or not in her assertion

A friend tells Mary that parking her RV there must be really expensive. Mary says that parking her RV there costs her nothing because she owns the land.

  Area of managerial economics

Using Isaiah 55:1-5 and Daniel 5:17-31, what are some ideas on how the Bible guides in the area of managerial economics. Provide workplace examples.

  Relates to producer and consumer surplus

Assume that you were ready to buy a custom tailored dress (or men’s suit) and you are prepared to pay up to $200 for it. Also assume that the tailor is prepared to sell that item of clothing for as little as $100. When you arrive at the tailor shop, ..

  Theoretical maximum revenue and quantity

What would be the theoretical maximum revenue and quantity given this demand schedule?

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