diff --git a/rapport/img/question_5.png b/rapport/img/question_5.png new file mode 100644 index 0000000000000000000000000000000000000000..9094ab24158988f5634ff4381d3284bb7e717d10 Binary files /dev/null and b/rapport/img/question_5.png differ diff --git a/src/data/question_5.txt b/src/data/question_5.txt new file mode 100644 index 0000000000000000000000000000000000000000..089b73a5d4904d1c9cfb6659ca7d382e4cf5974a --- /dev/null +++ b/src/data/question_5.txt @@ -0,0 +1,100 @@ +10 0.456144 +20 1.1923 +30 2.12794 +40 2.81784 +50 5.36688 +60 7.10424 +70 9.30912 +80 11.5961 +90 13.9905 +100 16.2839 +110 18.6105 +120 21.4294 +130 52.7657 +140 42.6033 +150 58.7788 +160 44.1937 +170 42.8699 +180 92.8308 +190 71.3094 +200 63.1496 +210 60.5393 +220 66.3914 +230 74.6325 +240 81.4838 +250 90.6864 +260 100.328 +270 110.276 +280 125.364 +290 132.387 +300 143.698 +310 157.144 +320 168.981 +330 183.94 +340 209.168 +350 214.73 +360 234.587 +370 249.454 +380 269.834 +390 288.672 +400 307.96 +410 329.707 +420 381.929 +430 374.159 +440 401.191 +450 419.088 +460 446.652 +470 469.46 +480 496.272 +490 525.19 +500 556.164 +510 579.895 +520 612.091 +530 637.936 +540 672.223 +550 704.158 +560 735.955 +570 768.782 +580 805.558 +590 839.495 +600 878.125 +610 914.308 +620 950.283 +630 990.911 +640 1030.09 +650 1078.33 +660 1186.31 +670 1246.37 +680 1424.43 +690 1411.36 +700 1455.42 +710 1377.17 +720 1382.26 +730 1490.89 +740 1547.67 +750 1783.76 +760 1617.57 +770 1640.34 +780 1710.59 +790 1750.93 +800 1814.03 +810 1873.99 +820 2009.15 +830 2243.2 +840 2280.16 +850 2459.1 +860 2395.33 +870 2350.59 +880 2319.33 +890 2393.54 +900 2564.51 +910 2602.15 +920 2667.41 +930 2748.84 +940 2729.88 +950 2847.74 +960 2879.51 +970 2967.95 +980 3026.54 +990 3110.43 +1000 3222.78 diff --git a/src/question_5.sh b/src/question_5.sh new file mode 100755 index 0000000000000000000000000000000000000000..7648984060137b93624ee650211a661231ca9392 --- /dev/null +++ b/src/question_5.sh @@ -0,0 +1,9 @@ +#!/bin/bash +if [ -f ./data/question_5.txt ] + then rm -f ./data/question_5.txt +fi +touch ./data/question_5.txt +for i in `seq 10 10 1000`; +do + ./bin/question_5 $i >> ./data/question_5.txt +done