GithubHelp home page GithubHelp logo

206neutrinos's Introduction

206neutrinos

{EPITECH} | Second year | Math project

Jørgen-Olaf is a distinguished nuclear physics researcher in Hørsholm. With his assistant, they are studying neutrinos, a kind of promising particle, and are trying to prove that these particles can travel faster than light.

Given temperature and pressure conditions, they record the speed of some particles under these conditions, modify one parameter, and start again. Almost 11 months of hard work on several hundreds of millions records...

They are unable to efficiently store all of these values. For each series of records, they only register:

  1. its arithmetical mean,
  2. its standard deviation,
  3. its root mean square (Jørgen-Olaf needs an average speed so that if all the particles travel at this speed, they would have the same total kinetic energy, which writes 1 2mv2),
  4. its harmonic mean (as a precaution, in case Jørgen-Olaf would need another variable, with a non-quadratic dependency on speed).

Considering the size of the series, Jørgen-Olaf needs you to develop a software that will allow him to update his data in real-time. This program will take 4 numbers as inputs (the number of recorded values, their arithmetic mean, harmonic mean and standard deviation), and must:

  1. wait for the next value to be written on the standard input,
  2. print the number of recorded values, their standard deviation, arithmetic mean, root mean square and harmonic mean,
  3. return to the first step, except if the keyword END is entered.

See the subject for further details !

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

Grade : A | Mark : 19.3

Category Percentage Tests Crash ?
basic 100% 3/3 x
eval 100% 5/5 x
intermediate 100% 5/5 x
mathematical rigor 66.7% 2/3 x
rigor 100% 8/8 x
End score 95.8% 23/24 No

Made with Quentin TREHEUX (LuciferBahamut)

Beware of -42 Epitech students !!!

206neutrinos's People

Contributors

nekory23 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.