Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Program in Python please The altitude of an object thrown upwards can be described by the following formula, which relates altitude ( z ) to
Program in Python please
The altitude of an object thrown upwards can be described by the following formula, which relates altitude
z to time t:
z z m
c
v mg
c
ecmt
mg
c t
In this equation, the variables are defined as follows: z represents the initial altitude from which the
object is launched, m stands for the mass of the object, c is the drag coefficient, and v denotes the initial
velocity with which the object is launched. Its important to note that positive velocity is assumed to be
in the upward direction.
a Given the following parameters:
g ms
z m
v ms
m kg
c kgs
Calculate the maximum altitude the object reaches, either through graphical include the figure
or analytical methods show the analytical form pts
b Implement a onedimensional unconstrained optimization method to find the maximum height of
the object when epsi a You can choose from three methods: GoldenSection search, Parabolic
interpolation, or Newtoniteration. If you opt for GoldenSection search, you can refer to the
provided pseudocode on page of the book. If you decide to implement Newton iteration, it is
recommended to use numerical differentiation for accuracy. Ensure that you select suitable initial
values for tlower and tupper based on your problem. pts
c If the kinetic energy with which the object can be thrown up is constant and is equal to ke mv
kg m s what are the values of m and v for which the maximum altitude of the object
can be achieved, given the kinetic energy ke air resistance constant c kgs initial height
z m and acceleration due to gravity g ms Please use the random search method
described in Example on page of the book. pts
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started