Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a Python function to calculate the downward velocity of a free-falling bungee jumper. The function freefall should have as input parameters t(s) the

  

Create a Python function to calculate the downward velocity of a free-falling bungee jumper. The function freefall should have as input parameters t(s) the time for the free-fall, m (kg) the mass of the jumper, and Cd (kg/m) the second order drag coefficient for a typical jumper. The output parameters would return v the velocity (m/s). The acceleration of gravity constant is 9.81 m/s and the velocity v can be calculated from v = mg Cd * tanh gCd m * t The Python functions for square root and hyperbolic tangent are not present in basic Python. So you will need to import the math module; the commands for the hyperbolic tangent would be math.tanh(X) and for square root it would be math.sqrt(X). The main program would input the values for time, mass, and the second order drag coefficient, call the function freefall, and print the velocity at time t. For testing purposes, the drag coefficient should be in the range of 0.1 to 0.7 kg/m, and time should be less than 10 seconds.

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

Recommended Textbook for

Matlab An Introduction with Applications

Authors: Amos Gilat

5th edition

1118629868, 978-1118801802, 1118801806, 978-1118629864

More Books

Students also viewed these Programming questions

Question

Discuss the scope of Human Resource Management

Answered: 1 week ago

Question

Discuss the different types of leadership

Answered: 1 week ago

Question

Write a note on Organisation manuals

Answered: 1 week ago

Question

Define Scientific Management

Answered: 1 week ago

Question

Explain budgetary Control

Answered: 1 week ago