HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Contests > Epoka Science Olympiad 2013-2015 > problem:


2013-10Gr-10. 50310 - Kinetic Energy

Epoka Science Olympiad 2013-2015

Start: May.18.2013 at 10:00:00 AM
Finish: May.18.2013 at 03:00:00 PM
The contest is finished!
• Contest scoreboard

Guest
• Review clarifications (3)

Contest problems

• 503013 - DNA
• 50958 - ATM
• 2013-10Gr-10. 50310 - Kinetic ...
• 2013-10Gr-20. 50311 - Student Line Up
• 2013-10Gr-40. 50313 - Pattern Disp...
• 2013-11Gr-10. 50314 - Falling Distance
• 2013-11Gr-20. 50315 - Pig Latin
• 2013-11Gr-30. 50316 - Population B...
• 2013-11Gr-40. 50317 - Student Line Up
• 2014-10Gr-10. 50424 - Area
• 2014-10Gr-20. 50417 - Fun Fair

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.
Prepared by Halil Karimis.

Kinetic Energy

In physics, an object that is in motion is said to have kinetic energy. The following formula can be used to determine a moving object's kinetic energy:
   KE = 1/2 mv2

The variables in the formula are as follows: KE is the kinetic energy, m is the object's mass in kilograms, and v is the object's velocity, in meters per second.

Question:
Write a program that accepts mass of an object (in kilograms) and velocity (in meters per second) as arguments. The function should return the amount of kinetic energy that the object has.

Input specification
In the first line, program will get two numbers m (mass) 0< m < 2000 and v (velocity) 0 < v <1000.

Output specification
Print out just one number which is the amount of kinetic energy that the object has.

 Sample Run I  
  5 90

 Sample Output I  
  20250

 Sample Input II  
  20 180

 Sample Output II  
  324000
 Sample Input III  
  0.25 350

 Sample Output III  
  15312.5


Для отправки решений необходимо выполнить вход.

www.contester.ru