diff options
| author | Bertrand <bertrand.horel@gmail.com> | 2016-02-14 22:04:24 +0000 |
|---|---|---|
| committer | Bertrand <bertrand.horel@gmail.com> | 2016-02-14 22:04:24 +0000 |
| commit | 43481c09afd990c99106d7efd6fe8a7c9a53d519 (patch) | |
| tree | 19031583643d083a3e255c6b31082724cab467c0 /rqmc.cpp | |
| parent | 8fd762b2e427f62b531614e5e84dfbfb3b7fff37 (diff) | |
| download | projet_C++-43481c09afd990c99106d7efd6fe8a7c9a53d519.tar.gz | |
ajout option rqmc et correction rqmc.cpp
Diffstat (limited to 'rqmc.cpp')
| -rw-r--r-- | rqmc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -31,8 +31,8 @@ int main() { m+=temp; s+=temp*temp; } - m = m/N; - s = s/N - m*m; + m = m/I; + s = s/I - m*m; std::cout<<"espérance "<<m<<" taille de l'IC "<<sqrt(s)*1.64/10<<std::endl; |
