Skip to content

Nekory23/204ducks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

204ducks

{EPITECH} | Second year | Math project

When ducks are disturbed by a sudden noise, they fly away almost simultaneously, leaving the pond empty. Chances that a duck will then come back after t minutes are given by the following probability density function.

where a is a real constant between 0 and 2.5, which depends on external factors (such as temperature, day time, duck’s health etc. ).

A study is being conducted about these ducks, and you are asked to compute and display the following, given the value of a:

  1. The average time after which ducks come back,
  2. The standard deviation of the ducks’ return time,
  3. The time after which 50% of all of the ducks are back,
  4. The time after which 99% of all of the ducks are back,
  5. The percentage of ducks that come back after 1 minute,
  6. The percentage of ducks that come back after 2 minutes.

See the subject for further details !

========================

Grade : A | Mark : 10

Category Percentage Tests Crash ?
basic 100% 2/2 x
eval 0% 0/3 x
expected time 100% 3/3 x
percentage 100% 3/3 x
rigor 100% 5/5 x
standard deviation 100% 3/3 x
time 0% 0/3 x
End score 72.7% 16/22 No

Made with Quentin TREHEUX (LuciferBahamut)

Beware of -42 Epitech students !!!

Releases

No releases published

Packages

No packages published