diff options
| author | Bertrand <bertrand.horel@gmail.com> | 2016-02-13 20:43:05 +0000 |
|---|---|---|
| committer | Bertrand <bertrand.horel@gmail.com> | 2016-02-13 20:43:05 +0000 |
| commit | 290dbb88aee959a42819c1e285db44385a8a29e5 (patch) | |
| tree | 03cdef5156abbf5a83b7d83118e33fa61458506d /main.cpp | |
| parent | 9f7ae751a0d6f7d27ad5f19d4fc697e722286b39 (diff) | |
| download | projet_C++-290dbb88aee959a42819c1e285db44385a8a29e5.tar.gz | |
correction petit bugg dans main.cpp
Diffstat (limited to 'main.cpp')
| -rw-r--r-- | main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -36,12 +36,12 @@ int main() cout<<"Son intervalle de confiance à 95% est :"<<"["<<S.estimator().first-(x/10)<<" ,"<<S.estimator().first+(x/10)<<"]"<<endl; //S.update(1000); S.draw(1000); - x = 1,64*S.estimator().second; + x = 1.64*S.estimator().second; cout<<"l'estimateur de la moyenne est :"<<S.estimator().first<<endl; cout<<"Son intervalle de confiance à 95% est :"<<"["<<S.estimator().first-(x/sqrt(1100))<<" ,"<<S.estimator().first+(x/sqrt(1100))<<"]"<<endl; //S.update(10000); S.draw(10000); - x = 1,64*S.estimator().second; + x = 1.64*S.estimator().second; cout<<"l'estimateur de la moyenne est :"<<S.estimator().first<<endl; cout<<"Son intervalle de confiance à 95% est :"<<"["<<S.estimator().first-(x/sqrt(11100))<<" ,"<<S.estimator().first+(x/sqrt(11100))<<"]"<<endl; |
