Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please provide object oriented java code Bungee jumping is an activity that involves a person jumping from a great height while connected to a large

image text in transcribedplease provide object oriented java code

Bungee jumping is an activity that involves a person jumping from a great height while connected to a large elastic cord. The launching pad is usually erected on a tall structure such as a building or crane, a bridge across a deep ravine, or on a natural geographic feature such as a cliff. Assume this is a single dimensional motion where the jumper is moving in a straight line. There are five variables that are put together in several equations for describing this motion: Eql: v1 = vo taxt Eq2: d = averageSpeed x t, averagespeed = (vo + v1)/2 Eq3 : d = vo xt + axt2/2 (Eq3 is derived from Eq 1 and Eq2) Eq4: v = v + 2 xa x d (E94 is derived from Eq 1 and Eq2) Suppose a jumper is released from the top of a building, write a program to find out the length of the bungee cord, given the travel time for the jumper groundward using any of the above equations. Note that the acceleration due to gravity is constant 9.8m / s?. Here is a sample run: Enter the jumper travel time in seconds: 25 The length of the bungee cord is 30.625000000000004 meters

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Is it appropriate to your goal and audience?

Answered: 1 week ago

Question

=+ Are they breakable for any reason?

Answered: 1 week ago

Question

=+When and under what circumstances are contracts renegotiated?

Answered: 1 week ago

Question

=+Are the contracts enforceable?

Answered: 1 week ago