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

  Economics assignment

This document contains various important questions and their appropriate answers in the subject field of Economics.

  Demand and supply curves

Economics is the study of the principles governing the allocation of scarce means among competing ends when the objective of the allocation is to maximize the attainment of the ends.

  Long-run perfectly competitive equilibrium for the firm

Evaluate Government intervene and correct this situation?(a) Explain the concept of a concentration ratio. A rise in the price of magarine Explain the impact of external costs and external benefits on resource allocation long-run perfectly c..

  Supply and demand diagrams

Explain each of the following using supply and demand diagrams,  With the use of a graph, explain how these two programs affect cigarette consumption and the price of cigarettes.

  Case study: fisher-price toys

The case study of the Fisher-Price Toys, Inc., a popular case in basic economics and management from the prestigious Harvard Business School.

  Draw the production possibility curve

Draw the production possibility curve and a. Define consumer surplus and producer surplus.

  Tax revenue

The Australian government administers two programs that affect the market for cigarettes

  Maximize total welfare

How many tickets to sell to maximize total welfare.

  Difference between the cv and the ev

The change in consumer surplus (?CS) is not "theoretically" justifiable like the CV and EV but it continues to be the most widely used measure of consumer welfare change. Explain how this can be reconciled

  Depict von neumann-morgenstern utility index u in a diagram

Depict the von Neumann-Morgenstern utility index u in a diagram

  What is the market solution

What is the market solution (market price and quantity) and What is the total surplus of the society under the market solution

  Calculate gross national product and net national product

Calculate gross national product and net national product

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