Program 2 – Calculate Kinetic & Potential Energy create program…
Question Answered step-by-step Program 2 – Calculate Kinetic & Potential Energy create program… Program 2 – Calculate Kinetic & Potential Energycreate program that calculates both the Kinetic Energy (KE) and Potential Energy (PE) using the formula below:Use the formula below. (Hint: Don’t get confused by the units)???? = ?? × ?? × ???? ?? = ??. ???? ???? = ?? × ?? × ?? ??(???? ??????????????????×??)m – mass measured in kilograms (kg)g – acceleration due to gravity measured in meters per second squared (m/s2) v – velocity measured in meters per second (m/s)h – height measured in meters (m)Your program needs to contain the following: Input functions to ask the user to enter the values of the mass, velocity and height. Function: energy Parameters: mass, velocity, height Output functions to print out the Kinetic Energy and Potential EnergyTo ensure that your programs work use the following values in the example below:Example: Find the KE and PE possessed by a 75-kg skydiver with a speed of 45 m/s at an altitude of 1000 m above the ground.Your calculations should give you the following output values:Kinetic Energy of the skydiver: 75937.5 Joules Potential Energy of the skydiver: 735750.0 Joules Computer Science Engineering & Technology Python Programming CS MISC Share QuestionEmailCopy link Comments (0)


