aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorBertrand <bertrand.horel@gmail.com>2016-02-13 20:43:05 +0000
committerBertrand <bertrand.horel@gmail.com>2016-02-13 20:43:05 +0000
commit290dbb88aee959a42819c1e285db44385a8a29e5 (patch)
tree03cdef5156abbf5a83b7d83118e33fa61458506d /main.cpp
parent9f7ae751a0d6f7d27ad5f19d4fc697e722286b39 (diff)
downloadprojet_C++-290dbb88aee959a42819c1e285db44385a8a29e5.tar.gz
correction petit bugg dans main.cpp
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index af495ca..f81f1dd 100644
--- a/main.cpp
+++ b/main.cpp
@@ -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;