subject

Python_Lab_2_Functions An object’s momentum is its mass multiplied by its velocity. The kinetic energy of a moving object is given by the formula

KE=(1/2)mv2, where m is the object’s mass and v is its velocity squared.

Write two functions one for momentum and the other for kinetic energy.

The momentum function must have two required parameters and calculates/prints the object's momentum.

The kinetic energy function must have two required parameters and calculate/print the

kinetic energy.

Write a program that accepts an object’s mass (in kilograms) and velocity (in meters

per second) as inputs and then outputs its momentum and kinetic energy by calling the functions.

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 03:00, nsjcbdhcb
Data is processed, stored, and transmitted as a series of 1s and 0s. each 1 or 0 is called a(n) . a series of eight 0s and 1s, called a(n) , represents one character—a letter, number, or punctuation mark. data becomes when it is presented in a format that people can understand and use. digital signals are represented by two different , such as +5 volts and +.2 volts. digital data can also take the form of light and dark spots etched onto the surface of a cd or the positive and negative orientation of particles on the surface of a hard disk. data consists of numbers that might be used in arithmetic operations. it can be represented digitally using the number system. data is composed of letters, symbols, and numerals that are not used in arithmetic operations. computers represent this type of data using , ebcdic, unicode, or utf-8. data is quantified using terms such as or kibibyte (1024 bytes), and prefixes such as or mebi (1,048,576), and giga or (1,073,741,824). to reduce file size and transmission times, digital data can be compressed. compression provides the means to compress data and reconstitute it into its original state. compression throws away some of the original data during the compression process. compressed files usually have at the end of the file name and are represented with special icons. these files have to be or unzipped before you can view the data they contain.
Answers: 1
image
Computers and Technology, 22.06.2019 20:00, serellehunt
Which type of file can be used to import data into a spreadsheet?
Answers: 1
image
Computers and Technology, 23.06.2019 17:00, Alexaisokay1
In which of the following ways can using test-taking tips you? a. you can focus on the information that you need to study. b. you will see the answers to the test. c. you will study more. d. you will be less organized.
Answers: 1
image
Computers and Technology, 23.06.2019 23:00, GreenHerbz206
Computer programming is one type of what career
Answers: 1
You know the right answer?
Python_Lab_2_Functions An object’s momentum is its mass multiplied by its velocity. The kinetic ene...

Questions in other subjects:

Konu
Computers and Technology, 14.08.2020 03:01
Konu
Mathematics, 14.08.2020 03:01
Konu
Mathematics, 14.08.2020 03:01