Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In physics, an object that is in motion is said to have (KE) kinetic energy. The following formula can be used to determine a

 

In physics, an object that is in motion is said to have (KE) kinetic energy. The following formula can be used to determine a moving object's KE: M= mass(kg) V= velocity(m/s) KE = % mv KE = Kinetic energy(J) %3D Write a program to colculate the amount of kinetic energy that the object has when given the object's mass (in grams) and velocity (in meters per second). Note that, mass of the object is enter in gram (g) unit. However, the programable to convert the mass in gram (g) to kilogram (kg) before calculating the Kinetic Energy (KE). Here is a sampie run: Input the object's mass (g):10000 Input the object's velocity (m/s): 5 The kinetic energy (Joules): 125.00 YOUR SUGGESTION: 1. Requirement Specification (2 marks) 2. Analysis (3 marks) 3. Design the algorithm of the program in pseudo-code or flowchart. (4 marks) 4. Write down your complete source code. Include documentation for the program at appropriate lines of code. (4 marks) 5. Testing and verification (a) Compile the progam. Record what is printed in Output Window. (2 marks) (b) Re-compile and enter different inputs. Record the output. (2 marks) (c) Do you feel you are getting valid output? Give your reason. (3 marks)

Step by Step Solution

3.47 Rating (157 Votes )

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Materials and process in manufacturing

Authors: E. Paul DeGarmo, J T. Black, Ronald A. Kohser

9th edition

471656534, 978-0471033066, 471033065, 978-0471656531

More Books

Students also viewed these Physics questions

Question

When do you think a hiring decision will be made?

Answered: 1 week ago

Question

What are some methods for straightening or flattening rod or sheet?

Answered: 1 week ago