Question
A problem for python, you have to submit today before 9:00 pm you have to follow some steps in order to solve the problem, you
A problem for python, you have to submit today before 9:00 pm
you have to follow some steps in order to solve the problem, you have to make a flowchart, and write pseudo code, and convert pseudo code to pyhton which has to be written in a word file. I don't want the program I just want the steps I mentioned + input and output
please put the answer in a word file then send it to my email: Al-abiah@hotmail.com
--------------------------------------------------------------------------
The following formula is used to calculate potential energy in joules of an object.
PE = mgh where m is mass in kilograms, g is acceleration due to gravity in meters per second squared, and h is the height of the object in meters. (g is gravitational acceleration constant, on earth, it is 9.80655 meters per second. )
Write a program that accepts inputs: mass of the object, and range of the height. The program then evaluates height values for lowest point, mid point, and highest point. The program calls a function find_PE(). This function returns PE given the mass and a particular height. The main program then prints the object mass, height value, and PE values for lowest level, midpoint level, and highest level in Kilo joules.
Data table:
Mass (Kg) | Height range (meters) | PE at lowest level | PE at midpoint | PE at highest point |
6 | 30-60 | |||
7 | 15-77 | |||
15 | 18-38 |
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