File:1d choisi parmi 3 differents.png
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
1d_choisi_parmi_3_differents.png (610 × 461 pixels, file size: 6 KB, MIME type: image/png)
File information
Structured data
Captions
File:1d choisi parmi 3 differents.svg is a vector version of this file. It should be used in place of this PNG file when not inferior.
File:1d choisi parmi 3 differents.png → File:1d choisi parmi 3 differents.svg
For more information, see Help:SVG.
|
Summary
[edit]Description1d choisi parmi 3 differents.png |
Français : On jette trois dés pouvant être différents (par exemple 1d4, 1d6 et 1d8), et on retient le meilleur score (système utilisé dans le jeu de rôle Usagi Yojimbo). Le graphique du haut indique la probabilité de faire une valeur. Le graphique du bas indique la probabilité d'atteindre ou de dépasser une valeur.
English: Three dice, possibly different (e.g. 1d4, 1d6 and 1d8), are thrown and only the best result is kept (system used in the Usagi Yojimbo roleplaying game). The top figure shows the probability to get a value. The bottom figure shows the probability to have a result equal or better than a value. |
Source | Own work |
Author | Christophe Dang Ngoc Chan (cdang) |
Scilab source
This media was created with Scilab, a free open-source software. Here is a listing of the Scilab source used to create this file. |
clear; clf;
resultat = zeros(12, 12, 12, 12); // initialisation
for imax = 4:2:12
for jmax = imax:2:12
for kmax = jmax:2:12
for i = 1:imax
for j = 1:jmax
for k = 1:kmax
ijkmax = max(i, j, k);
resultat(imax, jmax, kmax, ijkmax) =...
resultat(imax, jmax, kmax, ijkmax) +1;
end
end
end
end
end
end
// 3d4
somme444 = sum(resultat(4, 4, 4, :));
for i = 1:4
y444(i) = 100*resultat(4, 4, 4, i)/somme444;
end
z444(4) = y444(4);
for i = 3:-1:1
z444(i) = z444(i+1) + y444(i);
end
// 2d4+1d6
somme446 = sum(resultat(4, 4, 6, :));
for i = 1:6
y446(i) = 100*resultat(4, 4, 6, i)/somme446;
end
z446(6) = y446(6);
for i = 5:-1:1
z446(i) = z446(i + 1) + y446(i);
end
// 1d4+2d6
somme466 = sum(resultat(4, 6, 6, :));
for i = 1:6
y466(i) = 100*resultat(4, 6, 6, i)/somme466;
end
z466(6) = y466(6);
for i = 5:-1:1
z466(i) = z466(i + 1) + y466(i);
end
// 1d4+1d6+1d8
somme468 = sum(resultat(4, 6, 8, :));
for i = 1:8
y468(i) = 100*resultat(4, 6, 8, i)/somme468;
end
z468(8) = y468(8);
for i = 7:-1:1
z468(i) = z468(i + 1) + y468(i);
end
// Tracé
subplot(2,1,1)
plot2d(1:4, y444, rect = [1, 0, 8, 60], style = 1)
plot2d(1:6, y446, rect = [1, 0, 8, 60], style = 2)
plot2d(1:6, y466, rect = [1, 0, 8, 60], style = 3)
plot2d(1:8, y468, rect = [1, 0, 8, 60], style = 4)
xstring(4.1, 55, "3d4")
xstring(6, 12, "2d4+1d6")
xstring(6, 32, "1d4+2d6")
xstring(7, 15, "1d4+1d6+1d8")
xtitle("Probabilité d''obtenir une valeur", "rés.", "%")
subplot(2,1,2)
plot2d(1:4, z444, rect = [1, 0, 8, 100], style = 1)
plot2d(1:6, z446, rect = [1, 0, 8, 100], style = 2)
plot2d(1:6, z466, rect = [1, 0, 8, 100], style = 3)
plot2d(1:8, z468, rect = [1, 0, 8, 100], style = 4)
xstring(3.5, 55, "3d4")
xstring(6, 10, "2d4+1d6")
xstring(5.7, 25, "1d4+2d6")
xstring(7, 30, "1d4+1d6+1d8")
xtitle("Probabilité d''atteindre ou de dépasser une valeur", "rés.", "%")
Licensing
[edit]Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. | ||
| ||
This licensing tag was added to this file as part of the GFDL licensing update.http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 11:16, 17 February 2006 | 610 × 461 (6 KB) | Cdang (talk | contribs) | On jette trois dés pouvant être différents (par exemple 1d4, 1d6 et 1d8), et on retient le meilleur score (système utilisé dans le jeu de rôle ''Usagi Yojimbo''). Le graphique du haut indique la probabilité de faire une valeur. Le graphique du bas |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
File change date and time | 11:17, 17 February 2006 |
---|---|
Horizontal resolution | 28.34 dpc |
Vertical resolution | 28.34 dpc |