|
Autor |
Kartenspiel - Wartezeit, bis alle Karten ein Mal gezogen wurden |
|
mathema
Senior  Dabei seit: 20.12.2005 Mitteilungen: 519
Wohnort: Paderborn, NRW
 | Themenstart: 2023-06-03
|
Hallo zusammen,
mir fehlt gerade die Idee. Wer kann den Knoten in meinem Kopf lösen:
Ich ziehe aus einem Kartenspiel eine Karte und lege sie zurück. Das mache ich n mal.
Wie groß muss n mindestens sein, damit ich mit 99%iger Wahrscheinlichkeit jede Karte (mindestens) einmal erhalten habe!
Herzliche Grüße in die Runde und einen sonnigen Abend!
Stephan
|
Profil
|
Wario
Aktiv  Dabei seit: 01.05.2020 Mitteilungen: 1324
 | Beitrag No.1, eingetragen 2023-06-03
|
\quoteon(2023-06-03 20:40 - mathema im Themenstart)
Ich ziehe aus einem Kartenspiel eine Karte und lege sie zurück. Das mache ich n mal.
Wie groß muss n mindestens sein, damit ich mit 99%iger Wahrscheinlichkeit jede Karte (mindestens) einmal erhalten habe!
\quoteoff
Interessanter Wahrscheinlichkeitsversuch. Ich kann mich da grad nicht reindenken und habe folglich keine Lösung.
Aber ich vemute, dass Du hier beim Thema Konfidenz- bzw. Vetrauenswahrscheinlichkeit gelandet bist (diese gibst Du vor) und fragst nach dem Stichprobenumfang (für 99% Vertrauenswahrscheinlichkeit gab es eine klare Zahl, die ich immer vergesse; günstiger war die für 95%).
|
Profil
|
StrgAltEntf
Senior  Dabei seit: 19.01.2013 Mitteilungen: 8376
Wohnort: Milchstraße
 | Beitrag No.2, eingetragen 2023-06-03
|
Profil
|
mathema
Senior  Dabei seit: 20.12.2005 Mitteilungen: 519
Wohnort: Paderborn, NRW
 | Beitrag No.3, vom Themenstarter, eingetragen 2023-06-03
|
Danke für die schnelle Hilfe!
|
Profil
| Folgende Antworten hat der Fragensteller vermutlich noch nicht gesehen. |
Wario
Aktiv  Dabei seit: 01.05.2020 Mitteilungen: 1324
 | Beitrag No.4, eingetragen 2023-06-04
|
\quoteon(2023-06-03 23:15 - mathema in Beitrag No. 3)
Danke für die schnelle Hilfe!
\quoteoff
Wieso denn abgehakt? Gibt's denn jetzt mal eine Lösung, mit der man vergleichen kann?
|
Profil
|
Diophant
Senior  Dabei seit: 18.01.2019 Mitteilungen: 10902
Wohnort: Rosenfeld, BW
 | Beitrag No.5, eingetragen 2023-06-04
|
\quoteon(2023-06-04 14:07 - Wario in Beitrag No. 4)
Wieso denn abgehakt? Gibt's denn jetzt mal eine Lösung, mit der man vergleichen kann?
\quoteoff
Weil seit Beitrag #2 klar ist, um was es geht.
Gruß, Diophant
|
Profil
|
Wario
Aktiv  Dabei seit: 01.05.2020 Mitteilungen: 1324
 | Beitrag No.6, eingetragen 2023-06-04
|
\quoteon(2023-06-04 14:09 - Diophant in Beitrag No. 5)
\quoteon(2023-06-04 14:07 - Wario in Beitrag No. 4)
Wieso denn abgehakt? Gibt's denn jetzt mal eine Lösung, mit der man vergleichen kann?
\quoteoff
Weil seit Beitrag #2 klar ist, um was es geht.
\quoteoff
Achso, sonst werden Nutzer immer seitenweise belallt, sie sollen ihre Ergebnisse angegeben etc. Aber hier eben nicht.
|
Profil
|
luis52
Senior  Dabei seit: 24.12.2018 Mitteilungen: 1111
 | Beitrag No.7, eingetragen 2023-06-04
|
\(\begingroup\)\(\newcommand{\diag}{\operatorname{diag}} % diag
\newcommand{\Diag}{\operatorname{Diag}} % Diag
\newcommand{\tr}{\operatorname{tr}} % Spur
\newcommand{\rg}{\operatorname{rg}} % Rang
\newcommand{\logit}{\operatorname{logit}} % logit
\newcommand{\sign}{\operatorname{sign}} % logit
\newcommand{\AR}{\operatorname{AR}} % AR-Prozess
\newcommand{\MA}{\operatorname{MA}} % MA-Prozess
\newcommand{\ARMA}{\operatorname{ARMA}} % ARMA-Prozess
\newcommand{\VAR}{\operatorname{VAR}} % VAR-Prozess
\newcommand{\spn}{\operatorname{span}} % span
%****************************************************************
%************************** Abkuerzungen ************************
%****************************************************************
\newcommand{\eps}{\ensuremath{\epsilon}}
\newcommand{\veps}{\ensuremath{\varepsilon}}
%****************************************************************
%************************** Miszellanien ************************
%****************************************************************
\newcommand{\mlink}[1]{\qquad\text{#1}\qquad}
\newcommand{\diag}{\operatorname{diag}} % diag
\newcommand{\Diag}{\operatorname{Diag}} % Diag
\newcommand{\tr}{\operatorname{tr}} % Spur
\newcommand{\rg}{\operatorname{rg}} % Rang
\newcommand{\logit}{\operatorname{logit}} % logit
\newcommand{\sign}{\operatorname{sign}} % logit
\newcommand{\AR}{\operatorname{AR}} % AR-Prozess
\newcommand{\MA}{\operatorname{MA}} % MA-Prozess
\newcommand{\ARMA}{\operatorname{ARMA}} % ARMA-Prozess
\newcommand{\VAR}{\operatorname{VAR}} % VAR-Prozess
\newcommand{\spn}{\operatorname{span}} % span
%****************************************************************
%************************** Abkuerzungen ************************
%****************************************************************
\newcommand{\eps}{\epsilon}
\newcommand{\veps}{\varepsilon}
%****************************************************************
%************************** Miszellanien ************************
%****************************************************************
\newcommand{\mlink}[1]{\qquad\text{#1}\qquad}
%****************************************************************
%************** Wahrscheinlichkeitsrechnung *********************
%****************************************************************
\newcommand{\dstr}[2]{\ensuremath{\mathcal{#1}(#2)}}
\renewcommand{\dstr}[2]{\ensuremath{\mathtt{#1}(#2)}}
\newcommand{\idd}{\ensuremath{\stackrel{d}{=}}}
\newcommand{\ldd}{\ensuremath{\stackrel{d}{\le}}}
\newcommand{\gdd}{\ensuremath{\stackrel{d}{\ge}}}
\newcommand{\simdot}{\ensuremath{\stackrel{\cdot}{\sim}}}
\newcommand{\asim}{\ensuremath{\stackrel{\,\mathrm{a}}{\sim}}}
\newcommand {\plim}{\ensuremath{\operatorname*{plim}}}
\newcommand{\Pto}{\ensuremath{\stackrel{\textup{P}}{\longrightarrow}}}
\newcommand{\kiw}[2]{#1\ensuremath{\stackrel{\text{P}}{\longrightarrow}}#2}
\newcommand{\Dto}{\ensuremath{\stackrel{\text{D}}{\longrightarrow}}}
\newcommand{\iVto}{\ensuremath{\stackrel{\text{i.V.}}{\longrightarrow}}}
\newcommand{\iqmto}{\ensuremath{\stackrel{\text{i.q.M.}}{\longrightarrow}}}
\newcommand{\kiqm}[2]{#1\ensuremath{\stackrel{\text{i.q.M.}}{\longrightarrow}}#2}
\newcommand{\kiv}{\ensuremath{\stackrel{\text{i.V.}}{\longrightarrow}}}
\newcommand{\Var}{\operatorname{Var}}
\newcommand{\var}{\operatorname{Var}}
\newcommand{\fVar}{\ensuremath{\mathbf{Var}}}
\newcommand{\fvar}{\ensuremath{\mathbf{Var}}}
\newcommand{\Corr}{\operatorname{Corr}}
\newcommand{\corr}{\operatorname{Corr}}
\newcommand{\cor}{\operatorname{Cor}}
\newcommand{\fCorr}{\ensuremath{\mathbf{Corr}}}
\newcommand{\fcorr}{\ensuremath{\mathbf{Corr}}}
\newcommand{\fE}{\ensuremath{\mathbf{E}}}
\newcommand{\E}{\operatorname{E}}
\newcommand{\Cov}{\operatorname{Cov}}
\newcommand{\cov}{\operatorname{Cov}}
\newcommand{\fCov}{\ensuremath{\mathbf{Cov}}}
\newcommand{\fcov}{\ensuremath{\mathbf{Cov}}}
\newcommand{\MSE}{\operatorname{MSE}}
%------------- Fette grosse Buchstaben im Mathemodus -----------
\newcommand{\mbA}{\mathbf{A}}
\newcommand{\mbB}{\mathbf{B}}
\newcommand{\mbC}{\mathbf{C}}
\newcommand{\mbD}{\mathbf{D}}
\newcommand{\mbE}{\mathbf{E}}
\newcommand{\mbF}{\mathbf{F}}
\newcommand{\mbG}{\mathbf{G}}
\newcommand{\mbH}{\mathbf{H}}
\newcommand{\mbI}{\mathbf{I}}
\newcommand{\mbJ}{\mathbf{J}}
\newcommand{\mbK}{\mathbf{K}}
\newcommand{\mbL}{\mathbf{L}}
\newcommand{\mbM}{\mathbf{M}}
\newcommand{\mbN}{\mathbf{N}}
\newcommand{\mbO}{\mathbf{O}}
\newcommand{\mbP}{\mathbf{P}}
\newcommand{\mbQ}{\mathbf{Q}}
\newcommand{\mbR}{\mathbf{R}}
\newcommand{\mbS}{\mathbf{S}}
\newcommand{\mbT}{\mathbf{T}}
\newcommand{\mbU}{\mathbf{U}}
\newcommand{\mbV}{\mathbf{V}}
\newcommand{\mbW}{\mathbf{W}}
\newcommand{\mbX}{\mathbf{X}}
\newcommand{\mbY}{\mathbf{Y}}
\newcommand{\mbZ}{\mathbf{Z}}
%------------- Fette kleine Buchstaben im Mathemodus -----------
\newcommand{\mba}{\mathbf{a}}
\newcommand{\mbb}{\mathbf{b}}
\newcommand{\mbc}{\mathbf{c}}
\newcommand{\mbd}{\mathbf{d}}
\newcommand{\mbe}{\mathbf{e}}
\newcommand{\mbf}{\mathbf{f}}
\newcommand{\mbg}{\mathbf{g}}
\newcommand{\mbh}{\mathbf{h}}
\newcommand{\mbi}{\mathbf{i}}
\newcommand{\mbj}{\mathbf{j}}
\newcommand{\mbk}{\mathbf{k}}
\newcommand{\mbl}{\mathbf{l}}
\newcommand{\mbm}{\mathbf{m}}
\newcommand{\mbn}{\mathbf{n}}
\newcommand{\mbo}{\mathbf{o}}
\newcommand{\mbp}{\mathbf{p}}
\newcommand{\mbq}{\mathbf{q}}
\newcommand{\mbr}{\mathbf{r}}
\newcommand{\mbs}{\mathbf{s}}
\newcommand{\mbt}{\mathbf{t}}
\newcommand{\mbu}{\mathbf{u}}
\newcommand{\mbv}{\mathbf{v}}
\newcommand{\mbw}{\mathbf{w}}
\newcommand{\mbx}{\mathbf{x}}
\newcommand{\mby}{\mathbf{y}}
\newcommand{\mbz}{\mathbf{z}}
%----- Fette Null und fette Eins --------------------------
\newcommand{\fatnull}{\mathbf{0}}
\newcommand{\fateins}{\mathbf{1}}
%----- Fettes Nabla --------------------------
\newcommand{\bnabla}{\boldsymbol{\nabla}}
%----- Fette grosse griechische Buchstaben im Mathemodus -----
\newcommand{\bGamma}{\boldsymbol{\Gamma}}
\newcommand{\bDelta}{\boldsymbol{\Delta}}
\newcommand{\bTheta}{\boldsymbol{\Theta}}
\newcommand{\bLambda}{\boldsymbol{\Lambda}}
\newcommand{\bXi}{\boldsymbol{\Xi}}
\newcommand{\bPi}{\boldsymbol{\Pi}}
\newcommand{\bSigma}{\boldsymbol{\Sigma}}
\newcommand{\bUpsilon}{\boldsymbol{\Upsilon}}
\newcommand{\bPhi}{\boldsymbol{\Phi}}
\newcommand{\bPsi}{\boldsymbol{\Psi}}
\newcommand{\bOmega}{\boldsymbol{\Omega}}
%----- Fette kleine griechische Buchstaben im Mathemodus -----
\newcommand{\balpha}{\boldsymbol{\alpha}}
\newcommand{\bbeta}{\boldsymbol{\beta}}
\newcommand{\bgamma}{\boldsymbol{\gamma}}
\newcommand{\bdelta}{\boldsymbol{\delta}}
\newcommand{\beps}{\boldsymbol{\varepsilon}}
\newcommand{\bzeta}{\boldsymbol{\zeta}}
\newcommand{\boldeta}{\boldsymbol{\eta}}
\newcommand{\btheta}{\boldsymbol{\theta}}
\newcommand{\bvartheta}{\boldsymbol{\vartheta}}
\newcommand{\biota}{\boldsymbol{\iota}}
\newcommand{\bkappa}{\boldsymbol{\kappa}}
\newcommand{\blambda}{\boldsymbol{\lambda}}
\newcommand{\bmu}{\boldsymbol{\mu}}
\newcommand{\bnu}{\boldsymbol{\nu}}
\newcommand{\bxi}{\boldsymbol{\xi}}
\newcommand{\bpi}{\boldsymbol{\pi}}
\newcommand{\brho}{\boldsymbol{\rho}}
\newcommand{\bvrho}{\boldsymbol{\varrho}}
\newcommand{\bsigma}{\boldsymbol{\sigma}}
\newcommand{\btau}{\boldsymbol{\tau}}
\newcommand{\bupsilon}{\boldsymbol{\upsilon}}
\newcommand{\bphi}{\boldsymbol{\phi}}
\newcommand{\bvphi}{\boldsymbol{\varphi}}
\newcommand{\bchi}{\boldsymbol{\chi}}
\newcommand{\bpsi}{\boldsymbol{\psi}}
\newcommand{\bomega}{\boldsymbol{\omega}}
%----------- Kalligraphische Buchstaben im Mathemodus
\newcommand{\mcA}{\mathcal{A}}
\newcommand{\mcB}{\mathcal{B}}
\newcommand{\mcC}{\mathcal{C}}
\newcommand{\mcD}{\mathcal{D}}
\newcommand{\mcE}{\mathcal{E}}
\newcommand{\mcF}{\mathcal{F}}
\newcommand{\mcG}{\mathcal{G}}
\newcommand{\mcH}{\mathcal{H}}
\newcommand{\mcI}{\mathcal{I}}
\newcommand{\mcJ}{\mathcal{J}}
\newcommand{\mcK}{\mathcal{K}}
\newcommand{\mcL}{\mathcal{L}}
\newcommand{\mcM}{\mathcal{M}}
\newcommand{\mcN}{\mathcal{N}}
\newcommand{\mcO}{\mathcal{O}}
\newcommand{\mcP}{\mathcal{P}}
\newcommand{\mcQ}{\mathcal{Q}}
\newcommand{\mcR}{\mathcal{R}}
\newcommand{\mcS}{\mathcal{S}}
\newcommand{\mcT}{\mathcal{T}}
\newcommand{\mcU}{\mathcal{U}}
\newcommand{\mcV}{\mathcal{V}}
\newcommand{\mcW}{\mathcal{W}}
\newcommand{\mcX}{\mathcal{X}}
\newcommand{\mcY}{\mathcal{Y}}
\newcommand{\mcZ}{\mathcal{Z}}
%----------- Kalligraphische Buchstaben im Mathemodus
\newcommand{\mca}{\mathcal{A}}
\newcommand{\mcb}{\mathcal{B}}
\newcommand{\mcc}{\mathcal{C}}
\newcommand{\mcd}{\mathcal{D}}
\newcommand{\mce}{\mathcal{E}}
\newcommand{\mcf}{\mathcal{F}}
\newcommand{\mcg}{\mathcal{G}}
\newcommand{\mch}{\mathcal{H}}
\newcommand{\mci}{\mathcal{I}}
\newcommand{\mcj}{\mathcal{J}}
\newcommand{\mck}{\mathcal{K}}
\newcommand{\mcl}{\mathcal{L}}
\newcommand{\mcm}{\mathcal{M}}
\newcommand{\mcn}{\mathcal{N}}
\newcommand{\mco}{\mathcal{O}}
\newcommand{\mcp}{\mathcal{P}}
\newcommand{\mcq}{\mathcal{Q}}
\newcommand{\mcr}{\mathcal{R}}
\newcommand{\mcs}{\mathcal{S}}
\newcommand{\mct}{\mathcal{T}}
\newcommand{\mcu}{\mathcal{U}}
\newcommand{\mcv}{\mathcal{V}}
\newcommand{\mcw}{\mathcal{W}}
\newcommand{\mcx}{\mathcal{X}}
\newcommand{\mcy}{\mathcal{Y}}
\newcommand{\mcz}{\mathcal{Z}}
%---------- Doppelsumme ------------------------------------------
\newcommand{\dblsum}[1]{\ensuremath{\mathop{\sum\sum}\limits_{#1}}}
%---------- \argmin und \argmax ------------------------------
\newcommand{\argmin}{\ensuremath{\operatorname*{arg{}min}}}
\newcommand{\argmax}{\ensuremath{\operatorname*{arg{}max}}}
%---------- Folgen ------------------------------------------
\newcommand{\avec}[2]{#1_1,\ldots,#1_{#2}}
\newcommand{\avecc}[2]{\ensuremath{#1_1,#1_2,\ldots,#1_{#2}}}
\newcommand{\aveccc}[3]{\ensuremath{(#1_{#2},\ldots,#1_{#3})}}
%---------- Geordnete Werte ---------------------------------------
\newcommand{\ord}[2]{\ensuremath{#1_{(1)},\ldots,#1_{(#2)}}}
\newcommand{\ordd}[2]{\ensuremath{#1_{(1)}\le#1_{(2)}\le\cdots\le#1_{(#2)}}}
\newcommand{\ordstat}[2]{\ensuremath{#1_{(#2)}}}
\newcommand{\ordne}[3]{\ensuremath{#1_{(1)}#3 #1_{(2)}#3\dots#3#1_{(#2)}}}
\)
Moin Wario,
in Beitrag No. 4 hat sich mathema fuer die Hilfe bedankt und signalisiert damit, dass er sich keine weiteren Anregungen mehr erwuenscht. Erfahrungsgemaess wird dann die Diskussion kaum noch weiter gefuehrt, und ich meine, dass ich deswegen den Thread abgehakt habe.
Ich haette auch gehofft, dass mathema beschrieben haette, was er mit StrgAltEntfs Hinweis auf das Sammelbilderproblem angefangen hat. Ich habe die angegebene Seite nur ueberflogen, aber aus den Ausfuehrungen dort ist fuer mich auf Anhieb nicht ersichtlich, wie man damit die urspruengliche Frage nach der Anzahl der Versuche $n$ beantworten kann. Aber ich kann ihn ja nicht zwingen.
Immerhin ist der Thread zu einem Abschluss gekommen, wenn auch zu einem unbefriedigenden. Dadurch unterscheidet er sich wohltuend von anderen, wo haeufig eine Frage gestellt wird, man sich Hilfestellungen ueberlegt und man spaeter im weiteren Verlauf vom Initiator ueberhaupt nichts mehr hoert. Das ist (zumindest fuer mich extrem) frustrierend.
Der gesetzte Haken bedeutet nicht, dass nicht doch weiter nach einer Loesung gesucht werden "darf". Beitrag No. 4 deutet darauf hin, dass du dir dazu Gedanken gemacht hast. Warum schriebst du nicht danach einen Beitrag, z.B. so Ich wuerde gerne weiterhin wissen, wie man $n$ bestimmen kann. Ich selbst habe mir dazu Folgendes ueberlegt ...
Mir ist bislang noch nicht aufgefallen, dass Nutzer immer seitenweise belallt werden, sie sollen ihre Ergebnisse angeben. Wobei mich deine Wortwahl stoert, da ich sie fuer den Matheplanet als sehr unangemessen empfinde.
\(\endgroup\)
|
Profil
|
Wario
Aktiv  Dabei seit: 01.05.2020 Mitteilungen: 1324
 | Beitrag No.8, eingetragen 2023-06-04
|
Ich komme darauf, dass mindestens $66\ 564$ Spielkarten gezogen werden müssen, damit jede Karte mit einer Wahrscheinlichkeit von 99% gezogen wird.
Ob das stimmt, weiß ich aber nicht.
\showon Rechnung.
Wenn wir n Stichproben aus einer Grundgesamtheit N erheben, ist sowohl X, die Anzahl der Treffer, wie auch p, die Trefferwahrscheinlichkeit, unbekannt__ !
Da wir überhaupt nichts wissen, werden wir sinnvolle Annahmen treffen müssen:
"Die Zufallsversuchsreihe ist binomialverteilt (mögliche Ereignisse "Treffer" oder "Niete") und näherungsweise normalverteilt."
Dann gilt für die Zufallsgröße X die Abschätzung:
P(abs(X-\m) <= c*\s) \approx 2* \Phi(c) - 1 ...... (\*)
Dabei ist c Parameter der Gauß\-Normalverteilungsfunktion
\Phi(c) = 1/root(2\p) int(exp(-1/2 * t^2),t,-\inf,c)
Kennt man c, bekommt man \Phi(c) aus einer Wertetabelle \(und umgekehrt\).
Mit den Kenngrößen der Binomialverteilung
\m = n p (Erwartungswert) und \s = root(np(1-p)) (Standardabweichung) wird (\*):
P(abs(X-n p) <= c* root(np(1-p))) = P(abs(h-p) <= c*root(p(1-p)/n)) \approx 2* \Phi(c) - 1
mit der (unbekannten) relativen Trefferhäufigkeit h = X/n.
Dann liegt p zwischen den beiden Lösungen p_1 ; p_2 der Gleichung
abs(h-p) = c*root(p(1-p)/n) bzw. (h-p)^2 = c^2 * p(1-p)/n .... (\*\*)
Man nennt I = [p_1 ; p_2] ein Vertrauens\- oder Konfidenzintervall, das die (unbekannte) Wahrscheinlichkeit p mit der Vertrauenswahrscheinlichkeit 2* \Phi(c) - 1 enthält.
=> Aus o.g. quadratischer Gleichung (\*\*) berechnet sich für die Länge des Konfidenzintervalls
L = p_2 - p_1 \approx 2 c root(h(h-1)/n) \approx L
=> \big Damit können wir sagen:
Bei vorgegebener Vertrauenswahrscheinlichkeit 2 \Phi(c) - 1 und vorgeschriebener Höchstlänge L des Vertrauensintervalls von p muss für den Stichprobenumfang \big n >= 4c^2 /(L^2) * h(1-h) .... (\*\*\*)\normal gelten.
Da wir auch über h nichts wissen, können wir lediglich die Abschätzung h(1-h) <= 1/4 verwenden, die sich aus folgender Abb. erschließt, d.h. aus dem Scheitelpunkt der Parabelfunktion y(h)=h(1-h):
\geo
ebene(300,300) xy(-1,2) name(bild1)
plot( x*(1-x) , y = h(1-h))
\geooff
geoprint(bild1,y=h(1-h))
=> Damit ist (\*\*\*) für jeden Wert h erfüllt, wenn
\big n >= c^2 / L^2
eingehalten wird.
\big Nun zur Aufgabe:
Wenn wir also ein Vertrauensintervall I, in dem p mit 2*\Phi(c)-1 = 98% Vertrauenswahrscheinlichkeit liegen soll, fordern und zudem fordern, dass p um höchstens 2% unsicher sein soll, muss also
p_2 - p_1 = L <= 0,02 gelten.
Einige (übliche) Werte aus der Wertetabelle:
2*\Phi(c)-1 = 0,901 -> c = 1,65
2*\Phi(c)-1 = 0,950 -> c = 1,96
2*\Phi(c)-1 = 0,980 -> c = 2,33
\big 2*\Phi(c)-1 = 0,990 -> c = 2,58
Mit n >= c^2 / L^2 => n >= 2,58^2 /0,01^2 => n >= 66564
Es müssten also mindestens 66564 Stichproben genommen werden.
\showoff
|
Profil
|
StrgAltEntf
Senior  Dabei seit: 19.01.2013 Mitteilungen: 8376
Wohnort: Milchstraße
 | Beitrag No.9, eingetragen 2023-06-04
|
Hallo Wario,
zunächst eine kleine Spitzfindigkeit.
\quoteon(2023-06-04 16:57 - Wario in Beitrag No. 8)
Ich komme darauf, dass mindestens $66\ 564$ Spielkarten gezogen werden müssen, damit jede Karte mit einer Wahrscheinlichkeit von 99% gezogen wird.
\quoteoff
Das war nicht gefragt. Sondern es ist die Anzahl der zu ziehenden Spielkarten gesucht, sodass mit einer W'keit von 99 % jede Karte gezogen wird. Das ist natürlich eine ganz andere Fragestellung.
Jetzt zu deiner Rechnung, die ich allerdings nicht nachvollzogen habe. Aber du definierst zunächst N = die Anzahl der Karten. Über N ist in der Aufgabe gar nichts gesagt. Aber die gesuchte Anzahl n ist selbstverständlich von N abhängig. Dein Ergebnis ist hingegen nicht von N abhängig.
|
Profil
|
tactac
Senior  Dabei seit: 15.10.2014 Mitteilungen: 2864
 | Beitrag No.10, eingetragen 2023-06-04
|
\(\begingroup\)\(\newcommand{\sem}[1]{[\![#1]\!]}
\newcommand{\name}[1]{\ulcorner#1\urcorner}
\newcommand{\upamp}{\mathbin {⅋}}
\newcommand{\monus}{\mathbin {∸}}\)
\quoteon(2023-06-04 16:57 - Wario in Beitrag No. 8)
Ich komme darauf, dass mindestens $66\ 564$ Spielkarten gezogen werden müssen, damit jede Karte mit einer Wahrscheinlichkeit von 99% gezogen wird.
Ob das stimmt, weiß ich aber nicht.
\quoteoff
Ich komme für 32 Karten auf 255 und für 52 Karten auf 441.
\showon
\sourceon Haskell
import qualified DiscreteProb as P
type State = (Int, Int)
step :: (Eq r, Fractional r) => State -> P.P r State
step s@(seen,todo) = P.fromList [((seen+1, todo-1),p),(s,1-p)] where p = fromIntegral todo / fromIntegral (seen+todo)
draws :: (Eq r, Fractional r) => Int -> [P.P r State]
draws n = iterate (P.>>= step) (P.return (0, n))
endProbs :: (Eq r, Fractional r) => Int -> [(Int, r)]
endProbs n = zip [0..] $ map (P.probabilityOf (n, 0)) $ draws n
main :: IO ()
main = do
h 32
h 52
where
h n = print $ head $ dropWhile ((<0.99).snd) $ endProbs n
{- Ausgabe
(255,0.9902822867027371)
(441,0.9901101029944679)
-}
\sourceoff
Also sehr zu Fuß: Wir betrachten bei $n$ Karten den Vektorraum $V := \IR^{n+1}$ mit den Standardbasisvektoren $e_0,\dotsc,e_n$.
Wir definieren eine lineare Abbildung $f\colon V \to V$ per $$
e_i \mapsto p\cdot e_{i+1} + (1-p)\cdot e_i,$$
mit $p = (n-i)/n$. $M$ sei die zu $f$ gehörende Matrix.
Gesucht ist dann das kleinste $k$ mit $e_n^T \cdot M^k \cdot e_0 \geq 0.99$.
\showoff
\(\endgroup\)
|
Profil
|
gonz
Senior  Dabei seit: 16.02.2013 Mitteilungen: 4864
Wohnort: Harz
 | Beitrag No.11, eingetragen 2023-06-05
|
Beide von tactac angegebenen Werte lassen sich experimentell gut bestätigen.
\showon
\sourceon python
from random import randint
N = 32
M = 255
versuche=0
versucheOK=0
while True:
versuche=versuche+1
karten=[]
for neueKarte in range(N):
karten.append(neueKarte)
gezogen=0
while len(karten)>0 and gezogen
|
Profil
|
luis52
Senior  Dabei seit: 24.12.2018 Mitteilungen: 1111
 | Beitrag No.12, eingetragen 2023-06-05
|
\(\begingroup\)\(\newcommand{\diag}{\operatorname{diag}} % diag
\newcommand{\Diag}{\operatorname{Diag}} % Diag
\newcommand{\tr}{\operatorname{tr}} % Spur
\newcommand{\rg}{\operatorname{rg}} % Rang
\newcommand{\logit}{\operatorname{logit}} % logit
\newcommand{\sign}{\operatorname{sign}} % logit
\newcommand{\AR}{\operatorname{AR}} % AR-Prozess
\newcommand{\MA}{\operatorname{MA}} % MA-Prozess
\newcommand{\ARMA}{\operatorname{ARMA}} % ARMA-Prozess
\newcommand{\VAR}{\operatorname{VAR}} % VAR-Prozess
\newcommand{\spn}{\operatorname{span}} % span
%****************************************************************
%************************** Abkuerzungen ************************
%****************************************************************
\newcommand{\eps}{\ensuremath{\epsilon}}
\newcommand{\veps}{\ensuremath{\varepsilon}}
%****************************************************************
%************************** Miszellanien ************************
%****************************************************************
\newcommand{\mlink}[1]{\qquad\text{#1}\qquad}
\newcommand{\diag}{\operatorname{diag}} % diag
\newcommand{\Diag}{\operatorname{Diag}} % Diag
\newcommand{\tr}{\operatorname{tr}} % Spur
\newcommand{\rg}{\operatorname{rg}} % Rang
\newcommand{\logit}{\operatorname{logit}} % logit
\newcommand{\sign}{\operatorname{sign}} % logit
\newcommand{\AR}{\operatorname{AR}} % AR-Prozess
\newcommand{\MA}{\operatorname{MA}} % MA-Prozess
\newcommand{\ARMA}{\operatorname{ARMA}} % ARMA-Prozess
\newcommand{\VAR}{\operatorname{VAR}} % VAR-Prozess
\newcommand{\spn}{\operatorname{span}} % span
%****************************************************************
%************************** Abkuerzungen ************************
%****************************************************************
\newcommand{\eps}{\epsilon}
\newcommand{\veps}{\varepsilon}
%****************************************************************
%************************** Miszellanien ************************
%****************************************************************
\newcommand{\mlink}[1]{\qquad\text{#1}\qquad}
%****************************************************************
%************** Wahrscheinlichkeitsrechnung *********************
%****************************************************************
\newcommand{\dstr}[2]{\ensuremath{\mathcal{#1}(#2)}}
\renewcommand{\dstr}[2]{\ensuremath{\mathtt{#1}(#2)}}
\newcommand{\idd}{\ensuremath{\stackrel{d}{=}}}
\newcommand{\ldd}{\ensuremath{\stackrel{d}{\le}}}
\newcommand{\gdd}{\ensuremath{\stackrel{d}{\ge}}}
\newcommand{\simdot}{\ensuremath{\stackrel{\cdot}{\sim}}}
\newcommand{\asim}{\ensuremath{\stackrel{\,\mathrm{a}}{\sim}}}
\newcommand {\plim}{\ensuremath{\operatorname*{plim}}}
\newcommand{\Pto}{\ensuremath{\stackrel{\textup{P}}{\longrightarrow}}}
\newcommand{\kiw}[2]{#1\ensuremath{\stackrel{\text{P}}{\longrightarrow}}#2}
\newcommand{\Dto}{\ensuremath{\stackrel{\text{D}}{\longrightarrow}}}
\newcommand{\iVto}{\ensuremath{\stackrel{\text{i.V.}}{\longrightarrow}}}
\newcommand{\iqmto}{\ensuremath{\stackrel{\text{i.q.M.}}{\longrightarrow}}}
\newcommand{\kiqm}[2]{#1\ensuremath{\stackrel{\text{i.q.M.}}{\longrightarrow}}#2}
\newcommand{\kiv}{\ensuremath{\stackrel{\text{i.V.}}{\longrightarrow}}}
\newcommand{\Var}{\operatorname{Var}}
\newcommand{\var}{\operatorname{Var}}
\newcommand{\fVar}{\ensuremath{\mathbf{Var}}}
\newcommand{\fvar}{\ensuremath{\mathbf{Var}}}
\newcommand{\Corr}{\operatorname{Corr}}
\newcommand{\corr}{\operatorname{Corr}}
\newcommand{\cor}{\operatorname{Cor}}
\newcommand{\fCorr}{\ensuremath{\mathbf{Corr}}}
\newcommand{\fcorr}{\ensuremath{\mathbf{Corr}}}
\newcommand{\fE}{\ensuremath{\mathbf{E}}}
\newcommand{\E}{\operatorname{E}}
\newcommand{\Cov}{\operatorname{Cov}}
\newcommand{\cov}{\operatorname{Cov}}
\newcommand{\fCov}{\ensuremath{\mathbf{Cov}}}
\newcommand{\fcov}{\ensuremath{\mathbf{Cov}}}
\newcommand{\MSE}{\operatorname{MSE}}
%------------- Fette grosse Buchstaben im Mathemodus -----------
\newcommand{\mbA}{\mathbf{A}}
\newcommand{\mbB}{\mathbf{B}}
\newcommand{\mbC}{\mathbf{C}}
\newcommand{\mbD}{\mathbf{D}}
\newcommand{\mbE}{\mathbf{E}}
\newcommand{\mbF}{\mathbf{F}}
\newcommand{\mbG}{\mathbf{G}}
\newcommand{\mbH}{\mathbf{H}}
\newcommand{\mbI}{\mathbf{I}}
\newcommand{\mbJ}{\mathbf{J}}
\newcommand{\mbK}{\mathbf{K}}
\newcommand{\mbL}{\mathbf{L}}
\newcommand{\mbM}{\mathbf{M}}
\newcommand{\mbN}{\mathbf{N}}
\newcommand{\mbO}{\mathbf{O}}
\newcommand{\mbP}{\mathbf{P}}
\newcommand{\mbQ}{\mathbf{Q}}
\newcommand{\mbR}{\mathbf{R}}
\newcommand{\mbS}{\mathbf{S}}
\newcommand{\mbT}{\mathbf{T}}
\newcommand{\mbU}{\mathbf{U}}
\newcommand{\mbV}{\mathbf{V}}
\newcommand{\mbW}{\mathbf{W}}
\newcommand{\mbX}{\mathbf{X}}
\newcommand{\mbY}{\mathbf{Y}}
\newcommand{\mbZ}{\mathbf{Z}}
%------------- Fette kleine Buchstaben im Mathemodus -----------
\newcommand{\mba}{\mathbf{a}}
\newcommand{\mbb}{\mathbf{b}}
\newcommand{\mbc}{\mathbf{c}}
\newcommand{\mbd}{\mathbf{d}}
\newcommand{\mbe}{\mathbf{e}}
\newcommand{\mbf}{\mathbf{f}}
\newcommand{\mbg}{\mathbf{g}}
\newcommand{\mbh}{\mathbf{h}}
\newcommand{\mbi}{\mathbf{i}}
\newcommand{\mbj}{\mathbf{j}}
\newcommand{\mbk}{\mathbf{k}}
\newcommand{\mbl}{\mathbf{l}}
\newcommand{\mbm}{\mathbf{m}}
\newcommand{\mbn}{\mathbf{n}}
\newcommand{\mbo}{\mathbf{o}}
\newcommand{\mbp}{\mathbf{p}}
\newcommand{\mbq}{\mathbf{q}}
\newcommand{\mbr}{\mathbf{r}}
\newcommand{\mbs}{\mathbf{s}}
\newcommand{\mbt}{\mathbf{t}}
\newcommand{\mbu}{\mathbf{u}}
\newcommand{\mbv}{\mathbf{v}}
\newcommand{\mbw}{\mathbf{w}}
\newcommand{\mbx}{\mathbf{x}}
\newcommand{\mby}{\mathbf{y}}
\newcommand{\mbz}{\mathbf{z}}
%----- Fette Null und fette Eins --------------------------
\newcommand{\fatnull}{\mathbf{0}}
\newcommand{\fateins}{\mathbf{1}}
%----- Fettes Nabla --------------------------
\newcommand{\bnabla}{\boldsymbol{\nabla}}
%----- Fette grosse griechische Buchstaben im Mathemodus -----
\newcommand{\bGamma}{\boldsymbol{\Gamma}}
\newcommand{\bDelta}{\boldsymbol{\Delta}}
\newcommand{\bTheta}{\boldsymbol{\Theta}}
\newcommand{\bLambda}{\boldsymbol{\Lambda}}
\newcommand{\bXi}{\boldsymbol{\Xi}}
\newcommand{\bPi}{\boldsymbol{\Pi}}
\newcommand{\bSigma}{\boldsymbol{\Sigma}}
\newcommand{\bUpsilon}{\boldsymbol{\Upsilon}}
\newcommand{\bPhi}{\boldsymbol{\Phi}}
\newcommand{\bPsi}{\boldsymbol{\Psi}}
\newcommand{\bOmega}{\boldsymbol{\Omega}}
%----- Fette kleine griechische Buchstaben im Mathemodus -----
\newcommand{\balpha}{\boldsymbol{\alpha}}
\newcommand{\bbeta}{\boldsymbol{\beta}}
\newcommand{\bgamma}{\boldsymbol{\gamma}}
\newcommand{\bdelta}{\boldsymbol{\delta}}
\newcommand{\beps}{\boldsymbol{\varepsilon}}
\newcommand{\bzeta}{\boldsymbol{\zeta}}
\newcommand{\boldeta}{\boldsymbol{\eta}}
\newcommand{\btheta}{\boldsymbol{\theta}}
\newcommand{\bvartheta}{\boldsymbol{\vartheta}}
\newcommand{\biota}{\boldsymbol{\iota}}
\newcommand{\bkappa}{\boldsymbol{\kappa}}
\newcommand{\blambda}{\boldsymbol{\lambda}}
\newcommand{\bmu}{\boldsymbol{\mu}}
\newcommand{\bnu}{\boldsymbol{\nu}}
\newcommand{\bxi}{\boldsymbol{\xi}}
\newcommand{\bpi}{\boldsymbol{\pi}}
\newcommand{\brho}{\boldsymbol{\rho}}
\newcommand{\bvrho}{\boldsymbol{\varrho}}
\newcommand{\bsigma}{\boldsymbol{\sigma}}
\newcommand{\btau}{\boldsymbol{\tau}}
\newcommand{\bupsilon}{\boldsymbol{\upsilon}}
\newcommand{\bphi}{\boldsymbol{\phi}}
\newcommand{\bvphi}{\boldsymbol{\varphi}}
\newcommand{\bchi}{\boldsymbol{\chi}}
\newcommand{\bpsi}{\boldsymbol{\psi}}
\newcommand{\bomega}{\boldsymbol{\omega}}
%----------- Kalligraphische Buchstaben im Mathemodus
\newcommand{\mcA}{\mathcal{A}}
\newcommand{\mcB}{\mathcal{B}}
\newcommand{\mcC}{\mathcal{C}}
\newcommand{\mcD}{\mathcal{D}}
\newcommand{\mcE}{\mathcal{E}}
\newcommand{\mcF}{\mathcal{F}}
\newcommand{\mcG}{\mathcal{G}}
\newcommand{\mcH}{\mathcal{H}}
\newcommand{\mcI}{\mathcal{I}}
\newcommand{\mcJ}{\mathcal{J}}
\newcommand{\mcK}{\mathcal{K}}
\newcommand{\mcL}{\mathcal{L}}
\newcommand{\mcM}{\mathcal{M}}
\newcommand{\mcN}{\mathcal{N}}
\newcommand{\mcO}{\mathcal{O}}
\newcommand{\mcP}{\mathcal{P}}
\newcommand{\mcQ}{\mathcal{Q}}
\newcommand{\mcR}{\mathcal{R}}
\newcommand{\mcS}{\mathcal{S}}
\newcommand{\mcT}{\mathcal{T}}
\newcommand{\mcU}{\mathcal{U}}
\newcommand{\mcV}{\mathcal{V}}
\newcommand{\mcW}{\mathcal{W}}
\newcommand{\mcX}{\mathcal{X}}
\newcommand{\mcY}{\mathcal{Y}}
\newcommand{\mcZ}{\mathcal{Z}}
%----------- Kalligraphische Buchstaben im Mathemodus
\newcommand{\mca}{\mathcal{A}}
\newcommand{\mcb}{\mathcal{B}}
\newcommand{\mcc}{\mathcal{C}}
\newcommand{\mcd}{\mathcal{D}}
\newcommand{\mce}{\mathcal{E}}
\newcommand{\mcf}{\mathcal{F}}
\newcommand{\mcg}{\mathcal{G}}
\newcommand{\mch}{\mathcal{H}}
\newcommand{\mci}{\mathcal{I}}
\newcommand{\mcj}{\mathcal{J}}
\newcommand{\mck}{\mathcal{K}}
\newcommand{\mcl}{\mathcal{L}}
\newcommand{\mcm}{\mathcal{M}}
\newcommand{\mcn}{\mathcal{N}}
\newcommand{\mco}{\mathcal{O}}
\newcommand{\mcp}{\mathcal{P}}
\newcommand{\mcq}{\mathcal{Q}}
\newcommand{\mcr}{\mathcal{R}}
\newcommand{\mcs}{\mathcal{S}}
\newcommand{\mct}{\mathcal{T}}
\newcommand{\mcu}{\mathcal{U}}
\newcommand{\mcv}{\mathcal{V}}
\newcommand{\mcw}{\mathcal{W}}
\newcommand{\mcx}{\mathcal{X}}
\newcommand{\mcy}{\mathcal{Y}}
\newcommand{\mcz}{\mathcal{Z}}
%---------- Doppelsumme ------------------------------------------
\newcommand{\dblsum}[1]{\ensuremath{\mathop{\sum\sum}\limits_{#1}}}
%---------- \argmin und \argmax ------------------------------
\newcommand{\argmin}{\ensuremath{\operatorname*{arg{}min}}}
\newcommand{\argmax}{\ensuremath{\operatorname*{arg{}max}}}
%---------- Folgen ------------------------------------------
\newcommand{\avec}[2]{#1_1,\ldots,#1_{#2}}
\newcommand{\avecc}[2]{\ensuremath{#1_1,#1_2,\ldots,#1_{#2}}}
\newcommand{\aveccc}[3]{\ensuremath{(#1_{#2},\ldots,#1_{#3})}}
%---------- Geordnete Werte ---------------------------------------
\newcommand{\ord}[2]{\ensuremath{#1_{(1)},\ldots,#1_{(#2)}}}
\newcommand{\ordd}[2]{\ensuremath{#1_{(1)}\le#1_{(2)}\le\cdots\le#1_{(#2)}}}
\newcommand{\ordstat}[2]{\ensuremath{#1_{(#2)}}}
\newcommand{\ordne}[3]{\ensuremath{#1_{(1)}#3 #1_{(2)}#3\dots#3#1_{(#2)}}}
\)
Moin, manchmal bringt es mehr, nach angloamerikanischen Quellen zu suchen. Wikipedias Eintrag zu Coupon collector's problem entnehme ich, dass fuer $N=50$ im Schnitt 225 Versuche noetig sind. Ich mag mich irren, aber das steht nicht in Einklang mit tactacs $(N,n)=(52,441)$ ...
Dort steht auch eine interessante Ungleichung:
\[P(T>\beta N\log(N))\le N^{1-\beta}\,.\]
Dabei ist $T$ die Anzahl der Zuege bis zur Vervollstaendigung.
Es folgt
\[N^{1-\beta}\le0.01\iff\beta\ge\frac{1-\log(0.01)}{\log(N)}\,.\]
Ich erhalte so:
\sourceon R
R> N<-c(32,52)
R> beta <- (1-log(0.01))/log(N)
R> beta*N*log(N)
[1] 179.3654 291.4688
\sourceoff
\(\endgroup\)
|
Profil
|
StrgAltEntf
Senior  Dabei seit: 19.01.2013 Mitteilungen: 8376
Wohnort: Milchstraße
 | Beitrag No.13, eingetragen 2023-06-05
|
\quoteon(2023-06-05 18:15 - luis52 in Beitrag No. 12)
Wikipedias Eintrag zu Coupon collector's problem entnehme ich, dass fuer $N=50$ im Schnitt 225 Versuche noetig sind. Ich mag mich irren, aber das steht nicht in Einklang mit tactacs $(N,n)=(52,441)$ ...
\quoteoff
Das ist der Erwartungswert. Danach war nicht gefragt. Ich kann tactacs Ergebnis experimentell bestätigen.
|
Profil
|
luis52
Senior  Dabei seit: 24.12.2018 Mitteilungen: 1111
 | Beitrag No.14, eingetragen 2023-06-05
|
\(\begingroup\)\(\newcommand{\diag}{\operatorname{diag}} % diag
\newcommand{\Diag}{\operatorname{Diag}} % Diag
\newcommand{\tr}{\operatorname{tr}} % Spur
\newcommand{\rg}{\operatorname{rg}} % Rang
\newcommand{\logit}{\operatorname{logit}} % logit
\newcommand{\sign}{\operatorname{sign}} % logit
\newcommand{\AR}{\operatorname{AR}} % AR-Prozess
\newcommand{\MA}{\operatorname{MA}} % MA-Prozess
\newcommand{\ARMA}{\operatorname{ARMA}} % ARMA-Prozess
\newcommand{\VAR}{\operatorname{VAR}} % VAR-Prozess
\newcommand{\spn}{\operatorname{span}} % span
%****************************************************************
%************************** Abkuerzungen ************************
%****************************************************************
\newcommand{\eps}{\ensuremath{\epsilon}}
\newcommand{\veps}{\ensuremath{\varepsilon}}
%****************************************************************
%************************** Miszellanien ************************
%****************************************************************
\newcommand{\mlink}[1]{\qquad\text{#1}\qquad}
\newcommand{\diag}{\operatorname{diag}} % diag
\newcommand{\Diag}{\operatorname{Diag}} % Diag
\newcommand{\tr}{\operatorname{tr}} % Spur
\newcommand{\rg}{\operatorname{rg}} % Rang
\newcommand{\logit}{\operatorname{logit}} % logit
\newcommand{\sign}{\operatorname{sign}} % logit
\newcommand{\AR}{\operatorname{AR}} % AR-Prozess
\newcommand{\MA}{\operatorname{MA}} % MA-Prozess
\newcommand{\ARMA}{\operatorname{ARMA}} % ARMA-Prozess
\newcommand{\VAR}{\operatorname{VAR}} % VAR-Prozess
\newcommand{\spn}{\operatorname{span}} % span
%****************************************************************
%************************** Abkuerzungen ************************
%****************************************************************
\newcommand{\eps}{\epsilon}
\newcommand{\veps}{\varepsilon}
%****************************************************************
%************************** Miszellanien ************************
%****************************************************************
\newcommand{\mlink}[1]{\qquad\text{#1}\qquad}
%****************************************************************
%************** Wahrscheinlichkeitsrechnung *********************
%****************************************************************
\newcommand{\dstr}[2]{\ensuremath{\mathcal{#1}(#2)}}
\renewcommand{\dstr}[2]{\ensuremath{\mathtt{#1}(#2)}}
\newcommand{\idd}{\ensuremath{\stackrel{d}{=}}}
\newcommand{\ldd}{\ensuremath{\stackrel{d}{\le}}}
\newcommand{\gdd}{\ensuremath{\stackrel{d}{\ge}}}
\newcommand{\simdot}{\ensuremath{\stackrel{\cdot}{\sim}}}
\newcommand{\asim}{\ensuremath{\stackrel{\,\mathrm{a}}{\sim}}}
\newcommand {\plim}{\ensuremath{\operatorname*{plim}}}
\newcommand{\Pto}{\ensuremath{\stackrel{\textup{P}}{\longrightarrow}}}
\newcommand{\kiw}[2]{#1\ensuremath{\stackrel{\text{P}}{\longrightarrow}}#2}
\newcommand{\Dto}{\ensuremath{\stackrel{\text{D}}{\longrightarrow}}}
\newcommand{\iVto}{\ensuremath{\stackrel{\text{i.V.}}{\longrightarrow}}}
\newcommand{\iqmto}{\ensuremath{\stackrel{\text{i.q.M.}}{\longrightarrow}}}
\newcommand{\kiqm}[2]{#1\ensuremath{\stackrel{\text{i.q.M.}}{\longrightarrow}}#2}
\newcommand{\kiv}{\ensuremath{\stackrel{\text{i.V.}}{\longrightarrow}}}
\newcommand{\Var}{\operatorname{Var}}
\newcommand{\var}{\operatorname{Var}}
\newcommand{\fVar}{\ensuremath{\mathbf{Var}}}
\newcommand{\fvar}{\ensuremath{\mathbf{Var}}}
\newcommand{\Corr}{\operatorname{Corr}}
\newcommand{\corr}{\operatorname{Corr}}
\newcommand{\cor}{\operatorname{Cor}}
\newcommand{\fCorr}{\ensuremath{\mathbf{Corr}}}
\newcommand{\fcorr}{\ensuremath{\mathbf{Corr}}}
\newcommand{\fE}{\ensuremath{\mathbf{E}}}
\newcommand{\E}{\operatorname{E}}
\newcommand{\Cov}{\operatorname{Cov}}
\newcommand{\cov}{\operatorname{Cov}}
\newcommand{\fCov}{\ensuremath{\mathbf{Cov}}}
\newcommand{\fcov}{\ensuremath{\mathbf{Cov}}}
\newcommand{\MSE}{\operatorname{MSE}}
%------------- Fette grosse Buchstaben im Mathemodus -----------
\newcommand{\mbA}{\mathbf{A}}
\newcommand{\mbB}{\mathbf{B}}
\newcommand{\mbC}{\mathbf{C}}
\newcommand{\mbD}{\mathbf{D}}
\newcommand{\mbE}{\mathbf{E}}
\newcommand{\mbF}{\mathbf{F}}
\newcommand{\mbG}{\mathbf{G}}
\newcommand{\mbH}{\mathbf{H}}
\newcommand{\mbI}{\mathbf{I}}
\newcommand{\mbJ}{\mathbf{J}}
\newcommand{\mbK}{\mathbf{K}}
\newcommand{\mbL}{\mathbf{L}}
\newcommand{\mbM}{\mathbf{M}}
\newcommand{\mbN}{\mathbf{N}}
\newcommand{\mbO}{\mathbf{O}}
\newcommand{\mbP}{\mathbf{P}}
\newcommand{\mbQ}{\mathbf{Q}}
\newcommand{\mbR}{\mathbf{R}}
\newcommand{\mbS}{\mathbf{S}}
\newcommand{\mbT}{\mathbf{T}}
\newcommand{\mbU}{\mathbf{U}}
\newcommand{\mbV}{\mathbf{V}}
\newcommand{\mbW}{\mathbf{W}}
\newcommand{\mbX}{\mathbf{X}}
\newcommand{\mbY}{\mathbf{Y}}
\newcommand{\mbZ}{\mathbf{Z}}
%------------- Fette kleine Buchstaben im Mathemodus -----------
\newcommand{\mba}{\mathbf{a}}
\newcommand{\mbb}{\mathbf{b}}
\newcommand{\mbc}{\mathbf{c}}
\newcommand{\mbd}{\mathbf{d}}
\newcommand{\mbe}{\mathbf{e}}
\newcommand{\mbf}{\mathbf{f}}
\newcommand{\mbg}{\mathbf{g}}
\newcommand{\mbh}{\mathbf{h}}
\newcommand{\mbi}{\mathbf{i}}
\newcommand{\mbj}{\mathbf{j}}
\newcommand{\mbk}{\mathbf{k}}
\newcommand{\mbl}{\mathbf{l}}
\newcommand{\mbm}{\mathbf{m}}
\newcommand{\mbn}{\mathbf{n}}
\newcommand{\mbo}{\mathbf{o}}
\newcommand{\mbp}{\mathbf{p}}
\newcommand{\mbq}{\mathbf{q}}
\newcommand{\mbr}{\mathbf{r}}
\newcommand{\mbs}{\mathbf{s}}
\newcommand{\mbt}{\mathbf{t}}
\newcommand{\mbu}{\mathbf{u}}
\newcommand{\mbv}{\mathbf{v}}
\newcommand{\mbw}{\mathbf{w}}
\newcommand{\mbx}{\mathbf{x}}
\newcommand{\mby}{\mathbf{y}}
\newcommand{\mbz}{\mathbf{z}}
%----- Fette Null und fette Eins --------------------------
\newcommand{\fatnull}{\mathbf{0}}
\newcommand{\fateins}{\mathbf{1}}
%----- Fettes Nabla --------------------------
\newcommand{\bnabla}{\boldsymbol{\nabla}}
%----- Fette grosse griechische Buchstaben im Mathemodus -----
\newcommand{\bGamma}{\boldsymbol{\Gamma}}
\newcommand{\bDelta}{\boldsymbol{\Delta}}
\newcommand{\bTheta}{\boldsymbol{\Theta}}
\newcommand{\bLambda}{\boldsymbol{\Lambda}}
\newcommand{\bXi}{\boldsymbol{\Xi}}
\newcommand{\bPi}{\boldsymbol{\Pi}}
\newcommand{\bSigma}{\boldsymbol{\Sigma}}
\newcommand{\bUpsilon}{\boldsymbol{\Upsilon}}
\newcommand{\bPhi}{\boldsymbol{\Phi}}
\newcommand{\bPsi}{\boldsymbol{\Psi}}
\newcommand{\bOmega}{\boldsymbol{\Omega}}
%----- Fette kleine griechische Buchstaben im Mathemodus -----
\newcommand{\balpha}{\boldsymbol{\alpha}}
\newcommand{\bbeta}{\boldsymbol{\beta}}
\newcommand{\bgamma}{\boldsymbol{\gamma}}
\newcommand{\bdelta}{\boldsymbol{\delta}}
\newcommand{\beps}{\boldsymbol{\varepsilon}}
\newcommand{\bzeta}{\boldsymbol{\zeta}}
\newcommand{\boldeta}{\boldsymbol{\eta}}
\newcommand{\btheta}{\boldsymbol{\theta}}
\newcommand{\bvartheta}{\boldsymbol{\vartheta}}
\newcommand{\biota}{\boldsymbol{\iota}}
\newcommand{\bkappa}{\boldsymbol{\kappa}}
\newcommand{\blambda}{\boldsymbol{\lambda}}
\newcommand{\bmu}{\boldsymbol{\mu}}
\newcommand{\bnu}{\boldsymbol{\nu}}
\newcommand{\bxi}{\boldsymbol{\xi}}
\newcommand{\bpi}{\boldsymbol{\pi}}
\newcommand{\brho}{\boldsymbol{\rho}}
\newcommand{\bvrho}{\boldsymbol{\varrho}}
\newcommand{\bsigma}{\boldsymbol{\sigma}}
\newcommand{\btau}{\boldsymbol{\tau}}
\newcommand{\bupsilon}{\boldsymbol{\upsilon}}
\newcommand{\bphi}{\boldsymbol{\phi}}
\newcommand{\bvphi}{\boldsymbol{\varphi}}
\newcommand{\bchi}{\boldsymbol{\chi}}
\newcommand{\bpsi}{\boldsymbol{\psi}}
\newcommand{\bomega}{\boldsymbol{\omega}}
%----------- Kalligraphische Buchstaben im Mathemodus
\newcommand{\mcA}{\mathcal{A}}
\newcommand{\mcB}{\mathcal{B}}
\newcommand{\mcC}{\mathcal{C}}
\newcommand{\mcD}{\mathcal{D}}
\newcommand{\mcE}{\mathcal{E}}
\newcommand{\mcF}{\mathcal{F}}
\newcommand{\mcG}{\mathcal{G}}
\newcommand{\mcH}{\mathcal{H}}
\newcommand{\mcI}{\mathcal{I}}
\newcommand{\mcJ}{\mathcal{J}}
\newcommand{\mcK}{\mathcal{K}}
\newcommand{\mcL}{\mathcal{L}}
\newcommand{\mcM}{\mathcal{M}}
\newcommand{\mcN}{\mathcal{N}}
\newcommand{\mcO}{\mathcal{O}}
\newcommand{\mcP}{\mathcal{P}}
\newcommand{\mcQ}{\mathcal{Q}}
\newcommand{\mcR}{\mathcal{R}}
\newcommand{\mcS}{\mathcal{S}}
\newcommand{\mcT}{\mathcal{T}}
\newcommand{\mcU}{\mathcal{U}}
\newcommand{\mcV}{\mathcal{V}}
\newcommand{\mcW}{\mathcal{W}}
\newcommand{\mcX}{\mathcal{X}}
\newcommand{\mcY}{\mathcal{Y}}
\newcommand{\mcZ}{\mathcal{Z}}
%----------- Kalligraphische Buchstaben im Mathemodus
\newcommand{\mca}{\mathcal{A}}
\newcommand{\mcb}{\mathcal{B}}
\newcommand{\mcc}{\mathcal{C}}
\newcommand{\mcd}{\mathcal{D}}
\newcommand{\mce}{\mathcal{E}}
\newcommand{\mcf}{\mathcal{F}}
\newcommand{\mcg}{\mathcal{G}}
\newcommand{\mch}{\mathcal{H}}
\newcommand{\mci}{\mathcal{I}}
\newcommand{\mcj}{\mathcal{J}}
\newcommand{\mck}{\mathcal{K}}
\newcommand{\mcl}{\mathcal{L}}
\newcommand{\mcm}{\mathcal{M}}
\newcommand{\mcn}{\mathcal{N}}
\newcommand{\mco}{\mathcal{O}}
\newcommand{\mcp}{\mathcal{P}}
\newcommand{\mcq}{\mathcal{Q}}
\newcommand{\mcr}{\mathcal{R}}
\newcommand{\mcs}{\mathcal{S}}
\newcommand{\mct}{\mathcal{T}}
\newcommand{\mcu}{\mathcal{U}}
\newcommand{\mcv}{\mathcal{V}}
\newcommand{\mcw}{\mathcal{W}}
\newcommand{\mcx}{\mathcal{X}}
\newcommand{\mcy}{\mathcal{Y}}
\newcommand{\mcz}{\mathcal{Z}}
%---------- Doppelsumme ------------------------------------------
\newcommand{\dblsum}[1]{\ensuremath{\mathop{\sum\sum}\limits_{#1}}}
%---------- \argmin und \argmax ------------------------------
\newcommand{\argmin}{\ensuremath{\operatorname*{arg{}min}}}
\newcommand{\argmax}{\ensuremath{\operatorname*{arg{}max}}}
%---------- Folgen ------------------------------------------
\newcommand{\avec}[2]{#1_1,\ldots,#1_{#2}}
\newcommand{\avecc}[2]{\ensuremath{#1_1,#1_2,\ldots,#1_{#2}}}
\newcommand{\aveccc}[3]{\ensuremath{(#1_{#2},\ldots,#1_{#3})}}
%---------- Geordnete Werte ---------------------------------------
\newcommand{\ord}[2]{\ensuremath{#1_{(1)},\ldots,#1_{(#2)}}}
\newcommand{\ordd}[2]{\ensuremath{#1_{(1)}\le#1_{(2)}\le\cdots\le#1_{(#2)}}}
\newcommand{\ordstat}[2]{\ensuremath{#1_{(#2)}}}
\newcommand{\ordne}[3]{\ensuremath{#1_{(1)}#3 #1_{(2)}#3\dots#3#1_{(#2)}}}
\)
\quoteon(2023-06-05 18:15 - luis52 in Beitrag No. 12)
Es folgt
\[N^{1-\beta}\le0.01\iff\beta\ge\frac{1-\log(0.01)}{\log(N)}\,.\]
\quoteoff
Ich muss diesen Quatsch korrigieren:
\[N^{1-\beta}\le0.01\iff\beta\ge1-\frac{\log(0.01)}{\log(N)}\,.\]
Somit erhalte ich
\sourceon R
R> N<-c(32,52)
R> beta <- 1-log(0.01)/log(N)
R> beta*N*log(N)
[1] 258.2690 444.9335
\sourceoff
\(\endgroup\)
|
Profil
|
Wario
Aktiv  Dabei seit: 01.05.2020 Mitteilungen: 1324
 | Beitrag No.15, eingetragen 2023-06-07
|
\(\begingroup\)\(
\)
Veranschaulichung:
Ich kann auch zu anderen Programmen Simmulationen erstellen. Dann brauche ich aber eine Wertetabelle.
Letztes Bild:
https://matheplanet.de/matheplanet/nuke/html/uploads/c/52997_28_555555.png
PS: Es war übrigens nicht manipuliert, dass $2\spadesuit$ 0-mal gezogen wurde.
\(\endgroup\)
|
Profil
|
tactac
Senior  Dabei seit: 15.10.2014 Mitteilungen: 2864
 | Beitrag No.16, eingetragen 2023-06-07
|
\(\begingroup\)\(\newcommand{\sem}[1]{[\![#1]\!]}
\newcommand{\name}[1]{\ulcorner#1\urcorner}
\newcommand{\upamp}{\mathbin {⅋}}
\newcommand{\monus}{\mathbin {∸}}\)
\quoteon(2023-06-07 20:26 - Wario in Beitrag No. 15)
Ich kann auch zu anderen Programmen Simmulationen erstellen. Dann brauche ich aber eine Wertetabelle.
\quoteoff
Hier eine Tabelle:
\sourceon Text
(1,(1,1.0))
(2,(8,0.9921875))
(3,(15,0.9931492342935946))
(4,(21,0.9904892252052377))
(5,(28,0.9903347343132399))
(6,(36,0.9915418784295553))
(7,(43,0.9907557251949938))
(8,(51,0.9911912385183476))
(9,(58,0.9903028609389908))
(10,(66,0.9904680213733171))
(11,(74,0.9905061838770425))
(12,(82,0.9904598535640259))
(13,(90,0.990354645134875))
(14,(98,0.9902068618950869))
(15,(106,0.9900273494479785))
(16,(115,0.9904577833411315))
(17,(123,0.9902107550176573))
(18,(132,0.9905087441497679))
(19,(140,0.9902255712491106))
(20,(149,0.9904382335884633))
(21,(157,0.9901345404893999))
(22,(166,0.9902887549524715))
(23,(175,0.9904074619565731))
(24,(183,0.9900852136928002))
(25,(192,0.9901702234080738))
(26,(201,0.9902323821426614))
(27,(210,0.9902751960405923))
(28,(219,0.9903014997294824))
(29,(228,0.9903136079148768))
(30,(237,0.9903134280552791))
(31,(246,0.990302545209985))
(32,(255,0.9902822867027371))
(33,(264,0.990253771950063))
(34,(273,0.9902179512518595))
(35,(282,0.9901756362763896))
(36,(291,0.9901275242295589))
(37,(300,0.9900742171746055))
(38,(309,0.9900162375938067))
(39,(319,0.9902106144048013))
(40,(328,0.9901398167344233))
(41,(337,0.9900658688625776))
(42,(347,0.9902264547160725))
(43,(356,0.9901433200856768))
(44,(365,0.9900580050105201))
(45,(375,0.9901926564663371))
(46,(384,0.9901005876232464))
(47,(393,0.9900069772624159))
(48,(403,0.9901212407441455))
(49,(412,0.9900225594424052))
(50,(422,0.9901234759319051))
(51,(431,0.9900206769534436))
(52,(441,0.9901101029944679))
\sourceoff
\showon
bzw., unendlich genau mit rationalen Zahlen gerechnet:
\sourceon
(1,(1,1 % 1))
(2,(8,127 % 128))
(3,(15,4750202 % 4782969))
(4,(21,272263605075 % 274877906944))
(5,(28,295142750237357568 % 298023223876953125))
(6,(36,1109720501260382574312335 % 1119186718586212624367616))
(7,(43,309089513682429152231698560987865200 % 311973482284542371301330321821976049))
(8,(51,11052151626606833241271182266455885055795025 % 11150372599265311570767859136324180752990208))
(9,(58,30137418773257721442249081150301010092346986281737600 % 30432527221704537086371993251530170531786747066637049))
(10,(66,30952125667916151347652825038745285994698675525593268606920301 % 31250000000000000000000000000000000000000000000000000000000000))
(11,(74,86047416884871282926460915862887992514475968895851086420805518082731212800 % 86872165247938313917618876629552908322948028701285264656288400841813654211))
(12,(82,20636762790775183044997149948209811128803389842184252545454326241954452841795850975 % 20835536863525336728415296481943588958975395546275602848742542459443508063483461632))
(13,(90,8107041452227243433353805093257472086434955462395731824977871773975655747537173787846692432384000 % 8185998310860815599380499312330298539006431803783718344702355823859470167514304642248928162666917))
(14,(98,103208959570118780764234349849870935439030461479150198864704392547094737593897295171151678625199891296240275 % 104229695371525212896767705545538308586939959922176050816933390274267553076951397169076847511814194189041664))
(15,(106,53667557997818360142583420203738555806129263161532749323529049281353092858215060073350294200342746176113998061502464 % 54208157004695364986303961008938889468051718750983968457206902650500851092822685028949081242899410426616668701171875))
(16,(115,2812121373876261101847251403625041547040991144432225232902504045583408080916176330380679117946995318137922665819167891783034849634375 % 2839213766779714416208296124562517712318911565184836172974571090549372219192960637992933791850638927971728600024477257552869537611776))
(17,(123,75865989365435707644416465401139610773576645176752197204254324055249734797820518352431526916651110041999833482978593101332398480983423347421601792000 % 76616002180346738267545237938536185201887900404800455820901373761063296965386288916093101577411852564605287178657660685771591824293029690436977763217))
(18,(132,11438761871193306377270515258314185809983167645026388462926470569092318454207546002711760252498433844807353471604870256769320284742480842097105727619407071875 % 11548370409402188606035348160978507637497137083936855801836421496534450154993656457976949980561380116541468399522031647630115363393246200136555412361110880256))
(19,(140,15310080272194899911252647239235075526694185287112312650425644763509508526054509018319119483145949656439953944563519385044503315955127980015972840798837785952466395414200320000 % 15461204716095306750605160446470484190931382792276390424246183665661474251955413414244688412361519286054559763168051221758800060897119839208767043379041459225924109209969236339))
(20,(149,8627933860210575466441379881525814274721483814359044789446263543861982355883792624641216538141211367752452370956910774103872173092385598099450413509256817735109653329965883010105072061 % 8711228593176024664662389950253266213273600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000))
(21,(157,27071902482160234264696722522936278928297598174799390655010825629510023714426498052761000855730590199422409365777263157526816625029656760562325921970239939934048163892754338416031263343436809830400000 % 27341640327767197092988598329884370820492520495400347046224504234920109966467114058898152535460891676336200161815357845624180948202740936321219126655570406742262017046194475037423951259251290160053309))
(22,(166,9866858292420148335393418628672730223492977311683641238866726203373400168074385143848489126045249569836047076774780841646949011456836800315185382286283482937136974752773715195603156051007200066553518757160007509375 % 9963617422772511534575667470543058138221504395043898419969885023377798826825192279257679596984301587320521468312889099143584828100701456838559082720670359406094315075967053514270233432625200906107669095727778234368))
(23,(175,37560341722497254361627619865428994503973640521212333553116820438567984626459111794825618773456020344546026059972899820921694198062169351527153049985474928842673454881693244603974128033244244177380590416124288195928680696660511948800000 % 37924130385988783885138472198104695113758500081654702485928028361735034908984067521107199785729879225350163177883426761780663721795704053350033567045933288800907688347932406244159735511984212018073574941731859720621015465325733163520183))
(24,(183,487125778439964644122370642692838779084025999052311806372553437123241476203355171906680821289720897204134384750667221268226237207764350366481677502152428477180982660990912623564581523984074781634478121483377645821650602565747805195703125 % 492003891890368530579825151072558273722136426901765627861608177304332156578682784743000101162130412678358079552213483329450107922198039638908515235611887892808133196119782119652000969961311895280506019241743706631720034316795105127694336))
(25,(192,2573306302516769680371100773455283651415135492147208458143875752692051349411022684109780538620755844407331809288873012722089153176025895947727448317676424885809541551248372796153219085532086370747541261921783114999217207837572357738262125408728329002622639931392 % 2598852441411224804632601145170476591947385702093921875564605768949224138638642661306785207353123109099176541243136917346920521054662273743647443310260408093121245695729351748487842632364281658205135695033119448116615984346877699096012293011881411075592041015625))
(26,(201,265373019273932202989322390002328380104648383437881140913568939723888380273726553434270294686071492398010452019299130521537091352176238510503981885624262939571430490010566532836495485590867814900503549423392632496915554757947507993767683481791679492636321271511037842609375 % 267990649527860531649244081547615337756409759992219331928486363590728392231002405484262740160681981475710340654581635095989327896534590745327619089400656560451320825088329447928554027252037899520540800804264487102938576724847264566551571239025271949512059876692390196543488))
(27,(210,3287324185127590876137405366259162143405179974031199325699445292162312622509483819830523920025294082060183859928573855968322317217627617039538963711521963417634930561107717328095646255942904950929950460886702106249505943348210711729959286039235846375549319494500668188397095336647065600000000 % 3319606709600796007118814366831680490245972363433278274649164202796040391390508362395296007003725409190919050467451067543920951677572960542579218736708555893116392606365879829853623553762099439160390829142881710736043483558725679578740315775056584981559692296366757281912664383653554418581147))
(28,(219,94796030207297246445510068075944119912334953685888204636498074918504879706598882743412084738893183651829447277485062446110313879234238727883375650051655052324312347551193304477027363702550943870106388113222234802732903920104574918579718872158668474054350102568531674597361293958961400297088239222265625 % 95724413457106231350631388515763139510452104365614869588218823710247191762124200084292532287054846160354933045253897863490040942623851593718311964630203090906171818599478613677855437782601582880396747376986913052079530761844612388258031726425706054329277346162712895500092928359980670968794722867347456))
(29,(228,108473155493176645761626704078196014511581721807106862373648303226795904966497157886328254896786807943176927250019175168564139957807589908531822257704152921650264712439542607271169213472550788825929061718325558909507968585075510202602976496631648984541176038861151705989374063637588714112003277603735517564590386344099840000000000 % 109534146179783212994831022873321476137323160548364503469893526198174557638560741806375748404500423445873556083254503695289341144426146438404366304039249038150037185146586021864066562557893809024061611796922975704550609599492703410140833623325063767229817139776360201207274933494652905089767475179184482155711508620799425403726749))
(30,(237,874679187607339423035841056788061740946623944722270918743580136584154318136280673006322388367535584358189373928860383769518246006852391295771758561942311847544209887393301200060843791924455681388871303826097362275575189448022218787590344346118096513984665224870025671587373973751205157988238968144205207357251370038069511812839 % 883234704112804099044738576912416426374218266963222492469220418164290932818312532665317572803213405064011573791503906250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000))
(31,(246,249263963843307510552209609204939631776899062561628542416315904219076044792153498054855220189225463950648299555214433410658562717281745738038578030588735920163434421750544806903336352470290902078385108382266187311005207860334930241246442977859779029645114026951430017364802787461602264708022973537241456676964907438573063475738062911842258239361365909176320000000 % 251704860346949367001719018302662746455178543896952452515065980683970749363226882915616483588913535297714176445446618488640256592843036069560118850172696961983281746373710741032594041258778020903787515929146083305637346390279411858692829437202462652577668751804436491752435345787919705149697479790144439084023120744558606116116781070918923659864036069264258576991))
(32,(255,1171746463748980148438594895150467058676906065648865954981038782158914061110109588485020208250750336011553393375717315570795086110319539480783169263361866032446512746454931082094900494398104647387820454061574180069152505635565666884327107847824742721213718656283854790856919509700796764460558083264531060653801220055788788162773321075635642472830209887235890258468608203125 % 1183244898432394516240178782864414363145358748541491968958224828202629403184955697044215348993512200745774591036283823972483283597321527043748108849931363779765448442661775100733982907247716815444728060873295568309423933572764835715470610623974409951612454834197610674498084402447177081360931064397268392195549975236092509593015442475090476140039533091764518178560447348736))
(33,(264,3676223247366676652151596640819704304256584604674941151588355495214235053504073844020395984190668641617452508245787268339806609518519966980104272828788914906867972021997257614160535410371146732312548919013345672202476006989926267017853746966997612973139072732333195361362949330902174635770982742461646107373194366286325935213710561416372403096362664418883461477541638996844190105600000000 % 3712405195011028624905199966357044973644699226322592866376078474418989321963135031446105133661945180613223440839197905587060106246847140743043576665958587836381944741932315846481260702289117558290102137301002955640201045172219038951999203916020596209899293620965601799587998756580222506480413021462834699388577493866073145034651149752143122561830727522867311866881110284027545011808552817))
(34,(273,34254655249268731458076656502289827397577512977104157803020070851056460945312624721347238655571111462581482053372286008361482611253765955950868889573773992377005192712852571135730492986564614135913074929457609374209715674435293978255612354637633720262192291618751617354422691762184060304387112302740668531392336639727500649771176584014834822985215084642955681226636565704450082027979500821579103720703125 % 34593046112689695309653316752478180244014299948436819293360828230138672775426475991087557835009142511581196779659825282039512248043299189728063402356386073018716515781471827463515516832824297985941914338768731044177150666433860949876890212290772480700407620133545382822035450551630602156560260552062357337541531276346978014722043027209017265983730203135502474059347380690582540824906830703158749816684544))
(35,(282,329241384613224143709927539547021430219860794354670226239638983858777129186170221731687409706886303967084321517649784794777826173794992658403640614636295279818647355240419294350558889472126745721273773085016371426457711831869571631504324865641388817375566037719996319501581911362204514562748265813437339658647267595802174468027556730343361728580422384141508616071615894011023326273401664649769644866828867064189615679209472 % 332508064782682767354377698841220490192168169543400087039384728405685170848528827049835912534029805825745638380059234700680455213998243553792611858476014312262253552841266614354219149016937905082139002997094689651017473247381146354493864794676317123484920780369773333653454920079610511926326277679861416487965814655730432435032890026307812658226062187081248248280326228392205929729717739373739959773956798017024993896484375))
(36,(291,43942162120614464591718386642756741873223081799704171718990341955660805121184967829315124567512414792966463450209487454604417161858220700910062124191270526337531340377962871885289534293159537359806527619725265184432432920363343784220975690926573481541660206111632414951412570846063074477148841301756120847395642606664868375330967858953797954028264199131392923514585281747530771379766835868384647688891589102049029410020903435546875 % 44380305612458190476598761351436768577491597349431392155083655124629971735885503730261199020736306280533671299257958987732959976190197315586695146173631537838736093791280050314213210589890077087973180852276139458987613155881569215826148441637320151279152256086656614238077633806318003960286959259544199213472070070168838940470892093289347605247208515387585850384946262810256632146588247517318739502178920249716769560018911712247808))
(37,(300,5643906351535868036912110512068426349125893144202139000845982814919760364664491189396452787264650044800157032064045349546253437475728973246570580812861795873640763079533581454595529124804716365060501280933400611095134370024815654580444376557656551055234469385502873101504500815355715998352670929423461093478405627381325723174917848767912146930990334448737964969690244376350056556282559800615370449997916861845553100114113389783837038230926439649777584963584000000000 % 5700488159000847002833697271725952009752111022651931403277565865425914583387106514152210903206207764801087092604371316185563725211801362877222998464637061974955517669755725799688226540201855361738536374674140694100090442686151876431111806666130349927511166766298824275346352855361848320313500953027041845908893624910872676830840549666307371473832116238513769061204628181472653143735561743632437110247133630023412430322319361277554647451957968309548596646808359565317))
(38,(309,149418038145407578291035445226015154774282040498691992355575488610546149365412453520765436316695752212087111291725273299891340626612862401432242152207844150068335478390605678390859560827847870128102257397082349967570137355136238186616909923265711725295249411648605843692188083006989322392655042106298494137296696937040249180963269509817945974054061033006502533271483581411824007245164986243093401161195097280135485886170142907477761634104637767153479695662647696887861328125 % 150924835847705009647133423527492984703646360191113321414176001026453798546263882239318065221396867160154921733818959886498995702214668200277332001848684558210288970074418037647893450983946415638351528317269360722490444606080651380873299843401099699628496704053467229344992668194800809893708380842232736632299496182166753367403684358650683236028680819638954186585317588934223012205490428508062426523325236503419194669763936706916726922812866417669328562168971726320278962176))
(39,(319,24402699521250928208579755091450906686139117592753207814411676473822254762810534632085582753524676594953759804600638688041748603470102815445890331968510372820597884108950742699243309139912959253028708880030097265163890268606710010743970846159044626748343875547793919776676518397473830244824095449034632750654945395098844013305295883616472819874622757631548432177094469027520398721374621625445054055703940546339819039325050496972315918159198290394807522589572587791875897569461095366656000000000 % 24643948637047243511574096501253074450248509406112406248534857200779424192499197180987127882478088780669430697038533976561190290303989941880300868857637032566331118845998993807536954606257870995347657697511620781376006443944562292511653172382051237726776695414547957921772453144904679048304715283833027476831176738572798567058035857174356836632317734455664168067608010221858143799371089494915516307777646449070981159045156094311441072341257812764533123508117407904594728483544761058533817813867))
(40,(328,1102894071531769555420816698086080482409831540488209186034965515219142854703425864666047903323732141099532308969301698023843086370549047049406983601546234544956366323668748260988159075133138499135238926390905753933514018156737246824871168654666072657332708358060037265540492808304370419485365630100109381061260742497248787633256230484607381948101500481806456282591152233719544778628860738978474144084722980636076159360486471514500146491269010477023379817698682231231291191139984292961504904507219533125520883 % 1113877103911668754551067286547922686741510866027480451801560673315252726369306002564920119950530126899082595110740822097336109551117050292542153642510306198303709637294986560078826707091456000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000))
(41,(337,1897824680553672519908828659497725381248118338822347260897259395357564134620055645420657560361188716753036937336494004505162121271212830061761469412989798690137211477938345530346803145322735921632865506910529230845502889404568986454701272893583561976560455768808188646680486398833632151387579732157492630081719435222159305942971950608102816813348422553906381189721616552200451056912388533833509150972516072944912108816453553504653591008958549488519435395758682219683846896195381424551330027615460964935274188709565739740726873292800000000000 % 1916867089594713564872237126167293115243129678015014595409729180386344120889411709640004111399233255098766915188983941823972523431987419184511828107342382678867169950354898764949822543564701271033819934692134713683742092378273092549222488025053070984014401571211096523596437247143755973217862351591562827717064938197752099992366840519853149062110528779412512958228718776689132046804846250520593913916796491258827857500133681272476441891907711611308068497001897364199454883908658321846010691831708586488706191654460032740586801409831033205401))
(42,(347,7315028072497991951178173046492083993242674945153513400100625796069122353141527818628814804414074972004708713101305580927892242762955142558847142431674407592227759077000308916334234034851026603583490622438820852084343450907988638326507705710893326208910128725373151834320713048138061573715971754599818790212172367661000821246142423465338046569479862459106812262996725999585684471680853343823678377268233665689453471105386205020629090029362232360100472117025559391270012339624638048307515331032524633427943159766930805582819099609375 % 7387227474745075726764221905815786298002269833951721597179823906139135306089565530914967081649866390611533577076874872322949575607392072043649168514526923590528325079765664220499609519450419773229598074207807746670995055142637047661483798424750665199819057749143964057605880071454543555700064186107266687980371106194566665551688764117113015587615843405280509216654047312364111757238703588097170150865698689693113663490595504943313546188644615590503628175480597826526572923462365842024382292294558974265423676034532729216829774364672))
(43,(356,4074392666497837265831864975387854811603389598193652074645063374180031994658527931836168816679558889070622381794112473249929720497776541035431438241275754726390826038190968636364395301694565925757478281242120552798438870175753525778174555654413661695414355253866511934460002680531744813442711591001863847689583252741460434827324546367230673108996246560302851755903314476358096837317567963221551997111094711111775593509207980927150868602185441668130843032450997684011340125874608560108083241146318469452387875491938859356979100907942117856482977315571878429622680944640000000000 % 4114952435517391497650893354221040956988503023313601741318322822257417690576400267410413402785036875420083494868317394656339208773772730791431589944362458706524772303556953233561744745225130560270974640779095921625988091481371121920056552574155196646679635387542847284314894086004827237522127115286521368217998303013286159604183581293220476759230112538901802009113314185306060440869381275266533588884024286064020465576667350439103764147891384035446110467806423218611372300457501194496496688699288080263990918159543332031960346203835470941127160165871190011384644625825390499243))
(44,(365,92102544425989711203808914222904352280233115336919166947049896449531049409735046016930605158025575633548094179694281187375489033864365615615940861943559969001471678149158286349138109288363891491066515823701794572605804452526370282055932981054721478013027160264105646236925847667881915835931657659485789946023668792563578500503272747479105383715546882758684143102900692333850773267527975831543329798429860076986580210091185482270376641483557848906280902369467646874416479636836000514298004335131743724614793763547667349335154769180576004644960237955601289383147491144880240419921875 % 93027422595316639685524717362126314246697143350364343739673597088051070067657204057044191401270103668351865694521677179194726032810356239673588009339310016955129673868804055885345557431996332105303028237638501182233282178033684595102248791983479508318434093441776339450870206028590068704521465484134791065333245574539012365697139177355138164991287129639163724685386352026082129800111177352673672155274093642302407166478294878722131053558138237699333716471430498951346849793832733425314760154128596827593777611696567872339655396578647916158068494216603871682306791605780349448093696))
(45,(375,34932202234391701111182881770097119856227852622688680803642916082800411178301169662172907489713234642184495696626168075196211057654122524351900676054594593212658566091487764496670844594401809418503118451630921491396296071718582104810130195447923924267028348565402303295169828325490892775614394446087062914876993137775415208451608449552168915957545303433060075043308523645182721997230038745743773970821004252340714037600599899649054428358892577697439010432314784814323840663244607023605600789406173306519169703446661264404078280192422852998132577510143944263215743111433306019278352703353152864138559488 % 35278187538829970116285232907787561203072118263968104189596049872893602888672268727466673028800476471773265597898225066218285441799228929761350205363055616300900790505285029730126809077408804629959977467944642836754495334884566575608210501267601487982156919544665534718691971796820581554703182926361223317202749132433340327511887127978541712029703097899938351608636850991295412363447568372601491442753875112261313661641988518592053432025017886754889273802286956443092481980765665675781679140969935104625973718370599076458666080868518014309270889546256001786223542582288104085819213651120662689208984375))
(46,(384,729715163601366708290031731832619836917161680739374871100863038652839558470888812361651547846772933744167993603295392199896238280104654655927394150127447452918254787813550939859791124378152786272485879340594978450952935973698887422908858779576527245535742571308097867064100738716939898127977493240116976341192692860228574114506890048846323166905469880614895258563986124659335814233918007512550730066270178248541133925733039495889840608153000519487766650031905431432126587404643317902121370190470902666314856279683991518256012967508846036055736662071763034850507091898297824299451691388688546304166241799959981342236328125 % 737011140810512880976844745580487105216587743926310210384828475435942234626885625103858506153759225770063796691977618139855996572379660075543416931616624227744776230998739797734246338763153277349976055490380203004109891791204974733598105642635725237734631686082674663686679483478145977387607995043322448885022907542945373596076328206304654117215433796209120423103225908145292167072862913785418696141946218171757078919875127582741544227542727962000820850564321355594390355483647401125120199920671720300514366562980055012644747332771745011828176426771954176615984101355593685896148491633306599759127287887809452883914522624))
(47,(393,610802362594952163676489244111284787849666717445085043083994014993636120534657258871321833860934747133867501725903836202642062144082294308449792577795093701018173663108317600096411898200349571252878739379497598615921241884922690652413586078778686354783907144821281707773300636285409895971533177320899549352439915952427542525456536383811938761568345373438114641759105036249499604217041932556446333428746235725778902202286257563632168558594504807193695499149091329252404641337097679177145358586891450381941527172496116655082743441861603120581810714195239628067314522254985113861499165430703134536218633522685336553817126992370737845115238848921600000000000 % 616967735201173290903961109134158868842250705042268356841705897766907885223035195435800880133055308197810141586128983953880461488119314031488625336619981320011037459690178499066074022119469820098237226417586215405508451715037776691781171845192961394189378314632797855121269646951766102864214092455118062529899417690083128799537429063447405268439608459278567313480937233808946658287617164769834057012377013332879637069994914680959822587957188706125466309808256459006608007186949486662578193060795700562456358375820912689473791996432465714289343676417367471578927369242155867332976738172083513559375495017527806233064307435115635389216761224432537196289103))
(48,(403,180030419264309338179878785700644293049141261334724882306325002504683565962148403934906537264575826371155459844465602876504720250069662161529715269148795417189615318882705525907010602330209714662096983482590634469717242035747202972428601438215455472513167613116369158660316971142041341248661947808149835841144159409795787066466434843210859163438436158486787165770987581748464770613919148728118585665870561299757172372526935709190182555829498194161253306494763061301336252229662626189055587999160895929832074619095994852153001696354687357966797723160619138042655284991499187555682194998089276677821904814543805828355720961335858748130947844944091796875 % 181826640875822185219547590358365781742516046357032672618500130572608222245579654001702449909761584888661512826054283952142229112892377421765536728092973976095437182992926525454152849715914905109788226002682001639540100021306490362443859261555647808254749877847740364331350146992802110786825168275542191624224282162500762492412072479948008253913853783808501126225941823340774603750941357612768136771702963112387398400938441794662682746494633254139761553782963183669334592509147715558371815425663141122435737944060441909429447386867754142058011751371989911335509189362393211821519895383660755751892390913589596763070056463587728426417108077544764080128))
(49,(412,164154798542657921647438529898524178771726693190169052861128750663342032443602647226679804262165339187065823452824641055384714993563241876989583388538783993674441587511397672862751027896462607239111850255272113237958601834502975804180254884172647749607883110936490606691888274727609065587267003589249111343057383983797440825340058982805851933361781804795240933560262727349241236789033225726163748128101816171123965272039825161217397490408087441686286501923037569990927838682791832013678130932992801600811546842007995865461365177048209952595965979934412826513263910490318453017268161234609119678834984398021778377588227947585682920184264232103633632554669458451547599929344000000000000000 % 165809149475454543488502882422708381727671875186487862632790215324576821642840615102776066653361729395701171611951230704112430147124391597436776722274499989934287940460916348607308409350458114206438444519046157243762380938985680069794202373567110195027087861898731492898617141744226497749881574214209200233669904109848281023898374346237103399448026623781883473019628458978538460652947708825065738732358186268717399004006126160428318688909345846049635003067511711575388313982543159608002833636489852409541535078331860408784696855180228081359294187022048709516827334879350925827963386807587787389496657022750865341678961216127773082528868433140950245268878643536422160528503362640721767201))
\sourceoff
\sourceon
(50,(422,133030536850084701847273869356480257184279719135918871446069497006203128559425440065047193059625167161512222453618672740739051866938229470716498470537684077552173365765131493818124415594048566870471004250746029021471361882662157013066947326284231928276732730799125454020110995955801693003881660998475081383715263940871378855842999433055903150000194674033864185143148507630124550906017250830425817438685514499796958788940553767321524856204286343311061175207052216469496072502214801133133337644741451175141921837771288750741298212689255976676093570424367534332782104898259180684824785514754701552973256832741810881923193380921417146077122475733102112862452382153334184500628007003834488255702701 % 134357522151341775035819311779004542591408443987260573123091003019405910021758161934045472186879062352212519608053528220154391889483170782604384773198843653213647860766526517901171545953566645110008651297030765003898871926080841073217762194152805555212738508048601798256560104307712200100155541804269887506961822509765625000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000))
(51,(431,1155594907293736972491253940473159138864922922610624068145753122118136026765399834655517139496712302280400730095317442165105942428141615741902529916866088623659694362871857810144676676767354479698196096743024237421483881896578334226521483889578361193911160187367705258476354024466782152971047923824213965084423570036686375535961569072974615508871199548741568972892122393074403431444232399989020115948980857760280108397978834944580424416115539554631789055927808214054442280678214162353032676620327640479131318208944023740273978093257010214803051391730421705239003783383801195503124124936808911161908169300776321648431064249323319453747200787029941877815506770842504726868562894447688912376426553058324444610560000000000000 % 1167243204303377060502761169081484823168791034202773074675300864175515333703284718294020585016680565594480838009951581547009748375935186871787112156993952896263018411414853307749671276673734685474844498181990113029974107556463184068672813861217672011788483396499979032743989219590466746848925933790704769643014775462130961371218141865991920917022550847018460922816945200603442551504976077888413224351073920779880445721038017285081797879798509717980349247205100903263483119970584080471548331877905923465937603201242349013973910059939374159804755285061018553516373982637825754805563244236010134350775007334968310650217180936409941342601291066079816484947211670624114114868987314972286959033268075583345589350226499288478353))
(52,(441,1042312960418946344472889023403251353531293770269301476151050494166687683556574112723180363681822793938535717938309517176994541399872934990749093639822995192656102086296520138013180602565183869338476575839746709369829790626754132172161247596724251875126972796482030610128583500615286668105584348562651491242764680106306927898900289975474233982882707440998357613791933446508189268442621027789764416521043175962495141452911691653530133188773466039660218169515614433277620850822426245442355645073677189271160339199599628181231001705684964761516628723006144737179940905056040492739120632826091848051689516981199330458579953371826421000623352634940671293004962817918881687632010177692542346388301924048496090235105400020831426243944091796875 % 1052724295274431314596575563273994182693525246894836846960917763861376872752881512553753260969052261968783521275538123279035563032531685936611511578989465616238083745977377121324469688174933789401041780673645092395139909193543167072063279387334119968605051618487453327096922744238293006988959153819713201249508287781869437520003001287045495066682488220163837203597032989726844837134040893406509786530845870570640237525673428363421863271617627889257030216696588458548041974369166245407919320116796525909757654343679828630888600690109334915924264275805575880088790085806385506938900297228896144463663637448737763368977981730182455196186338921141790149510234686231393510748252220159443854960881143643904338602006339011015453693477935644672))
\sourceoff
\showoff
Wir haben verschachtelte Paare $(n,(k,p))$ Dabei ist $n$ die Anzahl der Karten, $k$ die Anzahl der Kartenziehungen, um auf mindestens 99% WK zu kommen, alle Karten mal gezogen zu haben, $p$ die tatsächliche WK für die Anzahl der Kartenziehungen $k$.
Viel Spaß.\(\endgroup\)
|
Profil
|
Wario
Aktiv  Dabei seit: 01.05.2020 Mitteilungen: 1324
 | Beitrag No.17, eingetragen 2023-06-08
|
\quoteon(2023-06-07 22:01 - tactac in Beitrag No. 16)
Hier eine Tabelle: ...
\quoteoff
Ich meinte eine Wertetabelle zu dem Programm #15.
Dazu braucht es im Prinzip 1-2 Sachen:
(1) Entweder eine Tabelle des Typs
\sourceon Zuege.txt
No, GezogenerPlatz
0, 13
1, 30
2, 30
3, 48
.......
\sourceoff 13, 30, 30, 48,... sind die gezogenen Platzpositionen.
oder schlicht eine kommagetrennte Liste
\sourceon Zuege.txt
13, 30, 30, 48, ....
\sourceoff 13, 30, 30, 48,... sind die gezogenen Platzpositionen, vgl. (1a)
(2) Soll für die Animation ein auf bestimmte Weise gemischtes Deck verwendet werden, so bedarf es 52 Werten
\sourceon DeckGemischt.txt
19, 41, 43, 5, 3, 44, 33, 27, 24, 36, 40, 28, 46, 47, 10, 1, 35, 26, 23,
22, 2, 45, 13, 34, 20, 9, 15, 49, 12, 50, 42, 6, 31, 16, 38, 11, 17, 8,
30, 29, 7, 39, 48, 51, 32, 4, 18, 25, 37, 21, 14, 52
\sourceoff 19, 41, 43, ... sind die Schrift-Nummern der Karten, vgl. (2a).
(1a) Hinter den Platzpositionen stehen zufällig angeordnete Karten (die in der Animation #15, ohne besonderen Grund, verdeckt zu sehen sind).
Diese wurden in Fisher-Yates-Verfahren erzeugt, das eine Zufällige Permutation erstellt.
https://matheplanet.de/matheplanet/nuke/html/uploads/c/52997_1_1.png
(2a) Die angegebenen Zahlen 19, 41, 43,... beziehen sich auf die Positionen in einer Schriftdatei:
https://matheplanet.de/matheplanet/nuke/html/uploads/c/52997_1_2.png
PS: Bei den Tabellen #16 weiß ich nicht, was da graphisch animiert werden könnte.
PPS: Wertetabellen enthalten -im Hinblick auf das Parsen- möglichst nichts, außer
Zahlen, (Dezimaltrenn-)Punkten und Kommas (zur Spalten-Trennung).
Keine Sonderzeichen, keine Klammern, gar nichts...
Natürlich ist auch eine Kopfzeile, die die Spalten benennt erlaubt; diese enthält allerdings nichts außer Wörtern, die mit a,b,...,z gebildet sind.
Die 1. Tabelle könnte so aussehen:
\sourceon Bennennung.txt oder Bennenung.csv
n, k, p
1, 1, 1.0
2, 8, 0.9921875
3, 15, 0.9931492342935946
4, 21, 0.9904892252052377
.....
\sourceoff
Aber ich weiß ja eh nicht, was man da animieren könnte.
|
Profil
|
|
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2001-2023 by Matroids Matheplanet
This web site was originally made with PHP-Nuke, a former web portal system written in PHP that seems no longer to be maintained nor supported. PHP-Nuke is Free Software released under the GNU/GPL license.
Ich distanziere mich von rechtswidrigen oder anstößigen Inhalten, die sich trotz aufmerksamer Prüfung hinter hier verwendeten Links verbergen mögen. Lesen Sie die
Nutzungsbedingungen,
die Distanzierung,
die Datenschutzerklärung und das Impressum.
[Seitenanfang]
|