write a program to calculate 1 kinetic energy 2 potential energy 3 total energy

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.)

#write essay #research paper #blog writing #article writing #academic writer #reflective paper #essay pro #types of essays #write my essay #reflective essay #paper writer #essay writing service #essay writer free #essay helper #write my paper #assignment writer #write my essay for me #write an essay for me #uk essay #thesis writer #dissertation writing services #writing a research paper #academic essay #dissertation help #easy essay #do my essay #paper writing service #buy essay #essay writing help #essay service #dissertation writing #online essay writer #write my paper for me #types of essay writing #essay writing website #write my essay for free #reflective report #type my essay #thesis writing services #write paper for me #research paper writing service #essay paper #professional essay writers #write my essay online #essay help online #write my research paper #dissertation writing help #websites that write papers for you for free #write my essay for me cheap #pay someone to write my paper #pay someone to write my research paper #Essaywriting #Academicwriting #Assignmenthelp #Nursingassignment #Nursinghomework #Psychologyassignment #Physicsassignment #Philosophyassignment #Religionassignment #History #Writing #writingtips #Students #universityassignment #onlinewriting #savvyessaywriters #onlineprowriters #assignmentcollection #excelsiorwriters #writinghub #study #exclusivewritings #myassignmentgeek #expertwriters #art #transcription #grammer #college #highschool #StudentsHelpingStudents #studentshirt #StudentShoe #StudentShoes #studentshoponline #studentshopping #studentshouse #StudentShoutout #studentshowcase2017 #StudentsHub #studentsieuczy #StudentsIn #studentsinberlin #studentsinbusiness #StudentsInDubai #studentsininternational