Programming
Central Florida Institute Kinetic Potential and Total Energy Program File

Central Florida Institute Palm Harbor

Question Description

I’m studying and need help with a C Programming question to help me learn.

Requirement for this assignment includes the use of at least 3 Programmer Defined Functions, with at least one of the functions using PASS BY REFERENCE Parameters.

Formula & Explanation for these three are as follows:

Screen Shot 2020-03-25 at 11.01.03 PM.png

Screen Shot 2020-03-25 at 11.02.51 PM.png

For Kinetic Energy:

Mass is in "kg"

Velocity is in "m/s"

For Potential Energy:

Mass is in "kg"

Height is in "m"

Gravitational Acceleration is going to be considered as constant for the purpose of the program ie 9.81

Sample Output:

1)

Please enter mass in kg, for calculation of Kinetic Energy :2

Please enter velocity in m/s, for calculation of Kinetic Energy :5

Kinetic Energy in Joule is: 25

Please enter mass in kg, for calculation of Potential Energy :5

Please enter height in meters, for calculation of Potential Energy :2

Potential Energy in Joule is: 98.1

Total Energy is :123.1

2)

Please enter velocity in m/s, for calculation of Kinetic Energy :2

Kinetic Energy in Joule is: 4

Please enter mass in kg, for calculation of Potential Energy :2

Please enter height in meters, for calculation of Potential Energy :2

Potential Energy is: 39.24

Total Energy in Joule is :43.24

3)

Please enter velocity in m/s, for calculation of Kinetic Energy :10

Kinetic Energy in Joule is: 500

Please enter mass in kg, for calculation of Potential Energy :10

Please enter height in meters, for calculation of Potential Energy :10

Potential Energy is: 981

Total Energy in Joule is :1481

Note: Here is a link to understanding the concept of Kinetic Energy & Potential Energy, in case some one wants/needs to look at it.

https://www.mathsisfun.com/physics/energy-potential-kinetic.html (Links to an external site.)

Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool's honor code & terms of service.

Final Answer

At...

criss53 (3121)
University of Maryland

Anonymous
Top quality work from this tutor! I’ll be back!

Anonymous
It’s my second time using SP and the work has been great back to back :) The one and only resource on the Interwebs for the work that needs to be done!

Anonymous
Thanks, good work

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4