Commit 05d9667d authored by Jochen Schulz's avatar Jochen Schulz
Browse files

actual progress :)

parent 58905855
Pipeline #148177 failed with stages
in 1 second
......@@ -15,3 +15,10 @@ latex:
# Interact link settings
launch_buttons:
notebook_interface : "classic"
#######################################################################################
# Execution settings
execute:
execute_notebooks : cache # Whether to execute notebooks at build time. Must be one of ("auto", "force", "cache", "off")
cache : "_build/.jupyter_cache/" # A path to the jupyter cache that will be used to store execution artifacs. Defaults to `_build/.jupyter_cache/`
exclude_patterns : [] # A list of patterns to *skip* in execution (e.g. a notebook that takes a really long time)
......@@ -3,6 +3,8 @@
- part: Prelude
chapters:
- file: src/Linux_und_Terminals/lecture
sections:
- file: src/Linux_und_Terminals/exercises
- part: Basis Python
chapters:
- file: src/Allgemeines/lecture
......@@ -40,6 +42,7 @@
- file: src/Parallelisierung/lecture
- file: src/Streams/lecture
- part: Tools
- part: Tools und Referenzen
chapters:
- file: src/Git/lecture
- file: src/cheatsheet
This diff is collapsed.
1850,-0.375,-0.427,-0.340,-0.504,-0.245,-0.539,-0.210,-0.518,-0.240,-0.594,-0.163
1851,-0.223,-0.277,-0.187,-0.355,-0.091,-0.374,-0.072,-0.369,-0.085,-0.434,-0.020
1852,-0.224,-0.277,-0.192,-0.350,-0.099,-0.376,-0.073,-0.365,-0.095,-0.432,-0.027
1853,-0.271,-0.321,-0.237,-0.380,-0.162,-0.431,-0.111,-0.394,-0.157,-0.474,-0.075
1854,-0.246,-0.298,-0.215,-0.347,-0.145,-0.390,-0.102,-0.362,-0.140,-0.432,-0.069
1855,-0.271,-0.320,-0.239,-0.367,-0.175,-0.412,-0.130,-0.382,-0.167,-0.451,-0.097
1856,-0.352,-0.406,-0.318,-0.450,-0.254,-0.492,-0.212,-0.465,-0.247,-0.533,-0.178
1857,-0.460,-0.512,-0.429,-0.557,-0.362,-0.590,-0.329,-0.572,-0.357,-0.633,-0.294
1858,-0.466,-0.521,-0.434,-0.569,-0.363,-0.596,-0.336,-0.583,-0.357,-0.642,-0.297
1859,-0.286,-0.347,-0.254,-0.399,-0.174,-0.418,-0.155,-0.417,-0.170,-0.473,-0.113
1860,-0.346,-0.407,-0.308,-0.458,-0.234,-0.478,-0.213,-0.475,-0.229,-0.531,-0.170
1861,-0.409,-0.481,-0.352,-0.527,-0.291,-0.561,-0.257,-0.545,-0.278,-0.613,-0.208
1862,-0.522,-0.594,-0.471,-0.641,-0.402,-0.685,-0.359,-0.658,-0.390,-0.734,-0.312
1863,-0.276,-0.344,-0.226,-0.401,-0.152,-0.442,-0.111,-0.420,-0.142,-0.497,-0.064
1864,-0.490,-0.560,-0.442,-0.613,-0.368,-0.645,-0.336,-0.631,-0.359,-0.701,-0.288
1865,-0.270,-0.350,-0.221,-0.393,-0.146,-0.445,-0.094,-0.421,-0.139,-0.503,-0.054
1866,-0.245,-0.335,-0.191,-0.364,-0.127,-0.408,-0.082,-0.391,-0.115,-0.465,-0.038
1867,-0.314,-0.397,-0.257,-0.427,-0.201,-0.480,-0.148,-0.450,-0.186,-0.528,-0.104
1868,-0.231,-0.318,-0.177,-0.337,-0.125,-0.392,-0.069,-0.365,-0.112,-0.441,-0.031
1869,-0.262,-0.328,-0.218,-0.368,-0.155,-0.406,-0.118,-0.385,-0.145,-0.451,-0.076
1870,-0.275,-0.340,-0.235,-0.377,-0.173,-0.403,-0.148,-0.392,-0.164,-0.448,-0.107
1871,-0.333,-0.405,-0.291,-0.436,-0.231,-0.470,-0.197,-0.453,-0.221,-0.515,-0.156
1872,-0.227,-0.291,-0.188,-0.326,-0.128,-0.352,-0.102,-0.343,-0.118,-0.398,-0.062
1873,-0.303,-0.365,-0.255,-0.400,-0.207,-0.423,-0.183,-0.416,-0.195,-0.468,-0.142
1874,-0.374,-0.441,-0.328,-0.468,-0.279,-0.492,-0.256,-0.485,-0.266,-0.536,-0.214
1875,-0.397,-0.468,-0.353,-0.490,-0.304,-0.516,-0.278,-0.511,-0.292,-0.562,-0.239
1876,-0.380,-0.449,-0.332,-0.471,-0.290,-0.497,-0.264,-0.490,-0.275,-0.540,-0.223
1877,-0.076,-0.147,-0.027,-0.164,0.012,-0.192,0.041,-0.183,0.028,-0.234,0.081
1878,0.035,-0.028,0.084,-0.053,0.124,-0.082,0.153,-0.070,0.139,-0.122,0.193
1879,-0.232,-0.293,-0.188,-0.312,-0.152,-0.346,-0.118,-0.329,-0.140,-0.382,-0.085
1880,-0.229,-0.289,-0.183,-0.306,-0.152,-0.348,-0.110,-0.323,-0.136,-0.380,-0.077
1881,-0.206,-0.264,-0.161,-0.281,-0.131,-0.329,-0.084,-0.298,-0.116,-0.359,-0.054
1882,-0.215,-0.273,-0.173,-0.289,-0.140,-0.331,-0.098,-0.308,-0.128,-0.364,-0.070
1883,-0.295,-0.348,-0.249,-0.363,-0.227,-0.405,-0.185,-0.379,-0.213,-0.432,-0.157
1884,-0.408,-0.458,-0.372,-0.471,-0.345,-0.520,-0.296,-0.488,-0.334,-0.546,-0.274
1885,-0.391,-0.446,-0.355,-0.452,-0.330,-0.505,-0.278,-0.469,-0.319,-0.528,-0.256
1886,-0.369,-0.420,-0.336,-0.430,-0.308,-0.483,-0.255,-0.446,-0.300,-0.507,-0.236
1887,-0.419,-0.477,-0.384,-0.482,-0.356,-0.528,-0.311,-0.501,-0.347,-0.556,-0.290
1888,-0.312,-0.363,-0.273,-0.375,-0.249,-0.420,-0.205,-0.394,-0.237,-0.448,-0.181
1889,-0.173,-0.236,-0.131,-0.239,-0.108,-0.282,-0.065,-0.263,-0.094,-0.315,-0.039
1890,-0.419,-0.486,-0.371,-0.485,-0.353,-0.525,-0.313,-0.511,-0.338,-0.560,-0.287
1891,-0.338,-0.413,-0.284,-0.406,-0.270,-0.445,-0.232,-0.435,-0.252,-0.482,-0.201
1892,-0.457,-0.527,-0.402,-0.529,-0.384,-0.562,-0.351,-0.559,-0.368,-0.604,-0.319
1893,-0.474,-0.546,-0.418,-0.545,-0.402,-0.578,-0.369,-0.573,-0.384,-0.617,-0.336
1894,-0.406,-0.486,-0.352,-0.475,-0.337,-0.511,-0.301,-0.507,-0.319,-0.552,-0.271
1895,-0.393,-0.463,-0.340,-0.460,-0.326,-0.496,-0.290,-0.490,-0.307,-0.534,-0.259
1896,-0.189,-0.256,-0.140,-0.258,-0.120,-0.293,-0.084,-0.283,-0.101,-0.329,-0.052
1897,-0.211,-0.276,-0.157,-0.280,-0.141,-0.314,-0.107,-0.307,-0.122,-0.352,-0.075
1898,-0.416,-0.480,-0.365,-0.485,-0.346,-0.518,-0.313,-0.510,-0.326,-0.554,-0.280
1899,-0.291,-0.355,-0.234,-0.360,-0.221,-0.391,-0.190,-0.387,-0.201,-0.429,-0.156
1900,-0.200,-0.270,-0.146,-0.271,-0.129,-0.301,-0.099,-0.299,-0.109,-0.342,-0.064
1901,-0.265,-0.331,-0.213,-0.335,-0.194,-0.371,-0.158,-0.362,-0.174,-0.409,-0.125
1902,-0.407,-0.464,-0.360,-0.470,-0.344,-0.511,-0.303,-0.494,-0.326,-0.542,-0.275
1903,-0.485,-0.547,-0.435,-0.547,-0.422,-0.591,-0.379,-0.571,-0.406,-0.622,-0.353
1904,-0.526,-0.583,-0.476,-0.588,-0.464,-0.633,-0.419,-0.610,-0.446,-0.661,-0.392
1905,-0.382,-0.438,-0.330,-0.441,-0.322,-0.485,-0.278,-0.464,-0.304,-0.514,-0.252
1906,-0.288,-0.342,-0.237,-0.346,-0.229,-0.394,-0.182,-0.367,-0.212,-0.420,-0.157
1907,-0.470,-0.525,-0.426,-0.529,-0.411,-0.572,-0.368,-0.551,-0.397,-0.600,-0.344
1908,-0.516,-0.564,-0.473,-0.573,-0.459,-0.618,-0.414,-0.594,-0.446,-0.644,-0.393
1909,-0.530,-0.582,-0.485,-0.582,-0.478,-0.633,-0.426,-0.602,-0.463,-0.656,-0.407
1910,-0.494,-0.549,-0.452,-0.543,-0.445,-0.597,-0.391,-0.566,-0.428,-0.619,-0.371
1911,-0.547,-0.596,-0.502,-0.594,-0.501,-0.650,-0.445,-0.617,-0.484,-0.671,-0.427
1912,-0.440,-0.485,-0.395,-0.487,-0.392,-0.540,-0.339,-0.510,-0.378,-0.563,-0.323
1913,-0.428,-0.473,-0.387,-0.478,-0.379,-0.532,-0.325,-0.497,-0.368,-0.552,-0.309
1914,-0.248,-0.294,-0.206,-0.308,-0.189,-0.351,-0.146,-0.325,-0.179,-0.377,-0.125
1915,-0.151,-0.208,-0.100,-0.220,-0.082,-0.260,-0.042,-0.240,-0.072,-0.293,-0.017
1916,-0.388,-0.438,-0.338,-0.448,-0.327,-0.495,-0.281,-0.468,-0.314,-0.522,-0.258
1917,-0.467,-0.522,-0.417,-0.533,-0.402,-0.578,-0.357,-0.554,-0.387,-0.608,-0.331
1918,-0.335,-0.395,-0.277,-0.406,-0.265,-0.451,-0.219,-0.427,-0.246,-0.483,-0.189
1919,-0.275,-0.322,-0.221,-0.340,-0.209,-0.387,-0.162,-0.358,-0.192,-0.415,-0.134
1920,-0.246,-0.291,-0.200,-0.309,-0.183,-0.357,-0.135,-0.326,-0.171,-0.383,-0.113
1921,-0.187,-0.235,-0.149,-0.244,-0.131,-0.288,-0.087,-0.260,-0.123,-0.313,-0.069
1922,-0.302,-0.344,-0.266,-0.356,-0.248,-0.404,-0.200,-0.370,-0.240,-0.425,-0.184
1923,-0.272,-0.317,-0.237,-0.322,-0.222,-0.369,-0.176,-0.339,-0.217,-0.391,-0.162
1924,-0.293,-0.336,-0.260,-0.344,-0.242,-0.394,-0.191,-0.359,-0.235,-0.414,-0.177
1925,-0.213,-0.259,-0.179,-0.264,-0.163,-0.314,-0.113,-0.281,-0.156,-0.335,-0.099
1926,-0.106,-0.151,-0.071,-0.156,-0.056,-0.206,-0.006,-0.172,-0.049,-0.226,0.008
1927,-0.210,-0.251,-0.179,-0.257,-0.163,-0.309,-0.111,-0.269,-0.156,-0.326,-0.098
1928,-0.208,-0.252,-0.178,-0.257,-0.160,-0.305,-0.111,-0.270,-0.154,-0.324,-0.098
1929,-0.350,-0.390,-0.321,-0.399,-0.301,-0.447,-0.253,-0.412,-0.294,-0.466,-0.239
1930,-0.136,-0.178,-0.107,-0.186,-0.087,-0.233,-0.040,-0.199,-0.082,-0.253,-0.026
1931,-0.083,-0.128,-0.055,-0.132,-0.034,-0.180,0.014,-0.146,-0.028,-0.199,0.028
1932,-0.134,-0.179,-0.108,-0.183,-0.085,-0.228,-0.041,-0.197,-0.080,-0.248,-0.027
1933,-0.269,-0.312,-0.239,-0.317,-0.220,-0.362,-0.176,-0.330,-0.215,-0.381,-0.162
1934,-0.126,-0.169,-0.099,-0.174,-0.079,-0.219,-0.034,-0.186,-0.073,-0.237,-0.021
1935,-0.173,-0.211,-0.145,-0.220,-0.126,-0.265,-0.081,-0.230,-0.121,-0.282,-0.068
1936,-0.141,-0.176,-0.113,-0.184,-0.098,-0.229,-0.053,-0.193,-0.092,-0.244,-0.041
1937,-0.024,-0.057,0.000,-0.066,0.019,-0.109,0.062,-0.077,0.025,-0.125,0.074
1938,-0.003,-0.038,0.019,-0.047,0.041,-0.093,0.087,-0.057,0.046,-0.109,0.099
1939,-0.047,-0.083,-0.025,-0.100,0.005,-0.136,0.042,-0.110,0.009,-0.156,0.057
1940,0.020,-0.016,0.051,-0.040,0.080,-0.081,0.120,-0.049,0.086,-0.102,0.140
1941,0.021,-0.023,0.052,-0.032,0.074,-0.074,0.116,-0.047,0.082,-0.096,0.133
1942,-0.023,-0.074,0.020,-0.080,0.035,-0.118,0.072,-0.100,0.048,-0.144,0.096
1943,0.001,-0.051,0.044,-0.055,0.058,-0.098,0.101,-0.075,0.070,-0.124,0.122
1944,0.152,0.100,0.187,0.097,0.206,0.054,0.249,0.076,0.218,0.028,0.270
1945,0.030,-0.013,0.068,-0.027,0.087,-0.074,0.134,-0.044,0.098,-0.097,0.154
1946,-0.070,-0.114,-0.042,-0.125,-0.016,-0.158,0.018,-0.141,-0.007,-0.184,0.037
1947,-0.040,-0.100,0.002,-0.091,0.012,-0.126,0.047,-0.117,0.029,-0.156,0.071
1948,-0.037,-0.100,0.006,-0.085,0.011,-0.121,0.047,-0.112,0.031,-0.150,0.072
1949,-0.071,-0.118,-0.031,-0.116,-0.027,-0.154,0.011,-0.138,-0.014,-0.178,0.028
1950,-0.172,-0.217,-0.133,-0.216,-0.128,-0.253,-0.091,-0.237,-0.115,-0.277,-0.073
1951,-0.052,-0.090,-0.018,-0.094,-0.010,-0.137,0.033,-0.109,0.002,-0.155,0.049
1952,0.030,-0.009,0.063,-0.010,0.071,-0.054,0.114,-0.024,0.085,-0.069,0.131
1953,0.097,0.058,0.132,0.056,0.138,0.013,0.181,0.042,0.152,-0.003,0.198
1954,-0.132,-0.171,-0.095,-0.172,-0.092,-0.215,-0.048,-0.185,-0.079,-0.231,-0.033
1955,-0.190,-0.221,-0.159,-0.228,-0.151,-0.272,-0.108,-0.240,-0.140,-0.286,-0.093
1956,-0.265,-0.294,-0.234,-0.303,-0.227,-0.343,-0.187,-0.313,-0.216,-0.356,-0.172
1957,-0.005,-0.033,0.025,-0.042,0.033,-0.082,0.072,-0.052,0.043,-0.095,0.086
1958,0.046,0.020,0.075,0.010,0.082,-0.030,0.123,0.002,0.094,-0.042,0.137
1959,0.016,-0.010,0.041,-0.019,0.051,-0.058,0.090,-0.028,0.060,-0.070,0.102
1960,-0.049,-0.074,-0.024,-0.083,-0.014,-0.123,0.025,-0.092,-0.006,-0.134,0.036
1961,0.039,0.009,0.060,0.007,0.072,-0.036,0.114,-0.002,0.079,-0.046,0.124
1962,0.016,-0.012,0.034,-0.016,0.048,-0.059,0.092,-0.025,0.055,-0.070,0.101
1963,0.048,0.022,0.074,0.016,0.081,-0.028,0.125,0.005,0.089,-0.039,0.136
1964,-0.222,-0.246,-0.196,-0.253,-0.191,-0.297,-0.147,-0.261,-0.180,-0.306,-0.135
1965,-0.141,-0.165,-0.115,-0.172,-0.110,-0.217,-0.065,-0.182,-0.101,-0.228,-0.055
1966,-0.070,-0.092,-0.044,-0.100,-0.039,-0.147,0.007,-0.109,-0.030,-0.156,0.017
1967,-0.076,-0.096,-0.054,-0.105,-0.047,-0.153,-0.000,-0.112,-0.040,-0.160,0.008
1968,-0.113,-0.132,-0.097,-0.141,-0.085,-0.188,-0.038,-0.147,-0.080,-0.196,-0.031
1969,0.030,0.012,0.048,0.002,0.058,-0.046,0.106,-0.004,0.065,-0.053,0.114
1970,-0.027,-0.048,-0.008,-0.054,0.001,-0.102,0.049,-0.060,0.009,-0.108,0.058
1971,-0.186,-0.203,-0.163,-0.213,-0.159,-0.261,-0.111,-0.218,-0.150,-0.267,-0.102
1972,-0.068,-0.083,-0.043,-0.096,-0.040,-0.144,0.007,-0.101,-0.033,-0.151,0.015
1973,0.064,0.052,0.084,0.037,0.091,-0.010,0.138,0.033,0.096,-0.016,0.145
1974,-0.212,-0.225,-0.195,-0.239,-0.185,-0.287,-0.137,-0.243,-0.181,-0.293,-0.130
1975,-0.146,-0.161,-0.132,-0.173,-0.119,-0.221,-0.071,-0.176,-0.115,-0.227,-0.065
1976,-0.240,-0.254,-0.225,-0.267,-0.212,-0.315,-0.165,-0.271,-0.209,-0.321,-0.159
1977,0.045,0.032,0.063,0.018,0.073,-0.029,0.119,0.015,0.077,-0.035,0.125
1978,-0.063,-0.078,-0.045,-0.090,-0.036,-0.138,0.012,-0.094,-0.031,-0.144,0.019
1979,0.056,0.040,0.075,0.033,0.079,-0.017,0.129,0.027,0.085,-0.022,0.134
1980,0.092,0.076,0.106,0.066,0.118,0.016,0.167,0.061,0.121,0.010,0.172
1981,0.140,0.125,0.154,0.113,0.167,0.064,0.216,0.108,0.171,0.057,0.222
1982,0.012,-0.011,0.030,-0.017,0.040,-0.064,0.087,-0.025,0.045,-0.073,0.094
1983,0.193,0.173,0.210,0.165,0.221,0.118,0.268,0.157,0.226,0.109,0.274
1984,-0.013,-0.033,0.007,-0.041,0.015,-0.088,0.062,-0.048,0.020,-0.096,0.068
1985,-0.029,-0.048,-0.013,-0.056,-0.003,-0.103,0.044,-0.063,0.003,-0.110,0.051
1986,0.046,0.025,0.068,0.021,0.072,-0.029,0.122,0.011,0.079,-0.037,0.128
1987,0.191,0.169,0.218,0.166,0.216,0.115,0.266,0.156,0.225,0.107,0.273
1988,0.201,0.177,0.224,0.175,0.227,0.125,0.277,0.165,0.236,0.117,0.285
1989,0.121,0.094,0.150,0.094,0.147,0.045,0.196,0.084,0.158,0.037,0.205
1990,0.297,0.267,0.331,0.270,0.324,0.221,0.374,0.258,0.338,0.212,0.383
1991,0.254,0.220,0.289,0.227,0.280,0.178,0.329,0.213,0.296,0.169,0.340
1992,0.105,0.071,0.139,0.080,0.130,0.028,0.182,0.064,0.146,0.018,0.192
1993,0.145,0.108,0.183,0.119,0.171,0.068,0.222,0.103,0.189,0.058,0.234
1994,0.206,0.172,0.246,0.180,0.231,0.128,0.284,0.163,0.252,0.118,0.296
1995,0.321,0.285,0.358,0.298,0.345,0.246,0.397,0.277,0.366,0.233,0.409
1996,0.182,0.145,0.217,0.162,0.202,0.104,0.260,0.138,0.224,0.091,0.269
1997,0.389,0.353,0.425,0.366,0.412,0.313,0.464,0.347,0.432,0.302,0.475
1998,0.536,0.496,0.576,0.512,0.560,0.461,0.611,0.489,0.582,0.448,0.624
1999,0.307,0.266,0.345,0.284,0.330,0.232,0.383,0.260,0.353,0.218,0.396
2000,0.295,0.259,0.340,0.273,0.317,0.219,0.371,0.252,0.343,0.207,0.386
2001,0.440,0.403,0.483,0.418,0.461,0.364,0.516,0.395,0.489,0.351,0.530
2002,0.496,0.461,0.540,0.476,0.517,0.418,0.575,0.453,0.546,0.406,0.590
2003,0.509,0.473,0.551,0.490,0.528,0.431,0.587,0.466,0.557,0.419,0.602
2004,0.450,0.413,0.485,0.432,0.467,0.371,0.528,0.406,0.493,0.359,0.540
2005,0.544,0.506,0.584,0.527,0.561,0.464,0.624,0.501,0.590,0.453,0.638
2006,0.505,0.466,0.545,0.490,0.520,0.427,0.583,0.462,0.549,0.416,0.596
2007,0.493,0.458,0.530,0.478,0.508,0.416,0.570,0.453,0.536,0.406,0.582
2008,0.395,0.357,0.433,0.381,0.410,0.319,0.471,0.354,0.438,0.309,0.484
2009,0.506,0.466,0.544,0.491,0.520,0.427,0.585,0.463,0.548,0.415,0.596
2010,0.559,0.523,0.600,0.545,0.573,0.479,0.638,0.517,0.603,0.469,0.650
2011,0.422,0.391,0.463,0.407,0.438,0.344,0.500,0.382,0.468,0.334,0.513
2012,0.470,0.438,0.509,0.452,0.489,0.392,0.549,0.429,0.516,0.381,0.562
2013,0.499,0.464,0.537,0.480,0.519,0.421,0.577,0.455,0.546,0.409,0.592
2014,0.567,0.533,0.603,0.548,0.586,0.490,0.644,0.524,0.613,0.478,0.658
2015,0.684,0.649,0.724,0.663,0.704,0.553,0.815,0.639,0.731,0.545,0.824
1790,3.9
1800,5.3
1810,7.2
1820,9.6
1830,12.9
1840,17.1
1850,23.1
1860,31.4
1870,38.6
1880,50.2
1890,62.9
1900,76
1910,92
1920,105.7
1930,122.8
1940,131.7
1950,150.7
1960,179
1970,205
1980,226.5
1990,248.7
x f(x)
-1.000 -1.875
-0.950 -1.599
-0.900 -1.344
-0.850 -1.110
-0.800 -0.897
-0.750 -0.703
-0.700 -0.528
-0.650 -0.371
-0.600 -0.231
-0.550 -0.108
-0.500 0.000
-0.450 0.093
-0.400 0.171
-0.350 0.236
-0.300 0.288
-0.250 0.328
-0.200 0.357
-0.150 0.375
-0.100 0.384
-0.050 0.384
0.000 0.375
0.050 0.359
0.100 0.336
0.150 0.307
0.200 0.273
0.250 0.234
0.300 0.192
0.350 0.147
0.400 0.099
0.450 0.050
0.500 -0.000
0.550 -0.050
0.600 -0.099
0.650 -0.147
0.700 -0.192
0.750 -0.234
0.800 -0.273
0.850 -0.307
0.900 -0.336
0.950 -0.359
1.000 -0.375
1.050 -0.384
1.100 -0.384
1.150 -0.375
1.200 -0.357
1.250 -0.328
1.300 -0.288
1.350 -0.236
1.400 -0.171
1.450 -0.093
1.500 0.000
1.550 0.108
1.600 0.231
1.650 0.371
1.700 0.528
1.750 0.703
1.800 0.897
1.850 1.110
1.900 1.344
1.950 1.599
2.000 1.875
import numpy as np
from random import randrange
from itertools import islice
# Wir wollen den Anteil an Primzahlen in einer gegebenen Liste l aus Zahlen kleiner n berechnen
n = 1000
# Liste aus 100000 Zufallszahlen zwischen 0 und 999
random_numbers = [randrange(n) for i in range(100000)]
def prime_percentage(l, n):
""" Überprüft zunächst, ob eine gegebene Zahl a eine Primzahl ist,
indem es mit der Liste aus Primzahlen von 2 bis n vergleicht.
Teilt anschließend die Anzahl der Treffer durch die Anzahl der Kandidaten
"""
i = 0
for a in l:
if iselem(a, primes_below(n)):
i = i + 1
return i/len(l)
def primes_below(n):
""" Erzeugt die Liste aller Primzahlen von 2 bis n mit dem "Sieb des Eratosthenes":
Suzessives Streichen von Vielfachen der bereits getesteten Zahlen
"""
isprime = np.ones(n, dtype=bool)
isprime[:2] = False
for i, isprm in islice(enumerate(isprime), int(n**0.5) + 1):
if isprm:
isprime[i*i::i] = False
return np.where(isprime)[0]
def iselem(x, s):
"""Separate Funktion damit die benötigte Zeit im Profiler sichtbar ist
"""
return x in s
print(prime_percentage(random_numbers, n))
\ No newline at end of file
import numpy as np
from random import randrange
from itertools import islice
# Wir wollen den Anteil an Primzahlen in einer gegebenen Liste l aus Zahlen kleiner n berechnen
n = 1000
# Liste aus 100000 Zufallszahlen zwischen 0 und 999
random_numbers = [randrange(n) for i in range(100000)]
def prime_percentage(l, n):
""" Überprüft zunächst, ob eine gegebene Zahl a eine Primzahl ist,
indem es mit der Liste aus Primzahlen von 2 bis n vergleicht.
Teilt anschließend die Anzahl der Treffer durch die Anzahl der Kandidaten
"""
i = 0
prime_list = primes_below(n)
for a in l:
if iselem(a, prime_list):
i = i + 1
return i/len(l)
def primes_below(n):
""" Erzeugt die Liste aller Primzahlen von 2 bis n mit dem "Sieb des Eratosthenes":
Suzessives Streichen von Vielfachen der bereits getesteten Zahlen
"""
isprime = np.ones(n, dtype=bool)
isprime[:2] = False
for i, isprm in islice(enumerate(isprime), int(n**0.5) + 1):
if isprm:
isprime[i*i::i] = False
return np.where(isprime)[0]
def iselem(x, s):
"""Separate Funktion damit die benötigte Zeit im Profiler sichtbar ist
"""
return x in s
print(prime_percentage(random_numbers, n))
\ No newline at end of file
import numpy as np
from random import randrange
from itertools import islice
# Wir wollen den Anteil an Primzahlen in einer gegebenen Liste l aus Zahlen kleiner n berechnen
n = 1000
# Liste aus 100000 Zufallszahlen zwischen 0 und 999
random_numbers = [randrange(n) for i in range(100000)]
def prime_percentage(l, n):
""" Überprüft zunächst, ob eine gegebene Zahl a eine Primzahl ist,
indem es mit der Liste aus Primzahlen von 2 bis n vergleicht.
Teilt anschließend die Anzahl der Treffer durch die Anzahl der Kandidaten
"""
i = 0
prime_list = set(primes_below(n))
for a in l:
if iselem(a, prime_list):
i = i + 1
return i/len(l)
def primes_below(n):
""" Erzeugt die Liste aller Primzahlen von 2 bis n mit dem "Sieb des Eratosthenes":
Suzessives Streichen von Vielfachen der bereits getesteten Zahlen
"""
isprime = np.ones(n, dtype=bool)
isprime[:2] = False
for i, isprm in islice(enumerate(isprime), int(n**0.5) + 1):
if isprm:
isprime[i*i::i] = False
return np.where(isprime)[0]
def iselem(x, s):
"""Separate Funktion damit die benötigte Zeit im Profiler sichtbar ist
"""
return x in s
print(prime_percentage(random_numbers, n))
\ No newline at end of file
use_id,platform,platform_version,device,use_type_id
22782,ios,10.2,"iPhone7,2",2
22783,android,6.0,Nexus 5,3
22784,android,5.1,SM-G903F,1
22785,ios,10.2,"iPhone7,2",3
22786,android,6.0,ONE E1003,1
22787,android,4.3,GT-I9505,1
22788,android,6.0,SM-G930F,1
22789,android,6.0,SM-G930F,1
22790,android,5.1,D2303,1
22791,ios,10.2,"iPhone6,2",3
22792,android,5.1,SM-G361F,1
22793,android,5.1,SM-G361F,1
22794,android,5.1,SM-G361F,1
22795,android,5.1,SM-G361F,1
22796,ios,10.2,"iPhone7,2",3
22797,ios,10.1,"iPhone5,2",3
22798,ios,10.1,"iPhone5,2",3
22799,android,6.0,ONEPLUS A3003,1
22800,android,4.4,SM-A300FU,1
22801,android,4.4,GT-I9505,1
22802,android,4.4,GT-I9505,3
22803,android,5.1,ONE E1003,3
22804,android,6.0,SM-G935F,1
22805,android,4.2,GT-I9195,1
22806,android,6.0,A0001,1
22807,android,6.0,ONEPLUS A3003,1
22808,android,6.0,SM-G900F,1
22809,ios,10.2,"iPhone7,2",3
22810,ios,10.2,"iPhone8,1",3
22811,ios,9.3,"iPad3,1",3
22812,ios,9.3,"iPad3,1",3
22813,android,4.4,HTC Desire 510,1
22814,android,4.4,HTC Desire 510,1
22815,android,4.4,HTC Desire 510,1
22816,android,4.4,HTC Desire 510,1
22817,android,4.4,HTC Desire 510,1
22818,android,4.4,HTC Desire 510,3
22819,android,4.4,HTC One mini 2,1
22820,android,4.4,HTC One mini 2,1
22821,android,4.4,HTC One mini 2,3
22822,android,4.4,HTC One mini 2,1
22823,android,6.0,SM-G900F,1
22824,android,6.0,SM-G900F,1
22825,ios,10.1,"iPhone9,4",2
22826,ios,10.1,"iPhone9,4",2
22827,ios,10.2,"iPhone7,2",3
22828,ios,10.2,"iPhone7,2",3
22829,ios,10.1,"iPhone7,2",2
22830,android,6.0,SM-G900F,1
22831,android,4.1,GT-I8190N,1
22832,android,6.0,D5803,1
22833,android,6.0,E6653,1
22834,android,6.0,SM-G900F,1
22835,android,6.0,SM-G920F,3
22836,android,6.0,SM-G920F,3
22837,ios,10.2,"iPhone7,2",3
22838,ios,9.3,"iPhone7,2",2
22839,android,6.0,A0001,1
22840,android,6.0,SM-G935F,1
22841,android,5.1,SM-G361F,3
22842,ios,10.2,"iPhone8,4",3
22843,ios,10.2,"iPhone8,4",3
22844,ios,9.3,"iPad2,4",3
22845,ios,9.3,"iPad2,4",3
22846,ios,9.3,"iPad2,4",3
22847,ios,9.3,"iPad2,4",3
22848,ios,9.3,"iPad2,4",3
22849,android,6.0,SM-A310F,1
22850,android,6.0,SM-A310F,1
22851,ios,10.0,"iPhone5,2",3
22852,android,6.0,SM-G935F,1
22853,android,6.0,SM-G935F,1
22854,android,5.1,D2303,1
22855,android,6.0,SM-N910F,1
22856,android,4.4,SM-G360F,1
22857,ios,10.2,"iPhone7,2",2
22858,android,7.0,ONEPLUS A3003,1
22859,ios,10.1,"iPhone7,2",2
22860,ios,9.3,"iPhone4,1",3
22861,android,4.1,HTC One S,1
22862,android,4.1,HTC One S,1
22863,android,6.0,ONEPLUS A3003,1
22864,android,6.0,SM-G900F,1
22865,android,6.0,SM-G900F,1
22866,android,6.0,SM-G900F,1
22867,ios,10.2,"iPhone5,2",2
22868,ios,10.2,"iPhone5,2",2
22869,ios,10.2,"iPhone7,2",2
22870,ios,10.2,"iPhone7,2",2
22871,android,4.3,GT-I9300,1
22872,android,4.3,GT-I9300,3
22873,android,5.1,SM-J320FN,1
22874,android,6.0,SM-G900F,1
22875,android,5.0,GT-I9505,1
22876,android,5.0,GT-I9505,1
22877,android,6.0,ONE E1003,3
22878,ios,10.2,"iPhone8,1",3
22879,android,6.0,HTC Desire 530,1
22880,android,5.0,GT-I9505,1
22881,android,6.0,HTC Desire 825,1
22882,android,6.0,F3111,1
22883,android,6.0,F3111,1
22884,android,6.0,F3111,1
22885,android,6.0,SM-G900F,1
22886,android,5.1,SM-G800F,1
22887,android,4.4,GT-I9195,1
22888,android,5.0,GT-I9505,1
22889,android,6.0,SM-G920F,1
22890,android,6.0,SM-G900F,1
22891,android,5.0,SM-N9005,1
22892,android,7.1,Nexus 5X,1
22893,ios,10.1,"iPhone9,3",3
22894,ios,10.2,"iPhone8,4",2
22895,android,6.0,SM-G925F,1
22896,android,6.0,SM-G925F,1
22897,android,6.0,SM-G900F,1
22898,ios,10.2,"iPhone7,2",3
22899,android,6.0,SM-G925F,3
22900,android,6.0,SM-G925F,3
22901,android,6.0,SM-G925F,3
22902,android,6.0,SM-G925F,1
22903,android,6.0,SM-N910F,1
22904,ios,9.3,"iPhone4,1",2
22905,ios,9.3,"iPhone4,1",2
22906,ios,9.3,"iPhone4,1",2
22907,android,5.0,SM-G900F,1
22908,android,5.0,GT-I9505,1
22909,android,6.0,HTC Desire 825,1
22910,ios,7.1,"iPhone3,1",3
22911,ios,10.2,"iPhone5,4",3
22912,android,6.0,SM-N910F,1
22913,ios,7.1,"iPhone3,2",3
22914,ios,10.0,"iPad4,5",2
22915,ios,10.2,"iPhone7,2",2
22916,android,4.4,GT-I9195,1
22917,ios,10.2,"iPhone6,2",2
22918,ios,10.1,"iPhone5,2",3
22919,ios,10.1,"iPad4,1",3
22920,android,6.0,D6603,1
22921,android,6.0,D6603,1
22922,android,6.0,LG-H815,1
22923,android,5.0,GT-I9505,1
22924,ios,10.0,"iPhone6,2",2
22925,ios,10.1,"iPhone7,2",3
22926,android,5.0,GT-I9515,1
22927,android,5.0,GT-I9515,1
22928,android,6.0,EVA-L09,3
22929,ios,10.2,"iPhone7,2",2
22930,ios,10.2,"iPhone7,2",2
22931,android,6.0,EVA-L09,1
22932,android,6.0,SM-G900F,1
22933,android,6.0,SM-G900F,1
22934,android,6.0,SM-G900F,1
22935,android,6.0,SM-G900F,1
22936,android,6.0,ONEPLUS A3003,1
22937,android,6.0,HTC One M9,1
22938,android,6.0,SM-G920F,1
22939,android,4.4,SM-A300FU,1
22940,ios,9.3,"iPhone4,1",2
22941,android,6.0,SM-G920F,1
22942,android,5.0,GT-I9505,1
22943,android,4.1,GT-N7100,1
22944,android,4.1,GT-N7100,1
22945,android,6.0,HTC Desire 626,1
22946,android,6.0,HTC Desire 626,1
22947,ios,10.0,"iPhone7,2",3
22948,ios,10.2,"iPhone6,2",2
22949,android,6.0,SM-G925F,1
22950,android,6.0,Moto G (4),1
22951,android,6.0,Moto G (4),1
22952,ios,10.2,"iPhone7,2",3
22953,ios,9.2,"iPhone7,2",2
22954,ios,10.2,"iPhone7,2",2
22955,android,4.3,GT-I9300,1
22956,ios,9.3,"iPhone6,2",2
22957,ios,9.3,"iPhone6,2",2
22958,ios,9.3,"iPhone6,2",2
22959,ios,9.3,"iPhone6,2",2
22960,ios,9.3,"iPhone6,2",2
22961,ios,9.3,"iPhone6,2",2
22962,android,6.0,SM-N910F,1
22963,android,6.0,ONE A2003,1
22964,android,6.0,SM-G900F,1
22965,android,5.0,GT-I9505,1
22966,android,6.0,SM-G900F,1
22967,android,6.0,SM-A500FU,1
22968,android,6.0,ONEPLUS A3003,1
22969,android,6.0,ONEPLUS A3003,1
22970,android,5.0,SM-G900F,1
22971,android,5.1,SM-G903F,1
22972,android,5.1,SM-G903F,1
22973,ios,9.0,"iPhone5,4",3
22974,android,5.1,Lenovo K51c78,1
22975,android,6.0,SM-G900F,1
22976,ios,10.2,"iPhone6,2",3
22977,android,5.0,GT-I9505,1
22978,android,6.0,SM-G900F,1
22979,android,5.1,D5503,1
22980,android,4.4,SM-G900F,1
22981,android,4.4,X11,1
22982,android,6.0,SM-G935F,1
22983,ios,10.2,"iPhone6,2",3
22984,ios,10.2,"iPhone6,2",3
22985,android,5.0,GT-I9515,1
22986,android,5.1,D5503,1
22987,android,6.0,HTC Desire 825,1
22988,android,5.0,SM-G360F,1
22989,android,6.0,HUAWEI VNS-L31,1