HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Contests > Epoka Science Olympiad 2013-2015 > problem:


2013-11Gr-10. 50314 - Falling Distance

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 (1)

Contest problems

• 503013 - DNA
• 50958 - ATM
• 2013-10Gr-10. 50310 - Kinetic Energy
• 2013-10Gr-20. 50311 - Student Line Up
• 2013-10Gr-40. 50313 - Pattern Disp...
• 2013-11Gr-10. 50314 - Falling ...
• 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
• 2014-10Gr-30. 50418 - Student ave...
• 2014-10Gr-40. 50429 - Secret Message
• 2014-11Gr-10. 50430 - ATM

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.

Falling Distance

Question:
When an object is falling, the following formula can be used to determine the distance the object falls in a specific time period:

  d = 1/2 gt2

The variables in the formula are as follows:

  • d is the distance in meters,
  • g is a constant (9.8), and
  • t is the amount of time in seconds, that the object has been falling.

Question:
Write a program that accepts falling time of an object in seconds. Your program should contain a function to calculate the result and the function should return the distance in meters, that the object has fallen during that time interval.

Input specification
In the first line, program will get a number t (time) 0 < t <1000.

Output specification
Print out just one floating point number which is the distance that the object has fallen through the given time interval.

Sample Run I  
  4

Sample Output I  
78.4

Sample Input II  
  7

Sample Output II  
240.1
Sample Input III  
  90

Sample Output III  
39690


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

www.contester.ru